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.001234/0.001233, allocations: 98.83 kB / 16.35 MB, free: 5.824 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.001255/0.001255, allocations: 196.6 kB / 17.29 MB, free: 5.48 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07538/0.07538, allocations: 16.74 MB / 307.9 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 61.5 kB / 373.1 MB, free: 48.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.119, allocations: 53.56 MB / 426.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.0224/0.1414, allocations: 28.46 MB / 455.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01435/0.1558, allocations: 8.036 MB / 463.2 MB, free: 7.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003969/0.1599, allocations: 59.75 kB / 463.2 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003868/0.1638, allocations: 1.06 MB / 464.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.1759, allocations: 3.474 MB / 467.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003435/0.1794, allocations: 1.181 MB / 469 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0105/0.1899, allocations: 6.259 MB / 475.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.1914, allocations: 456.2 kB / 475.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00413/0.1955, allocations: 2.046 MB / 477.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004627/0.2002, allocations: 2.221 MB / 479.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.2013, allocations: 232 kB / 480.2 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.2047, allocations: 0.7263 MB / 480.9 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001017/0.2058, allocations: 0.5986 MB / 481.5 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004105/0.2099, allocations: 1.974 MB / 483.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005831/0.2157, allocations: 4.454 MB / 487.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.2158, allocations: 0 / 487.9 MB, free: 14.51 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2158, allocations: 4 kB / 487.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.345e-05/0.2159, allocations: 0 / 487.9 MB, free: 14.5 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.01541/0.2313, allocations: 4.822 MB / 492.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2314, allocations: 8.031 kB / 492.7 MB, free: 9.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002244/0.2336, allocations: 0.5198 MB / 493.3 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/0.2383, allocations: 2.119 MB / 495.4 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.2384, allocations: 189.2 kB / 495.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002972/0.2387, allocations: 256.3 kB / 495.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/0.2426, allocations: 2.951 MB / 498.8 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.2427, allocations: 19.81 kB / 498.8 MB, free: 3.023 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001897/0.2428, allocations: 112 kB / 498.9 MB, free: 2.914 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.2429, allocations: 64 kB / 499 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003289/0.2462, allocations: 2.262 MB / 0.4895 GB, free: 0.5859 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.244/0.4902, allocations: 20.61 MB / 0.5096 GB, free: 64.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004795/0.495, allocations: 3.328 MB / 0.5129 GB, free: 63.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001375/0.4965, allocations: 0.8417 MB / 0.5137 GB, free: 63.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/0.4966, allocations: 34.44 kB / 0.5137 GB, free: 63.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.203e-05/0.4967, allocations: 61.62 kB / 0.5138 GB, free: 62.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=222): time 5.089e-06/0.4967, allocations: 0 / 0.5138 GB, free: 62.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=222): time 0.01002/0.5067, allocations: 3.767 MB / 0.5174 GB, free: 62.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.5068, allocations: 78.33 kB / 0.5175 GB, free: 62.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/0.5117, allocations: 2.731 MB / 0.5202 GB, free: 61.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.512, allocations: 73.33 kB / 0.5203 GB, free: 61.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.5132, allocations: 1.424 MB / 0.5216 GB, free: 60.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.5143, allocations: 0.8913 MB / 0.5225 GB, free: 59.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002027/0.5163, allocations: 1.359 MB / 0.5238 GB, free: 59.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.5164, allocations: 306.5 kB / 0.5241 GB, free: 58.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003085/0.5195, allocations: 1.813 MB / 0.5259 GB, free: 58.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002938/0.5224, allocations: 2.434 MB / 0.5283 GB, free: 57.21 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004636/0.5271, allocations: 3.453 MB / 0.5317 GB, free: 55.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.821e-05/0.5271, allocations: 3.5 kB / 0.5317 GB, free: 55.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=994) (initialization): time 0.009307/0.5365, allocations: 6.124 MB / 0.5376 GB, free: 51.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.5365, allocations: 8 kB / 0.5376 GB, free: 51.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.5366, allocations: 4 kB / 0.5376 GB, free: 51.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/0.5384, allocations: 0.63 MB / 0.5383 GB, free: 50.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/0.5435, allocations: 1.533 MB / 0.5398 GB, free: 49.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007391/0.5509, allocations: 6.782 MB / 0.5464 GB, free: 42.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006098/0.557, allocations: 495.7 kB / 0.5469 GB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005125/0.5576, allocations: 240 kB / 0.5471 GB, free: 41.7 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.001136/0.5587, allocations: 0.6341 MB / 0.5477 GB, free: 41.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005584/0.5593, allocations: 316.2 kB / 0.548 GB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003427/0.5627, allocations: 2.254 MB / 0.5502 GB, free: 38.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.5627, allocations: 23.94 kB / 0.5502 GB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5628, allocations: 0 / 0.5502 GB, free: 38.44 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.5628, allocations: 12.61 kB / 0.5502 GB, free: 38.43 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.007488/0.5703, allocations: 5.455 MB / 0.5556 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.5703, allocations: 5 kB / 0.5556 GB, free: 32.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.5715, allocations: 352.5 kB / 0.5559 GB, free: 32.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.5732, allocations: 0.5753 MB / 0.5565 GB, free: 31.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-05/0.5733, allocations: 36 kB / 0.5565 GB, free: 31.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006525/0.5798, allocations: 6.639 MB / 0.563 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5798, allocations: 11.95 kB / 0.563 GB, free: 24.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/0.584, allocations: 2.408 MB / 0.5654 GB, free: 22.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/0.5857, allocations: 0.6375 MB / 0.566 GB, free: 21.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004155/0.5862, allocations: 40.94 kB / 0.566 GB, free: 21.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/0.5882, allocations: 99.84 kB / 0.5661 GB, free: 21.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002635/0.5885, allocations: 142.5 kB / 0.5662 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.5886, allocations: 75.97 kB / 0.5663 GB, free: 21.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001914/0.5905, allocations: 1.656 MB / 0.5679 GB, free: 19.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5905, allocations: 0 / 0.5679 GB, free: 19.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003378/0.5939, allocations: 1.476 MB / 0.5694 GB, free: 18.38 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.0004205/0.5944, allocations: 290.8 kB / 0.5697 GB, free: 18.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005848/0.6002, allocations: 4.473 MB / 0.574 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.6002, allocations: 4 kB / 0.574 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.6021, allocations: 1.357 MB / 0.5754 GB, free: 12.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.6044, allocations: 256.8 kB / 0.5756 GB, free: 12 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.005848/0.6102, allocations: 4.303 MB / 0.5798 GB, free: 7.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008354/0.6111, allocations: 1.664 MB / 0.5814 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0017/0.6128, allocations: 0.5212 MB / 0.5819 GB, free: 5.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.6134, allocations: 227.4 kB / 0.5821 GB, free: 5.238 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6134, allocations: 0 / 0.5821 GB, free: 5.238 MB / 382.1 MB Notification: Performance of Templates: time 0.06469/0.6781, allocations: 40.1 MB / 0.6213 GB, free: 13.27 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 cvode -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1)