Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/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 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) Ignoring simflag -noemit -outputFormat=mat since it seems broken on HelloWorld Running command: translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 113.3 kB / 16.42 MB, free: 6.469 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.001465/0.001465, allocations: 188.2 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06851/0.06851, allocations: 14.16 MB / 284.7 MB, free: 13.85 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 77.66 kB / 400 MB, free: 42.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.08161, allocations: 50.13 MB / 450.1 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.02456/0.1062, allocations: 18.63 MB / 468.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01861/0.1249, allocations: 7.608 MB / 476.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002951/0.1279, allocations: 55.81 kB / 476.4 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00371/0.1316, allocations: 1.002 MB / 477.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01469/0.1464, allocations: 3.248 MB / 480.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.1499, allocations: 0.7744 MB / 481.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.1624, allocations: 5.716 MB / 487.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.1637, allocations: 382.4 kB / 487.5 MB, free: 5.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003932/0.1677, allocations: 1.899 MB / 489.4 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.1714, allocations: 2.016 MB / 491.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008013/0.1723, allocations: 204 kB / 491.6 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.175, allocations: 0.7224 MB / 492.3 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000827/0.1759, allocations: 0.4977 MB / 492.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00323/0.1791, allocations: 1.671 MB / 494.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0093/0.1884, allocations: 4.208 MB / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1885, allocations: 3.938 kB / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1885, allocations: 0 / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000144/0.1887, allocations: 0 / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 560 * Number of variables: 560 Notification: Performance of Generate backend data structure: time 0.01847/0.2071, allocations: 4.548 MB / 0.4915 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.2072, allocations: 16.03 kB / 0.4915 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/0.21, allocations: 474.8 kB / 0.4919 GB, free: 4.988 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005167/0.2152, allocations: 1.804 MB / 0.4937 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.2155, allocations: 164.8 kB / 0.4939 GB, free: 2.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006123/0.2161, allocations: 215.9 kB / 0.4941 GB, free: 2.754 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005567/0.2217, allocations: 2.141 MB / 0.4962 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-05/0.2218, allocations: 4 kB / 0.4962 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.2221, allocations: 88 kB / 0.4962 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/0.2221, allocations: 56 kB / 0.4963 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/0.2268, allocations: 2.172 MB / 0.4984 GB, free: 14.17 MB / 398.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.02574/0.2526, allocations: 15.18 MB / 0.5132 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/0.2581, allocations: 3.116 MB / 0.5163 GB, free: 9.957 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.2595, allocations: 0.7949 MB / 0.5171 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.2598, allocations: 26 kB / 0.5171 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.464e-05/0.2598, allocations: 68.58 kB / 0.5172 GB, free: 9.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 3.757e-06/0.2599, allocations: 0 / 0.5172 GB, free: 9.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01038/0.2702, allocations: 3.47 MB / 0.5205 GB, free: 5.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.627e-05/0.2704, allocations: 73.41 kB / 0.5206 GB, free: 5.441 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003709/0.2741, allocations: 1.685 MB / 0.5223 GB, free: 3.711 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002769/0.2744, allocations: 65.7 kB / 0.5223 GB, free: 3.641 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.2757, allocations: 1.096 MB / 0.5234 GB, free: 2.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001339/0.2771, allocations: 0.7899 MB / 0.5242 GB, free: 1.734 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001145/0.2783, allocations: 437.1 kB / 0.5246 GB, free: 1.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.2785, allocations: 305.1 kB / 0.5249 GB, free: 1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.2804, allocations: 0.6571 MB / 0.5255 GB, free: 348 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2263/0.5067, allocations: 1.21 MB / 0.5267 GB, free: 78.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002874/0.5096, allocations: 2.02 MB / 0.5287 GB, free: 78.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/0.5096, allocations: 5.062 kB / 0.5287 GB, free: 78.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005176/0.5148, allocations: 2.696 MB / 0.5313 GB, free: 77.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.5149, allocations: 11.84 kB / 0.5313 GB, free: 77.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.989e-05/0.5149, allocations: 15.91 kB / 0.5313 GB, free: 77.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/0.5167, allocations: 0.5323 MB / 0.5319 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002289/0.519, allocations: 0.5731 MB / 0.5324 GB, free: 77.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008723/0.5278, allocations: 7.706 MB / 0.5399 GB, free: 71.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.5306, allocations: 191.2 kB / 0.5401 GB, free: 71.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002988/0.531, allocations: 99.84 kB / 0.5402 GB, free: 71.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * 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 (285): * Single equations (assignments): 282 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,26), (2,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0009791/0.532, allocations: 489 kB / 0.5407 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/0.5327, allocations: 249.2 kB / 0.5409 GB, free: 70.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004102/0.5368, allocations: 2.155 MB / 0.543 GB, free: 69.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5368, allocations: 19.75 kB / 0.543 GB, free: 69.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.5369, allocations: 1.188 kB / 0.543 GB, free: 69.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/0.5369, allocations: 10.78 kB / 0.5431 GB, free: 69.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008613/0.5455, allocations: 5.251 MB / 0.5482 GB, free: 66.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.5456, allocations: 3.969 kB / 0.5482 GB, free: 66.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.547, allocations: 395.4 kB / 0.5486 GB, free: 66.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/0.5486, allocations: 0.5067 MB / 0.5491 GB, free: 66.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.5487, allocations: 39.88 kB / 0.5491 GB, free: 66.79 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007576/0.5563, allocations: 7.569 MB / 0.5565 GB, free: 60.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.5563, allocations: 7.875 kB / 0.5565 GB, free: 60.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005931/0.5623, allocations: 4.203 MB / 0.5606 GB, free: 58.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001113/0.5634, allocations: 0.5239 MB / 0.5611 GB, free: 57.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/0.5637, allocations: 46.53 kB / 0.5612 GB, free: 57.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.5653, allocations: 52.52 kB / 0.5612 GB, free: 57.69 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002687/0.5656, allocations: 158.7 kB / 0.5614 GB, free: 57.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.5657, allocations: 50.03 kB / 0.5614 GB, free: 57.64 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001694/0.5674, allocations: 1.104 MB / 0.5625 GB, free: 57.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5674, allocations: 0 / 0.5625 GB, free: 57.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003189/0.5706, allocations: 0.9005 MB / 0.5634 GB, free: 57.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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): 173 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,10), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005012/0.5711, allocations: 280.3 kB / 0.5636 GB, free: 56.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003971/0.5751, allocations: 2.394 MB / 0.566 GB, free: 55.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5751, allocations: 0 / 0.566 GB, free: 55.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.5769, allocations: 1.406 MB / 0.5673 GB, free: 54.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002316/0.5793, allocations: 334.6 kB / 0.5677 GB, free: 53.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/0.5859, allocations: 4.753 MB / 0.5723 GB, free: 48.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009154/0.5869, allocations: 1.55 MB / 0.5738 GB, free: 47.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001389/0.5883, allocations: 308.4 kB / 0.5741 GB, free: 47.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005231/0.5888, allocations: 159.4 kB / 0.5743 GB, free: 46.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.213e-06/0.5888, allocations: 0 / 0.5743 GB, free: 46.9 MB / 414.1 MB Notification: Performance of Templates: time 0.04244/0.6312, allocations: 30.92 MB / 0.6045 GB, free: 16.04 MB / 414.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)