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.001566/0.001566, allocations: 108.4 kB / 16.41 MB, free: 6.496 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.001385/0.001385, allocations: 189.5 kB / 17.34 MB, free: 5.738 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.496/1.496, allocations: 205.1 MB / 223.2 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06282/0.06282, allocations: 14.17 MB / 284.8 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.00163/0.00163, allocations: 62.88 kB / 400 MB, free: 42.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0821/0.08374, allocations: 50.13 MB / 450.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01877/0.1026, allocations: 18.64 MB / 468.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1143, allocations: 7.612 MB / 476.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002481/0.1169, allocations: 51.81 kB / 476.4 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002652/0.1196, allocations: 1.006 MB / 477.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008654/0.1282, allocations: 3.242 MB / 480.6 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.1303, allocations: 0.7747 MB / 481.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009548/0.1399, allocations: 5.716 MB / 487.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.1409, allocations: 386.4 kB / 487.5 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.1449, allocations: 1.942 MB / 489.4 MB, free: 3.379 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00395/0.1488, allocations: 2.012 MB / 491.5 MB, free: 1.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006873/0.1496, allocations: 204 kB / 491.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.152, allocations: 0.7301 MB / 492.4 MB, free: 440 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004141/0.1525, allocations: 0.4899 MB / 492.9 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002036/0.1545, allocations: 1.679 MB / 494.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005191/0.1597, allocations: 4.191 MB / 498.7 MB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.1597, allocations: 3.938 kB / 498.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1597, allocations: 0 / 498.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.661e-05/0.1598, allocations: 0 / 498.7 MB, free: 10.04 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.01631/0.1761, allocations: 4.465 MB / 0.4914 GB, free: 5.508 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.1762, allocations: 8.031 kB / 0.4914 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/0.1783, allocations: 453.2 kB / 0.4919 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.1819, allocations: 1.791 MB / 0.4936 GB, free: 3.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001091/0.1821, allocations: 160.8 kB / 0.4938 GB, free: 3.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002499/0.1823, allocations: 219.9 kB / 0.494 GB, free: 2.832 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00367/0.186, allocations: 2.145 MB / 0.4961 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.1861, allocations: 0 / 0.4961 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.1863, allocations: 88 kB / 0.4961 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.232e-05/0.1863, allocations: 52 kB / 0.4962 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.1899, allocations: 2.172 MB / 0.4983 GB, free: 14.25 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.02218/0.2121, allocations: 15.17 MB / 0.5131 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004733/0.2168, allocations: 3.116 MB / 0.5162 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/0.2181, allocations: 0.8066 MB / 0.517 GB, free: 9.246 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.2182, allocations: 30.08 kB / 0.517 GB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.2183, allocations: 56.5 kB / 0.517 GB, free: 9.152 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.228e-06/0.2183, allocations: 0 / 0.517 GB, free: 9.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008947/0.2272, allocations: 3.465 MB / 0.5204 GB, free: 5.617 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.2273, allocations: 77.41 kB / 0.5205 GB, free: 5.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.23, allocations: 1.685 MB / 0.5221 GB, free: 3.801 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.2302, allocations: 61.7 kB / 0.5222 GB, free: 3.734 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/0.2309, allocations: 1.054 MB / 0.5232 GB, free: 2.664 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007716/0.2317, allocations: 0.7586 MB / 0.524 GB, free: 1.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005991/0.2323, allocations: 428.8 kB / 0.5244 GB, free: 1.469 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2324, allocations: 305.1 kB / 0.5247 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.2336, allocations: 0.661 MB / 0.5253 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2523/0.4859, allocations: 1.208 MB / 0.5265 GB, free: 79.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002749/0.4887, allocations: 2.025 MB / 0.5285 GB, free: 78.83 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.4887, allocations: 4.844 kB / 0.5285 GB, free: 78.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005071/0.4938, allocations: 2.684 MB / 0.5311 GB, free: 78.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.4938, allocations: 11.41 kB / 0.5311 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.4939, allocations: 16.41 kB / 0.5311 GB, free: 78.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001801/0.4957, allocations: 0.5285 MB / 0.5316 GB, free: 78.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002229/0.4979, allocations: 0.5744 MB / 0.5322 GB, free: 78 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008702/0.5066, allocations: 7.706 MB / 0.5397 GB, free: 72.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0031/0.5098, allocations: 190.2 kB / 0.5399 GB, free: 72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.51, allocations: 96.23 kB / 0.54 GB, free: 71.98 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.0009074/0.5109, allocations: 494.5 kB / 0.5405 GB, free: 71.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005206/0.5114, allocations: 233.6 kB / 0.5407 GB, free: 71.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/0.5155, allocations: 2.147 MB / 0.5428 GB, free: 70.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.5155, allocations: 23.73 kB / 0.5428 GB, free: 70.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5155, allocations: 1.375 kB / 0.5428 GB, free: 70.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.044e-05/0.5156, allocations: 11.52 kB / 0.5428 GB, free: 70.6 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008287/0.5238, allocations: 5.247 MB / 0.548 GB, free: 67.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5239, allocations: 3.938 kB / 0.548 GB, free: 67.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/0.5253, allocations: 396.9 kB / 0.5483 GB, free: 67.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.5269, allocations: 0.5051 MB / 0.5488 GB, free: 67.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.527, allocations: 40.45 kB / 0.5489 GB, free: 67.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007322/0.5343, allocations: 7.566 MB / 0.5563 GB, free: 61.52 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.5343, allocations: 7.906 kB / 0.5563 GB, free: 61.52 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005485/0.5398, allocations: 4.185 MB / 0.5604 GB, free: 58.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/0.5408, allocations: 0.5117 MB / 0.5609 GB, free: 58.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.5411, allocations: 46.97 kB / 0.5609 GB, free: 58.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.5426, allocations: 56.94 kB / 0.561 GB, free: 58.53 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.5428, allocations: 152.2 kB / 0.5611 GB, free: 58.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.81e-05/0.5429, allocations: 53.56 kB / 0.5612 GB, free: 58.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.5442, allocations: 1.103 MB / 0.5622 GB, free: 58.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5442, allocations: 0 / 0.5622 GB, free: 58.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002755/0.5469, allocations: 0.8935 MB / 0.5631 GB, free: 57.91 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.000363/0.5473, allocations: 286.6 kB / 0.5634 GB, free: 57.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003356/0.5507, allocations: 2.389 MB / 0.5657 GB, free: 56.56 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5507, allocations: 0 / 0.5657 GB, free: 56.56 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001636/0.5523, allocations: 1.398 MB / 0.5671 GB, free: 55.24 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.5539, allocations: 339.9 kB / 0.5674 GB, free: 54.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.5595, allocations: 4.655 MB / 0.5719 GB, free: 50.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007203/0.5602, allocations: 1.542 MB / 0.5734 GB, free: 48.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001067/0.5613, allocations: 309.1 kB / 0.5737 GB, free: 48.53 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/0.5618, allocations: 163.4 kB / 0.5739 GB, free: 48.37 MB / 414.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5618, allocations: 0 / 0.5739 GB, free: 48.37 MB / 414.1 MB Notification: Performance of Templates: time 0.043/0.6048, allocations: 32.04 MB / 0.6052 GB, free: 16.37 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)