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.001817/0.001817, allocations: 121.8 kB / 17.1 MB, free: 5.945 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.002083/0.002083, allocations: 196.3 kB / 18.04 MB, free: 5.027 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.404/1.404, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06379/0.06379, allocations: 14.17 MB / 285.4 MB, free: 13.84 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.001554/0.001554, allocations: 73.42 kB / 400.6 MB, free: 42.29 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07673/0.07829, allocations: 50.13 MB / 450.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01715/0.09548, allocations: 18.62 MB / 469.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01292/0.1085, allocations: 7.624 MB / 477 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.1116, allocations: 51.81 kB / 477.1 MB, free: 476 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003247/0.1148, allocations: 1.006 MB / 478.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009268/0.1242, allocations: 3.406 MB / 481.5 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.1264, allocations: 0.7708 MB / 482.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007658/0.1341, allocations: 5.716 MB / 488 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.1349, allocations: 382.4 kB / 488.3 MB, free: 5.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.1378, allocations: 1.942 MB / 490.3 MB, free: 3.219 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/0.1409, allocations: 2.023 MB / 492.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005834/0.1415, allocations: 200 kB / 492.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.1438, allocations: 0.7224 MB / 493.2 MB, free: 276 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005579/0.1443, allocations: 0.4937 MB / 493.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002448/0.1468, allocations: 1.675 MB / 495.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005344/0.1521, allocations: 4.204 MB / 499.6 MB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1522, allocations: 4 kB / 499.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1522, allocations: 4 kB / 499.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.1522, allocations: 0 / 499.6 MB, free: 9.863 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.01588/0.1681, allocations: 4.544 MB / 0.4923 GB, free: 5.246 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.1682, allocations: 8.031 kB / 0.4923 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.1706, allocations: 474.8 kB / 0.4928 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004104/0.1747, allocations: 1.816 MB / 0.4946 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.1749, allocations: 160.8 kB / 0.4947 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/0.1752, allocations: 219.9 kB / 0.4949 GB, free: 2.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003816/0.1791, allocations: 2.137 MB / 0.497 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.745e-05/0.1791, allocations: 3.938 kB / 0.497 GB, free: 284 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001779/0.1793, allocations: 92 kB / 0.4971 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.1794, allocations: 52 kB / 0.4972 GB, free: 140 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.183, allocations: 2.176 MB / 0.4993 GB, free: 13.94 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.02012/0.2032, allocations: 15.17 MB / 0.5141 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.2076, allocations: 3.124 MB / 0.5172 GB, free: 9.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001153/0.2088, allocations: 0.8027 MB / 0.5179 GB, free: 8.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.209, allocations: 26 kB / 0.518 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.209, allocations: 56.55 kB / 0.518 GB, free: 8.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.037e-06/0.209, allocations: 0 / 0.518 GB, free: 8.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.00842/0.2174, allocations: 3.47 MB / 0.5214 GB, free: 5.301 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.2175, allocations: 77.41 kB / 0.5215 GB, free: 5.215 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.22, allocations: 1.685 MB / 0.5231 GB, free: 3.484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.2202, allocations: 61.7 kB / 0.5232 GB, free: 3.418 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007841/0.2209, allocations: 1.096 MB / 0.5243 GB, free: 2.309 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007998/0.2218, allocations: 0.786 MB / 0.525 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006581/0.2224, allocations: 441 kB / 0.5254 GB, free: 1.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2225, allocations: 305.1 kB / 0.5257 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/0.2237, allocations: 0.661 MB / 0.5264 GB, free: 116 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1814/0.4051, allocations: 1.211 MB / 0.5276 GB, free: 79.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.4076, allocations: 2.022 MB / 0.5295 GB, free: 78.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/0.4076, allocations: 4.812 kB / 0.5295 GB, free: 78.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004875/0.4125, allocations: 2.694 MB / 0.5322 GB, free: 77.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.4125, allocations: 11.44 kB / 0.5322 GB, free: 77.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.4126, allocations: 15.81 kB / 0.5322 GB, free: 77.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.4144, allocations: 0.5241 MB / 0.5327 GB, free: 77.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.4167, allocations: 0.5757 MB / 0.5333 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.4252, allocations: 7.711 MB / 0.5408 GB, free: 71.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.428, allocations: 197.7 kB / 0.541 GB, free: 71.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/0.4282, allocations: 103.8 kB / 0.5411 GB, free: 71.2 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.000771/0.4289, allocations: 476.3 kB / 0.5415 GB, free: 70.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003888/0.4293, allocations: 248 kB / 0.5418 GB, free: 70.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003869/0.4332, allocations: 2.148 MB / 0.5439 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.4333, allocations: 14.61 kB / 0.5439 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.4333, allocations: 3.172 kB / 0.5439 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009043/0.4342, allocations: 0.5182 MB / 0.5444 GB, free: 69.45 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/0.4345, allocations: 38.34 kB / 0.5444 GB, free: 69.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.4359, allocations: 55.23 kB / 0.5445 GB, free: 69.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.4362, allocations: 154.3 kB / 0.5446 GB, free: 69.36 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004646/0.4408, allocations: 2.085 MB / 0.5467 GB, free: 68.58 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01171/0.4526, allocations: 8.478 MB / 0.555 GB, free: 63.69 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008186/0.4534, allocations: 0.6321 MB / 0.5556 GB, free: 63.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.4547, allocations: 1.114 MB / 0.5567 GB, free: 62.96 MB / 414.1 MB Notification: Performance of Backend: time 1.703e-06/0.4547, allocations: 0 / 0.5567 GB, free: 62.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004638/0.4594, allocations: 2.147 MB / 0.5588 GB, free: 61.9 MB / 414.1 MB Notification: Performance of SimCode: time 0.006296/0.4657, allocations: 6.639 MB / 0.5652 GB, free: 57.34 MB / 414.1 MB Notification: Performance of Templates: time 0.04975/0.5154, allocations: 38.17 MB / 0.6025 GB, free: 19.35 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=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)