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.001473/0.001473, allocations: 111.2 kB / 16.42 MB, free: 6.492 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.001662/0.001663, allocations: 185.5 kB / 17.35 MB, free: 5.762 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.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06683/0.06683, 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.002744/0.002744, allocations: 70.58 kB / 400 MB, free: 42.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1037, 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.01807/0.1219, allocations: 18.63 MB / 468.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01271/0.1346, allocations: 7.612 MB / 476.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003705/0.1384, allocations: 47.88 kB / 476.4 MB, free: 496 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003583/0.142, allocations: 1.014 MB / 477.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01108/0.1531, allocations: 3.41 MB / 480.8 MB, free: 12.07 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002124/0.1553, allocations: 0.7665 MB / 481.6 MB, free: 11.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00748/0.1628, allocations: 5.72 MB / 487.3 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007387/0.1635, allocations: 382.4 kB / 487.7 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002974/0.1665, allocations: 1.942 MB / 489.6 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00269/0.1692, allocations: 2.016 MB / 491.6 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003753/0.1696, allocations: 204 kB / 491.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.1715, allocations: 0.7301 MB / 492.6 MB, free: 284 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004285/0.172, allocations: 0.4939 MB / 493 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001891/0.1739, allocations: 1.675 MB / 494.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005561/0.1795, allocations: 4.186 MB / 498.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1795, allocations: 0 / 498.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.709e-06/0.1795, allocations: 4 kB / 498.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-05/0.1796, allocations: 0 / 498.9 MB, free: 9.895 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.01545/0.195, allocations: 4.458 MB / 0.4916 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.1951, allocations: 12.03 kB / 0.4916 GB, free: 5.355 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.1972, allocations: 461.1 kB / 0.492 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.2009, allocations: 1.795 MB / 0.4938 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.201, allocations: 160.8 kB / 0.4939 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003075/0.2013, allocations: 219.9 kB / 0.4941 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003431/0.2048, allocations: 2.141 MB / 0.4962 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.2048, allocations: 0 / 0.4962 GB, free: 436 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001628/0.205, allocations: 92 kB / 0.4963 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.205, allocations: 56 kB / 0.4964 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.2085, allocations: 2.175 MB / 0.4985 GB, free: 14.09 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.02496/0.2334, allocations: 15.16 MB / 0.5133 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004436/0.2379, allocations: 3.12 MB / 0.5163 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.2391, allocations: 0.8027 MB / 0.5171 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.2392, allocations: 22 kB / 0.5172 GB, free: 9.074 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.2393, allocations: 68.48 kB / 0.5172 GB, free: 8.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 4.378e-06/0.2393, allocations: 0 / 0.5172 GB, free: 8.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008547/0.2478, allocations: 3.465 MB / 0.5206 GB, free: 5.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.2479, allocations: 73.41 kB / 0.5207 GB, free: 5.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/0.2514, allocations: 1.685 MB / 0.5223 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.2515, allocations: 65.7 kB / 0.5224 GB, free: 3.578 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008634/0.2524, allocations: 1.058 MB / 0.5234 GB, free: 2.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008445/0.2532, allocations: 0.7508 MB / 0.5241 GB, free: 1.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006801/0.2539, allocations: 428.8 kB / 0.5246 GB, free: 1.316 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.254, allocations: 309.1 kB / 0.5248 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.2552, allocations: 0.6571 MB / 0.5255 GB, free: 360 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1884/0.4436, allocations: 1.212 MB / 0.5267 GB, free: 78.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/0.4491, allocations: 2.027 MB / 0.5287 GB, free: 77.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.4e-05/0.4492, allocations: 4.531 kB / 0.5287 GB, free: 77.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.009653/0.4589, allocations: 2.682 MB / 0.5313 GB, free: 77.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/0.459, allocations: 12.56 kB / 0.5313 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.661e-05/0.459, allocations: 17 kB / 0.5313 GB, free: 77.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00303/0.4621, allocations: 0.5273 MB / 0.5318 GB, free: 77.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003729/0.4658, allocations: 0.574 MB / 0.5324 GB, free: 77.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/0.4797, allocations: 7.694 MB / 0.5399 GB, free: 71.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.4841, allocations: 188.1 kB / 0.5401 GB, free: 71.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/0.4846, allocations: 96.44 kB / 0.5402 GB, free: 71.23 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.00186/0.4865, allocations: 489.7 kB / 0.5406 GB, free: 70.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/0.4877, allocations: 237.5 kB / 0.5409 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00711/0.4948, allocations: 2.15 MB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/0.4949, allocations: 23.84 kB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/0.4949, allocations: 1.406 kB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.849e-05/0.495, allocations: 14.77 kB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.506, allocations: 5.251 MB / 0.5481 GB, free: 67.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/0.506, allocations: 5.688 kB / 0.5481 GB, free: 67.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001549/0.5076, allocations: 394.1 kB / 0.5485 GB, free: 67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001713/0.5093, allocations: 0.5015 MB / 0.549 GB, free: 66.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.5095, allocations: 40.56 kB / 0.549 GB, free: 66.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007749/0.5173, allocations: 7.564 MB / 0.5564 GB, free: 60.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.5173, allocations: 7.906 kB / 0.5564 GB, free: 60.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.5234, allocations: 4.184 MB / 0.5605 GB, free: 58.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.5247, allocations: 0.5178 MB / 0.561 GB, free: 57.83 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/0.5253, allocations: 45.5 kB / 0.5611 GB, free: 57.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002036/0.5273, allocations: 59.12 kB / 0.5611 GB, free: 57.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002609/0.5276, allocations: 144.8 kB / 0.5613 GB, free: 57.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.883e-05/0.5277, allocations: 59 kB / 0.5613 GB, free: 57.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001993/0.5297, allocations: 1.104 MB / 0.5624 GB, free: 57.26 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5297, allocations: 0 / 0.5624 GB, free: 57.26 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003941/0.5336, allocations: 0.8933 MB / 0.5633 GB, free: 57.15 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.0004619/0.5341, allocations: 280.7 kB / 0.5635 GB, free: 56.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003976/0.5381, allocations: 2.39 MB / 0.5659 GB, free: 55.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.5381, allocations: 0 / 0.5659 GB, free: 55.47 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001796/0.5399, allocations: 1.4 MB / 0.5672 GB, free: 54.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002455/0.5424, allocations: 335.9 kB / 0.5676 GB, free: 53.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006455/0.5489, allocations: 4.666 MB / 0.5721 GB, free: 49.05 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009881/0.5499, allocations: 1.546 MB / 0.5736 GB, free: 47.47 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001213/0.5511, allocations: 304.1 kB / 0.5739 GB, free: 47.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005868/0.5517, allocations: 159.4 kB / 0.5741 GB, free: 47.04 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5517, allocations: 0 / 0.5741 GB, free: 47.04 MB / 414.1 MB Notification: Performance of Templates: time 0.04466/0.5964, allocations: 30.91 MB / 0.6042 GB, free: 16.17 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)