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.0009491/0.0009492, allocations: 95.61 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 183.8 kB / 16.93 MB, free: 6.691 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.619/1.619, allocations: 205.4 MB / 223.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06171/0.06171, allocations: 14.16 MB / 285.6 MB, free: 7.023 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.0005662/0.0005663, allocations: 12 kB / 350.2 MB, free: 16.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1199, allocations: 51.12 MB / 401.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01633/0.1362, allocations: 18.23 MB / 419.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01428/0.1505, allocations: 7.543 MB / 427.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/0.1541, allocations: 55.75 kB / 427.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.1576, allocations: 0.8672 MB / 428 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2457/0.4033, allocations: 2.973 MB / 431 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.4058, allocations: 0.7258 MB / 431.7 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009455/0.4153, allocations: 5.742 MB / 437.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.4164, allocations: 348.4 kB / 437.8 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004526/0.4209, allocations: 1.467 MB / 439.2 MB, free: 14.54 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004364/0.4253, allocations: 1.611 MB / 440.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007701/0.4261, allocations: 78 kB / 440.9 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.4301, allocations: 0.5257 MB / 441.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004774/0.4305, allocations: 345.8 kB / 441.8 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004449/0.435, allocations: 1.47 MB / 443.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.445, allocations: 3.52 MB / 446.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.4451, allocations: 1.375 kB / 446.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.176e-06/0.4451, allocations: 4 kB / 446.8 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001546/0.4453, allocations: 0 / 446.8 MB, free: 12.95 MB / 318.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.01572/0.461, allocations: 3.769 MB / 450.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4611, allocations: 6.75 kB / 450.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/0.4639, allocations: 460.2 kB / 451 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004446/0.4684, allocations: 1.656 MB / 452.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.4685, allocations: 161.7 kB / 452.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/0.4688, allocations: 215 kB / 453 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003499/0.4723, allocations: 2.148 MB / 455.2 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.545e-05/0.4724, allocations: 4.859 kB / 455.2 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/0.4726, allocations: 91.66 kB / 455.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.341e-05/0.4726, allocations: 52.78 kB / 455.3 MB, free: 9.336 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.4759, allocations: 2.177 MB / 457.5 MB, free: 8.277 MB / 318.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.01483/0.4907, allocations: 13.96 MB / 471.5 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004954/0.4957, allocations: 3.126 MB / 474.6 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.4969, allocations: 0.7988 MB / 475.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.4971, allocations: 29.34 kB / 475.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.4971, allocations: 56.56 kB / 475.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 3.516e-06/0.4971, allocations: 0 / 475.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.00907/0.5062, allocations: 3.48 MB / 479 MB, free: 2.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.5063, allocations: 73.41 kB / 479 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00244/0.5087, allocations: 1.521 MB / 480.5 MB, free: 416 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.5089, allocations: 61.7 kB / 480.6 MB, free: 348 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.5099, allocations: 1.084 MB / 481.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008073/0.5108, allocations: 0.7522 MB / 482.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002454/0.511, allocations: 190.9 kB / 482.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.767e-05/0.5111, allocations: 313 kB / 482.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.5122, allocations: 0.6571 MB / 483.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.5139, allocations: 1.215 MB / 484.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.5167, allocations: 2.025 MB / 486.8 MB, free: 9.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.5167, allocations: 4 kB / 486.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005232/0.5219, allocations: 2.688 MB / 489.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.346e-05/0.522, allocations: 12 kB / 489.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.051e-05/0.522, allocations: 16 kB / 489.5 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.5239, allocations: 0.5313 MB / 490.1 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00232/0.5262, allocations: 0.5773 MB / 490.7 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008759/0.535, allocations: 6.962 MB / 497.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/0.5379, allocations: 216.5 kB / 497.8 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/0.5382, allocations: 100 kB / 497.9 MB, free: 14.15 MB / 366.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.001294/0.5395, allocations: 481.1 kB / 498.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.5401, allocations: 233.2 kB / 498.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.5444, allocations: 2.152 MB / 0.489 GB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/0.5444, allocations: 20 kB / 0.4891 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5445, allocations: 0 / 0.4891 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.5445, allocations: 11.95 kB / 0.4891 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.5551, allocations: 4.899 MB / 0.4939 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.5551, allocations: 8.031 kB / 0.4939 GB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.5567, allocations: 387.5 kB / 0.4942 GB, free: 5.762 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.5585, allocations: 0.5105 MB / 0.4947 GB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.5586, allocations: 43.94 kB / 0.4948 GB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008359/0.567, allocations: 6.852 MB / 0.5015 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5671, allocations: 4 kB / 0.5015 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006728/0.5738, allocations: 3.952 MB / 0.5053 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.5751, allocations: 473.8 kB / 0.5058 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002759/0.5754, allocations: 40 kB / 0.5058 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.5767, allocations: 79.58 kB / 0.5059 GB, free: 9.273 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/0.577, allocations: 145.7 kB / 0.506 GB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/0.5771, allocations: 52 kB / 0.5061 GB, free: 9.082 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001575/0.5787, allocations: 0.992 MB / 0.5071 GB, free: 8.066 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5787, allocations: 0 / 0.5071 GB, free: 8.066 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003125/0.5819, allocations: 0.8119 MB / 0.5078 GB, free: 7.254 MB / 382.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.0005452/0.5824, allocations: 301.9 kB / 0.5081 GB, free: 6.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004504/0.5869, allocations: 2.36 MB / 0.5104 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5869, allocations: 384 / 0.5104 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00223/0.5892, allocations: 1.401 MB / 0.5118 GB, free: 3.121 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.592, allocations: 263.9 kB / 0.5121 GB, free: 2.863 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.008937/0.601, allocations: 5.808 MB / 0.5177 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.6023, allocations: 1.545 MB / 0.5192 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001604/0.6039, allocations: 284.9 kB / 0.5195 GB, free: 11.11 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004311/0.6043, allocations: 143.4 kB / 0.5196 GB, free: 10.97 MB / 398.1 MB Notification: Performance of SimCode: time 1.814e-06/0.6044, allocations: 4 kB / 0.5197 GB, free: 10.97 MB / 398.1 MB Notification: Performance of Templates: time 0.04486/0.6492, allocations: 23.39 MB / 0.5425 GB, free: 3.695 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)