Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 112.6 kB / 16.37 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 196 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07616/0.07616, allocations: 16.74 MB / 307.9 MB, free: 14.48 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.11 kB / 373.1 MB, free: 48.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0806/0.08189, allocations: 53.57 MB / 426.7 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.01984/0.1018, allocations: 28.46 MB / 455.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1134, allocations: 8.036 MB / 463.2 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.1153, allocations: 59.69 kB / 463.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002173/0.1175, allocations: 1.056 MB / 464.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007761/0.1253, allocations: 3.47 MB / 467.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002427/0.1277, allocations: 1.189 MB / 469 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007229/0.1349, allocations: 6.264 MB / 475.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.1358, allocations: 444.2 kB / 475.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002922/0.1387, allocations: 2.05 MB / 477.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.1424, allocations: 2.221 MB / 479.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005571/0.143, allocations: 236 kB / 480.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.1451, allocations: 0.7185 MB / 480.9 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005239/0.1456, allocations: 0.5985 MB / 481.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.1477, allocations: 1.978 MB / 483.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004623/0.1523, allocations: 4.458 MB / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1524, allocations: 0 / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1524, allocations: 0 / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.144e-05/0.1524, allocations: 4 kB / 487.9 MB, free: 14.56 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 612 * Number of variables: 612 Notification: Performance of Generate backend data structure: time 0.01461/0.1671, allocations: 4.811 MB / 492.7 MB, free: 9.676 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1671, allocations: 8.031 kB / 492.8 MB, free: 9.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002059/0.1692, allocations: 0.5237 MB / 493.3 MB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004/0.1732, allocations: 2.115 MB / 495.4 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/0.1733, allocations: 189.2 kB / 495.6 MB, free: 6.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.1737, allocations: 260.3 kB / 495.8 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003766/0.1774, allocations: 2.947 MB / 498.8 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.881e-05/0.1775, allocations: 19.81 kB / 498.8 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001919/0.1777, allocations: 108 kB / 498.9 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.1778, allocations: 68 kB / 499 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003348/0.1811, allocations: 2.269 MB / 0.4895 GB, free: 0.6445 MB / 366.1 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.1921/0.3732, allocations: 20.6 MB / 0.5096 GB, free: 64.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003651/0.3769, allocations: 3.331 MB / 0.5129 GB, free: 63.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.3779, allocations: 0.8461 MB / 0.5137 GB, free: 63.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3781, allocations: 33.55 kB / 0.5137 GB, free: 63.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.3781, allocations: 62.98 kB / 0.5138 GB, free: 63.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=222): time 4.368e-06/0.3781, allocations: 0 / 0.5138 GB, free: 63.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=222): time 0.008805/0.3869, allocations: 3.759 MB / 0.5174 GB, free: 62.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.387, allocations: 77.75 kB / 0.5175 GB, free: 62.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003289/0.3903, allocations: 2.74 MB / 0.5202 GB, free: 61.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001324/0.3904, allocations: 72.27 kB / 0.5203 GB, free: 61.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.3912, allocations: 1.42 MB / 0.5217 GB, free: 60.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006581/0.3919, allocations: 0.8929 MB / 0.5225 GB, free: 60.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/0.3936, allocations: 1.361 MB / 0.5239 GB, free: 59.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.954e-05/0.3937, allocations: 301.1 kB / 0.5241 GB, free: 59.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002492/0.3962, allocations: 1.811 MB / 0.5259 GB, free: 58.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002623/0.3988, allocations: 2.437 MB / 0.5283 GB, free: 57.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/0.4027, allocations: 3.452 MB / 0.5317 GB, free: 55.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/0.4027, allocations: 6.75 kB / 0.5317 GB, free: 55.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.007845/0.4105, allocations: 6.127 MB / 0.5377 GB, free: 51.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.4106, allocations: 8 kB / 0.5377 GB, free: 51.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.339e-05/0.4106, allocations: 5.188 kB / 0.5377 GB, free: 51.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.4124, allocations: 0.6281 MB / 0.5383 GB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/0.4172, allocations: 1.535 MB / 0.5398 GB, free: 49.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/0.4241, allocations: 6.777 MB / 0.5464 GB, free: 42.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/0.4292, allocations: 483.8 kB / 0.5469 GB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003441/0.4295, allocations: 240.3 kB / 0.5471 GB, free: 41.82 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (948): * Single equations (assignments): 946 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,38)} Notification: Performance of prepare postOptimizeDAE: time 0.0009501/0.4305, allocations: 0.6424 MB / 0.5477 GB, free: 41.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004626/0.431, allocations: 316.2 kB / 0.548 GB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.4343, allocations: 2.258 MB / 0.5502 GB, free: 38.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.4344, allocations: 20 kB / 0.5502 GB, free: 38.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4344, allocations: 4 kB / 0.5502 GB, free: 38.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.4344, allocations: 15.89 kB / 0.5503 GB, free: 38.54 MB / 382.1 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.006428/0.4408, allocations: 5.446 MB / 0.5556 GB, free: 33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.4409, allocations: 4 kB / 0.5556 GB, free: 33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.4421, allocations: 355.8 kB / 0.5559 GB, free: 32.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001641/0.4438, allocations: 0.5752 MB / 0.5565 GB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/0.4439, allocations: 40 kB / 0.5565 GB, free: 32.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/0.4504, allocations: 6.636 MB / 0.563 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4504, allocations: 4.031 kB / 0.563 GB, free: 25.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.454, allocations: 2.404 MB / 0.5653 GB, free: 22.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.4552, allocations: 0.6414 MB / 0.566 GB, free: 21.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004116/0.4557, allocations: 40 kB / 0.566 GB, free: 21.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002/0.4577, allocations: 99.84 kB / 0.5661 GB, free: 21.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.4579, allocations: 138.5 kB / 0.5662 GB, free: 21.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.458, allocations: 75.97 kB / 0.5663 GB, free: 21.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001848/0.4598, allocations: 1.656 MB / 0.5679 GB, free: 19.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.503e-06/0.4599, allocations: 3.938 kB / 0.5679 GB, free: 19.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002841/0.4627, allocations: 1.49 MB / 0.5694 GB, free: 18.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (176): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,38)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003666/0.4631, allocations: 292.4 kB / 0.5697 GB, free: 18.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005288/0.4684, allocations: 4.468 MB / 0.574 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.4684, allocations: 4 kB / 0.574 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.4701, allocations: 1.36 MB / 0.5754 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.4718, allocations: 252.7 kB / 0.5756 GB, free: 12.11 MB / 382.1 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.004936/0.4768, allocations: 4.302 MB / 0.5798 GB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.4775, allocations: 1.667 MB / 0.5814 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001576/0.4791, allocations: 0.5263 MB / 0.5819 GB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/0.4797, allocations: 227.4 kB / 0.5822 GB, free: 5.352 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.4797, allocations: 0 / 0.5822 GB, free: 5.352 MB / 382.1 MB Notification: Performance of Templates: time 0.06078/0.5405, allocations: 40.09 MB / 0.6213 GB, free: 13.4 MB / 430.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)