Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001464/0.001468, allocations: 190.3 kB / 16.39 MB, free: 5.59 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.772/1.772, allocations: 194.5 MB / 211.6 MB, free: 8.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0019/0.0019, allocations: 112.7 kB / 256.9 MB, free: 11.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2361/0.2361, allocations: 38.01 MB / 340.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004613, allocations: 12.81 kB / 403.8 MB, free: 55.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08636/0.08684, allocations: 53.23 MB / 457 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.008169/0.09507, allocations: 4.387 MB / 461.4 MB, free: 6.277 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003699/0.09879, allocations: 1.583 MB / 463 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003762/0.09919, allocations: 23.81 kB / 463 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004866/0.0997, allocations: 111.4 kB / 463.1 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001076/0.1008, allocations: 287 kB / 463.4 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.1014, allocations: 119.8 kB / 463.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007957/0.1022, allocations: 323.1 kB / 463.8 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003064/0.1025, allocations: 123.9 kB / 463.9 MB, free: 3.723 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003353/0.1029, allocations: 159.4 kB / 464.1 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.1032, allocations: 147.3 kB / 464.2 MB, free: 3.422 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.368e-05/0.1033, allocations: 16 kB / 464.3 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.1035, allocations: 16 kB / 464.3 MB, free: 3.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1036, allocations: 91.7 kB / 464.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000141/0.1038, allocations: 89.52 kB / 464.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004197/0.1042, allocations: 271.3 kB / 464.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.371e-06/0.1043, allocations: 0 / 464.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.498e-06/0.1043, allocations: 0 / 464.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.908e-06/0.1043, allocations: 0 / 464.7 MB, free: 2.941 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001367/0.1057, allocations: 0.6047 MB / 465.3 MB, free: 2.289 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.1057, allocations: 16 kB / 465.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.1058, allocations: 39.53 kB / 465.4 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00057/0.1064, allocations: 378.5 kB / 465.8 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1065, allocations: 16.56 kB / 465.8 MB, free: 1.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/0.1065, allocations: 28 kB / 465.8 MB, free: 1.777 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000503/0.107, allocations: 338.2 kB / 466.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1071, allocations: 0 / 466.1 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.1071, allocations: 15.95 kB / 466.1 MB, free: 1.398 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.879e-06/0.1071, allocations: 4 kB / 466.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.1075, allocations: 205.5 kB / 466.3 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001655/0.1092, allocations: 1.486 MB / 467.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004992/0.1097, allocations: 190.4 kB / 468 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.1098, allocations: 4 kB / 468 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1098, allocations: 46.52 kB / 468.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 2.61e-06/0.1098, allocations: 0 / 468.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.001738/0.1116, allocations: 0.8805 MB / 468.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.1117, allocations: 136.9 kB / 469.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.1121, allocations: 317.6 kB / 469.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.1122, allocations: 25.7 kB / 469.4 MB, free: 13.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.1124, allocations: 215.8 kB / 469.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.899e-05/0.1125, allocations: 71.08 kB / 469.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.504e-05/0.1125, allocations: 4 kB / 469.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.1127, allocations: 342.8 kB / 470 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.1129, allocations: 55.95 kB / 470.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.1131, allocations: 152.8 kB / 470.2 MB, free: 12.97 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.1133, allocations: 75.89 kB / 470.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.814e-06/0.1133, allocations: 0 / 470.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005621/0.1139, allocations: 253 kB / 470.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.1139, allocations: 11.95 kB / 470.6 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1139, allocations: 4 kB / 470.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.114, allocations: 7.938 kB / 470.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004493/0.1144, allocations: 84.33 kB / 470.7 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.1156, allocations: 1.29 MB / 472 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.1158, allocations: 8 kB / 472 MB, free: 11.11 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-05/0.1159, allocations: 16 kB / 472 MB, free: 11.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002296/0.1161, allocations: 165.5 kB / 472.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.1163, allocations: 39.48 kB / 472.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.1167, allocations: 192.8 kB / 472.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.272e-06/0.1167, allocations: 4 kB / 472.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.464e-06/0.1167, allocations: 12.03 kB / 472.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.118e-06/0.1168, allocations: 3.984 kB / 472.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.1178, allocations: 0.5492 MB / 472.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.456e-06/0.1179, allocations: 4 kB / 472.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003187/0.1182, allocations: 43.97 kB / 473 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.803e-06/0.1182, allocations: 3.938 kB / 473 MB, free: 10 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.1183, allocations: 8 kB / 473 MB, free: 9.996 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1183, allocations: 11.94 kB / 473 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.991e-06/0.1183, allocations: 0 / 473 MB, free: 9.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000681/0.119, allocations: 0.5237 MB / 473.5 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.1191, allocations: 108.6 kB / 473.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.395e-05/0.1192, allocations: 12.03 kB / 473.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.1195, allocations: 0 / 473.6 MB, free: 9.289 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.1195, allocations: 23.88 kB / 473.7 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.1195, allocations: 4 kB / 473.7 MB, free: 9.262 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002933/0.1198, allocations: 219.2 kB / 473.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.1199, allocations: 0 / 473.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005551/0.1204, allocations: 60 kB / 473.9 MB, free: 8.992 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (motor.phi_el,motor.w_el,motor.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001237/0.1206, allocations: 103.2 kB / 474 MB, free: 8.883 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004589/0.121, allocations: 159.8 kB / 474.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.878e-06/0.121, allocations: 0 / 474.2 MB, free: 8.727 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.1212, allocations: 68.73 kB / 474.3 MB, free: 8.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006524/0.1219, allocations: 89.45 kB / 474.4 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.1238, allocations: 1.017 MB / 475.4 MB, free: 7.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005526/0.1244, allocations: 0.807 MB / 476.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002666/0.1247, allocations: 58.94 kB / 476.2 MB, free: 6.633 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.783e-05/0.1248, allocations: 23.44 kB / 476.3 MB, free: 6.609 MB / 314.7 MB Notification: Performance of SimCode: time 1.333e-06/0.1248, allocations: 0 / 476.3 MB, free: 6.609 MB / 314.7 MB Notification: Performance of Templates: time 0.009035/0.1338, allocations: 2.934 MB / 479.2 MB, free: 3.691 MB / 314.7 MB