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.001156/0.001156, allocations: 111.3 kB / 16.42 MB, free: 6.504 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.001248/0.001249, allocations: 185.5 kB / 17.35 MB, free: 5.758 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.392/1.392, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06279/0.06279, allocations: 14.17 MB / 284.7 MB, free: 13.86 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.001331/0.001331, allocations: 66.09 kB / 400 MB, free: 42.28 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0725/0.07384, allocations: 50.13 MB / 450.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01577/0.08965, allocations: 18.63 MB / 468.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.1008, allocations: 7.616 MB / 476.3 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.103, allocations: 47.88 kB / 476.4 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.1061, allocations: 1.006 MB / 477.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008171/0.1143, allocations: 3.243 MB / 480.6 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001794/0.1161, allocations: 0.7739 MB / 481.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006512/0.1226, allocations: 5.716 MB / 487.1 MB, free: 5.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007153/0.1233, allocations: 382.4 kB / 487.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002808/0.1262, allocations: 1.903 MB / 489.4 MB, free: 3.445 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/0.1293, allocations: 2.02 MB / 491.4 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006219/0.1299, allocations: 200 kB / 491.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.1323, allocations: 0.7223 MB / 492.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005632/0.1329, allocations: 0.5015 MB / 492.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00234/0.1352, allocations: 1.675 MB / 494.5 MB, free: 14.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.1397, allocations: 4.204 MB / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1397, allocations: 0 / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1397, allocations: 0 / 498.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.313e-05/0.1398, allocations: 0 / 498.7 MB, free: 10.09 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.01371/0.1535, allocations: 4.548 MB / 0.4915 GB, free: 5.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1535, allocations: 12.03 kB / 0.4915 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/0.1553, allocations: 478.7 kB / 0.4919 GB, free: 4.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003005/0.1583, allocations: 1.804 MB / 0.4937 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.1584, allocations: 164.8 kB / 0.4939 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00023/0.1587, allocations: 215.9 kB / 0.4941 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.1618, allocations: 2.141 MB / 0.4962 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/0.1619, allocations: 4 kB / 0.4962 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/0.1621, allocations: 88 kB / 0.4962 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.673e-05/0.1621, allocations: 56 kB / 0.4963 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00324/0.1654, allocations: 2.176 MB / 0.4984 GB, free: 14.17 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.01797/0.1833, allocations: 15.17 MB / 0.5132 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/0.1875, allocations: 3.12 MB / 0.5163 GB, free: 9.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.1886, allocations: 0.7988 MB / 0.5171 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001286/0.1887, allocations: 33.97 kB / 0.5171 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.1888, allocations: 60.56 kB / 0.5172 GB, free: 9.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=217): time 3.677e-06/0.1888, allocations: 0 / 0.5172 GB, free: 9.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.008478/0.1973, allocations: 3.466 MB / 0.5205 GB, free: 5.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.568e-05/0.1974, allocations: 73.41 kB / 0.5206 GB, free: 5.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002133/0.1995, allocations: 1.693 MB / 0.5223 GB, free: 3.707 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.504e-05/0.1996, allocations: 65.64 kB / 0.5223 GB, free: 3.637 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007519/0.2004, allocations: 1.092 MB / 0.5234 GB, free: 2.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006901/0.201, allocations: 0.7861 MB / 0.5242 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005605/0.2016, allocations: 433.1 kB / 0.5246 GB, free: 1.309 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.669e-05/0.2017, allocations: 309.1 kB / 0.5249 GB, free: 1.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.2027, allocations: 0.6571 MB / 0.5255 GB, free: 352 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1792/0.382, allocations: 1.213 MB / 0.5267 GB, free: 78.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.3845, allocations: 2.025 MB / 0.5287 GB, free: 78.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.3845, allocations: 3.312 kB / 0.5287 GB, free: 78.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.006193/0.3907, allocations: 2.689 MB / 0.5313 GB, free: 77.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.3908, allocations: 12.14 kB / 0.5313 GB, free: 77.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.162e-05/0.3908, allocations: 19 kB / 0.5313 GB, free: 77.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/0.3934, allocations: 0.5289 MB / 0.5318 GB, free: 77.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.3968, allocations: 0.5751 MB / 0.5324 GB, free: 77.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.4087, allocations: 7.707 MB / 0.5399 GB, free: 71.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003883/0.4127, allocations: 192.1 kB / 0.5401 GB, free: 71.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.413, allocations: 96.17 kB / 0.5402 GB, free: 71.24 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.001147/0.4141, allocations: 489.1 kB / 0.5407 GB, free: 70.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007017/0.4148, allocations: 247.3 kB / 0.5409 GB, free: 70.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005516/0.4204, allocations: 2.148 MB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/0.4204, allocations: 21.25 kB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4204, allocations: 3.469 kB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.583e-05/0.4205, allocations: 10.83 kB / 0.543 GB, free: 69.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/0.4311, allocations: 5.257 MB / 0.5482 GB, free: 67.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.4312, allocations: 7.578 kB / 0.5482 GB, free: 67.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002113/0.4333, allocations: 389.8 kB / 0.5486 GB, free: 67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/0.4355, allocations: 0.5053 MB / 0.549 GB, free: 66.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.4357, allocations: 40.78 kB / 0.5491 GB, free: 66.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.446, allocations: 7.57 MB / 0.5565 GB, free: 60.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.4461, allocations: 7.844 kB / 0.5565 GB, free: 60.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00785/0.4539, allocations: 4.201 MB / 0.5606 GB, free: 58.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/0.4552, allocations: 0.5255 MB / 0.5611 GB, free: 57.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/0.4558, allocations: 41.23 kB / 0.5611 GB, free: 57.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.4582, allocations: 58.84 kB / 0.5612 GB, free: 57.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000303/0.4586, allocations: 149.6 kB / 0.5613 GB, free: 57.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.4587, allocations: 54.62 kB / 0.5614 GB, free: 57.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002229/0.4609, allocations: 1.113 MB / 0.5625 GB, free: 57.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4609, allocations: 0 / 0.5625 GB, free: 57.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003921/0.4649, allocations: 0.8972 MB / 0.5634 GB, free: 57.11 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.0004768/0.4654, allocations: 287 kB / 0.5636 GB, free: 56.94 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00488/0.4703, allocations: 2.387 MB / 0.566 GB, free: 55.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4703, allocations: 3.938 kB / 0.566 GB, free: 55.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.4727, allocations: 1.399 MB / 0.5673 GB, free: 54.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00213/0.4748, allocations: 334.4 kB / 0.5677 GB, free: 53.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005513/0.4804, allocations: 4.768 MB / 0.5723 GB, free: 48.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/0.4812, allocations: 1.542 MB / 0.5738 GB, free: 47.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001065/0.4823, allocations: 305.9 kB / 0.5741 GB, free: 47.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.4827, allocations: 155.4 kB / 0.5743 GB, free: 46.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4827, allocations: 0 / 0.5743 GB, free: 46.96 MB / 414.1 MB Notification: Performance of Templates: time 0.03732/0.5201, allocations: 30.92 MB / 0.6044 GB, free: 16.09 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)