Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ") translateModel(PowerGrids.Electrical.Test.LoadImpedancePQ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.00152, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 221.8 MB, free: 8.484 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 102 kB / 269.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0609/0.0609, allocations: 14.17 MB / 330.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.92 kB / 391.6 MB, free: 64.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1091, allocations: 50.14 MB / 441.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.LoadImpedancePQ): time 0.01198/0.1211, allocations: 10.26 MB / 452 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009003/0.1302, allocations: 4.441 MB / 456.5 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001628/0.1319, allocations: 31.88 kB / 456.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.1338, allocations: 461.9 kB / 457 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007341/0.1411, allocations: 1.815 MB / 458.8 MB, free: 13.65 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1425, allocations: 351.1 kB / 459.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005424/0.1479, allocations: 2.907 MB / 462 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.1484, allocations: 165.1 kB / 462.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001621/0.1501, allocations: 0.7657 MB / 463 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.1514, allocations: 0.7893 MB / 463.7 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001401/0.1516, allocations: 43.94 kB / 463.8 MB, free: 8.617 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.153, allocations: 339.8 kB / 464.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002228/0.1533, allocations: 182.8 kB / 464.3 MB, free: 8.105 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001044/0.1543, allocations: 0.7187 MB / 465 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002945/0.1573, allocations: 1.834 MB / 466.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1573, allocations: 0 / 466.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1573, allocations: 0 / 466.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.1574, allocations: 0 / 466.8 MB, free: 5.543 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.0138/0.1712, allocations: 2.474 MB / 469.3 MB, free: 3.012 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1712, allocations: 16.03 kB / 469.3 MB, free: 2.996 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.1729, allocations: 219.1 kB / 469.6 MB, free: 2.781 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.1756, allocations: 0.9167 MB / 470.5 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.1757, allocations: 74.12 kB / 470.5 MB, free: 1.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.1759, allocations: 100 kB / 470.6 MB, free: 1.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/0.1788, allocations: 1.066 MB / 471.7 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.1788, allocations: 3.938 kB / 471.7 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.179, allocations: 44 kB / 471.8 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-05/0.179, allocations: 31.98 kB / 471.8 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.1819, allocations: 1.031 MB / 472.8 MB, free: 15.41 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0102/0.1922, allocations: 6.243 MB / 479.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.1963, allocations: 1.479 MB / 480.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.1974, allocations: 415.7 kB / 480.9 MB, free: 6.418 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/0.1975, allocations: 19.41 kB / 481 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.1976, allocations: 46.5 kB / 481 MB, free: 6.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=116): time 4.268e-06/0.1976, allocations: 0 / 481 MB, free: 6.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=116): time 0.005587/0.2032, allocations: 1.691 MB / 482.7 MB, free: 4.586 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.436e-05/0.2033, allocations: 118.8 kB / 482.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.2047, allocations: 0.7044 MB / 483.5 MB, free: 3.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/0.2048, allocations: 41.7 kB / 483.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004976/0.2053, allocations: 496.1 kB / 484 MB, free: 3.188 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.2058, allocations: 406.1 kB / 484.4 MB, free: 2.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004218/0.2062, allocations: 178.8 kB / 484.6 MB, free: 2.602 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.2065, allocations: 349.9 kB / 485 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008678/0.2074, allocations: 318.5 kB / 485.3 MB, free: 1.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.2085, allocations: 487.5 kB / 485.7 MB, free: 1.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002253/0.2108, allocations: 0.8617 MB / 486.6 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.2108, allocations: 4 kB / 486.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.2406/0.4514, allocations: 1.145 MB / 487.8 MB, free: 49.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4515, allocations: 9.125 kB / 487.8 MB, free: 49.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4515, allocations: 4.25 kB / 487.8 MB, free: 49.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009108/0.4524, allocations: 163 kB / 487.9 MB, free: 49.15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.4545, allocations: 312.6 kB / 488.2 MB, free: 49.15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005215/0.4598, allocations: 4.442 MB / 492.7 MB, free: 45.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/0.4614, allocations: 77.41 kB / 492.7 MB, free: 45.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.4615, allocations: 37.69 kB / 492.8 MB, free: 45.32 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007595/0.4623, allocations: 286.3 kB / 493.1 MB, free: 45.09 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003671/0.4627, allocations: 119 kB / 493.2 MB, free: 45.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.466, allocations: 1.128 MB / 494.3 MB, free: 44.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.466, allocations: 11.47 kB / 494.3 MB, free: 44.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.466, allocations: 7.156 kB / 494.3 MB, free: 44.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.875e-05/0.4661, allocations: 7.172 kB / 494.3 MB, free: 44.57 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005864/0.4719, allocations: 2.678 MB / 497 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.472, allocations: 8.703 kB / 497 MB, free: 42.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/0.474, allocations: 265 kB / 497.3 MB, free: 42.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/0.4749, allocations: 158.7 kB / 497.4 MB, free: 42.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/0.475, allocations: 26.36 kB / 497.5 MB, free: 42.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004934/0.4799, allocations: 4.438 MB / 0.4901 GB, free: 38.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.48, allocations: 2.422 kB / 0.4901 GB, free: 38.7 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00463/0.4846, allocations: 2.439 MB / 0.4925 GB, free: 37.11 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006099/0.4852, allocations: 271.9 kB / 0.4928 GB, free: 36.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.4854, allocations: 25.48 kB / 0.4928 GB, free: 36.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001221/0.4867, allocations: 56.53 kB / 0.4929 GB, free: 36.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/0.4869, allocations: 70.06 kB / 0.4929 GB, free: 36.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.487, allocations: 28.45 kB / 0.4929 GB, free: 36.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008745/0.4879, allocations: 487.3 kB / 0.4934 GB, free: 36.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.342e-06/0.4879, allocations: 3.938 kB / 0.4934 GB, free: 36.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001884/0.4898, allocations: 371.4 kB / 0.4938 GB, free: 36.58 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003693/0.4902, allocations: 192.4 kB / 0.494 GB, free: 36.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003014/0.4932, allocations: 1.279 MB / 0.4952 GB, free: 35.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.4933, allocations: 0 / 0.4952 GB, free: 35.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.495, allocations: 0.8612 MB / 0.496 GB, free: 35.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/0.4965, allocations: 141 kB / 0.4962 GB, free: 35.2 MB / 330.7 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.5019, allocations: 2.958 MB / 0.4991 GB, free: 33.3 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008765/0.5028, allocations: 1.102 MB / 0.5001 GB, free: 32.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001357/0.5042, allocations: 145.6 kB / 0.5003 GB, free: 32.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.5045, allocations: 76.61 kB / 0.5004 GB, free: 32.5 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5045, allocations: 0 / 0.5004 GB, free: 32.5 MB / 330.7 MB Notification: Performance of Templates: time 0.03065/0.5352, allocations: 11.19 MB / 0.5113 GB, free: 25.71 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.makefile (rm -f PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; mkfifo PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe >> ../files/PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.sim & ./PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Electrical.Test.LoadImpedancePQ.pipe 2>&1)