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.001202/0.001202, allocations: 110.5 kB / 16.41 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.001289/0.001289, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.415/1.415, 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.06759/0.06759, allocations: 14.17 MB / 284.8 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.001366/0.001366, allocations: 64.59 kB / 400 MB, free: 42.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.0867, allocations: 50.13 MB / 450.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01653/0.1033, allocations: 18.61 MB / 468.7 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.1146, allocations: 7.627 MB / 476.3 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002381/0.117, allocations: 51.81 kB / 476.4 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.1199, allocations: 1.002 MB / 477.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008563/0.1285, allocations: 3.411 MB / 480.8 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.1304, allocations: 0.7744 MB / 481.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007293/0.1377, allocations: 5.708 MB / 487.3 MB, free: 5.676 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008989/0.1387, allocations: 382.4 kB / 487.7 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002935/0.1416, allocations: 1.946 MB / 489.6 MB, free: 3.328 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003132/0.1447, allocations: 2.023 MB / 491.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006011/0.1454, allocations: 200 kB / 491.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.1475, allocations: 0.7263 MB / 492.5 MB, free: 384 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.148, allocations: 0.4937 MB / 493 MB, free: 15.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001892/0.1499, allocations: 1.679 MB / 494.7 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.1545, allocations: 4.191 MB / 498.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1546, allocations: 0 / 498.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1546, allocations: 0 / 498.9 MB, free: 9.988 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.755e-05/0.1546, allocations: 0 / 498.9 MB, free: 9.988 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.01511/0.1697, allocations: 4.461 MB / 0.4916 GB, free: 5.457 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.1698, allocations: 12.03 kB / 0.4916 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001989/0.1718, allocations: 457.2 kB / 0.492 GB, free: 4.996 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.1753, allocations: 1.795 MB / 0.4938 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.1755, allocations: 160.8 kB / 0.4939 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.1757, allocations: 215.9 kB / 0.4941 GB, free: 2.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.1793, allocations: 2.137 MB / 0.4962 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.253e-05/0.1794, allocations: 7.938 kB / 0.4962 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001755/0.1796, allocations: 84 kB / 0.4963 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.1796, allocations: 56 kB / 0.4964 GB, free: 392 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003637/0.1833, allocations: 2.172 MB / 0.4985 GB, free: 14.2 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.02128/0.2046, allocations: 15.16 MB / 0.5133 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.209, allocations: 3.12 MB / 0.5163 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001163/0.2102, allocations: 0.8027 MB / 0.5171 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.2103, allocations: 33.97 kB / 0.5172 GB, free: 9.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2103, allocations: 56.5 kB / 0.5172 GB, free: 9.094 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.558e-06/0.2104, allocations: 0 / 0.5172 GB, free: 9.094 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008817/0.2192, allocations: 3.461 MB / 0.5206 GB, free: 5.562 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.2193, allocations: 77.41 kB / 0.5207 GB, free: 5.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.2217, allocations: 1.689 MB / 0.5223 GB, free: 3.742 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001083/0.2218, allocations: 57.7 kB / 0.5224 GB, free: 3.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007887/0.2226, allocations: 1.066 MB / 0.5234 GB, free: 2.598 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007804/0.2234, allocations: 0.7508 MB / 0.5241 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007603/0.2242, allocations: 432.9 kB / 0.5246 GB, free: 1.406 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.2243, allocations: 305.1 kB / 0.5248 GB, free: 1.105 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/0.2255, allocations: 0.6649 MB / 0.5255 GB, free: 448 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2044/0.4299, allocations: 1.208 MB / 0.5267 GB, free: 78.97 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.4327, allocations: 2.023 MB / 0.5286 GB, free: 78.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/0.4328, allocations: 4.594 kB / 0.5287 GB, free: 78.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005552/0.4383, allocations: 2.678 MB / 0.5313 GB, free: 77.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.4384, allocations: 15.75 kB / 0.5313 GB, free: 77.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/0.4384, allocations: 15.19 kB / 0.5313 GB, free: 77.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.4403, allocations: 0.5291 MB / 0.5318 GB, free: 77.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002517/0.4428, allocations: 0.5749 MB / 0.5324 GB, free: 77.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/0.4538, allocations: 7.694 MB / 0.5399 GB, free: 71.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003164/0.457, allocations: 187.3 kB / 0.5401 GB, free: 71.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002787/0.4573, allocations: 105.8 kB / 0.5402 GB, free: 71.21 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.001032/0.4583, allocations: 484.8 kB / 0.5406 GB, free: 70.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/0.4589, allocations: 235.7 kB / 0.5409 GB, free: 70.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.463, allocations: 2.157 MB / 0.543 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.4631, allocations: 21.86 kB / 0.543 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4631, allocations: 3.688 kB / 0.543 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.872e-05/0.4631, allocations: 13.08 kB / 0.543 GB, free: 69.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00861/0.4717, allocations: 5.251 MB / 0.5481 GB, free: 67.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4718, allocations: 3.969 kB / 0.5481 GB, free: 67.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001504/0.4733, allocations: 394.7 kB / 0.5485 GB, free: 66.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001543/0.4749, allocations: 0.4973 MB / 0.549 GB, free: 66.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.5e-05/0.475, allocations: 43.11 kB / 0.549 GB, free: 66.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/0.4823, allocations: 7.56 MB / 0.5564 GB, free: 60.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.4824, allocations: 4.531 kB / 0.5564 GB, free: 60.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005885/0.4883, allocations: 4.186 MB / 0.5605 GB, free: 58.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009933/0.4893, allocations: 0.5113 MB / 0.561 GB, free: 57.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/0.4896, allocations: 47.62 kB / 0.5611 GB, free: 57.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.4912, allocations: 63.23 kB / 0.5611 GB, free: 57.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.4916, allocations: 143.5 kB / 0.5613 GB, free: 57.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-05/0.4917, allocations: 56.81 kB / 0.5613 GB, free: 57.71 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001713/0.4934, allocations: 1.105 MB / 0.5624 GB, free: 57.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4934, allocations: 4 kB / 0.5624 GB, free: 57.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002894/0.4963, allocations: 0.8966 MB / 0.5633 GB, free: 57.13 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.0003961/0.4967, allocations: 282 kB / 0.5635 GB, free: 56.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.5004, allocations: 2.384 MB / 0.5659 GB, free: 55.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.5005, allocations: 4.375 kB / 0.5659 GB, free: 55.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.5023, allocations: 1.401 MB / 0.5672 GB, free: 54.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.5044, allocations: 333.8 kB / 0.5676 GB, free: 54.03 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006198/0.5106, allocations: 4.654 MB / 0.5721 GB, free: 49.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008296/0.5115, allocations: 1.55 MB / 0.5736 GB, free: 47.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001331/0.5128, allocations: 300.5 kB / 0.5739 GB, free: 47.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/0.5133, allocations: 159.4 kB / 0.5741 GB, free: 47.27 MB / 414.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5133, allocations: 0 / 0.5741 GB, free: 47.27 MB / 414.1 MB Notification: Performance of Templates: time 0.04405/0.5574, allocations: 30.93 MB / 0.6043 GB, free: 16.41 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)