Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow") translateModel(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_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.001035/0.001035, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.001105/0.001105, allocations: 196 kB / 17.31 MB, free: 5.613 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.33/1.33, 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.06328/0.06328, allocations: 14.17 MB / 284.7 MB, free: 13.89 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.001555/0.001555, allocations: 71.89 kB / 349.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.209, allocations: 50.12 MB / 399.5 MB, free: 49.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01173/0.2208, allocations: 18.63 MB / 418.1 MB, free: 32.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009408/0.2302, allocations: 7.616 MB / 425.7 MB, free: 24.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.2329, allocations: 55.81 kB / 425.8 MB, free: 24.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.2358, allocations: 0.9979 MB / 426.8 MB, free: 23.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008315/0.2442, allocations: 3.246 MB / 430 MB, free: 20.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.2459, allocations: 0.7708 MB / 430.8 MB, free: 19.88 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005434/0.2514, allocations: 5.712 MB / 436.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006528/0.252, allocations: 378.4 kB / 436.9 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.2543, allocations: 1.911 MB / 438.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002467/0.2568, allocations: 2.004 MB / 440.8 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003252/0.2571, allocations: 204 kB / 441 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.2587, allocations: 0.7223 MB / 441.7 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.259, allocations: 0.4976 MB / 442.2 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.2602, allocations: 1.672 MB / 443.9 MB, free: 6.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.2631, allocations: 4.01 MB / 447.9 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2631, allocations: 4 kB / 447.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2631, allocations: 0 / 447.9 MB, free: 2.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.2631, allocations: 4 kB / 447.9 MB, free: 2.707 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.01346/0.2766, allocations: 4.496 MB / 452.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2767, allocations: 12.03 kB / 452.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.2786, allocations: 457.1 kB / 452.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/0.2819, allocations: 1.791 MB / 454.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001117/0.282, allocations: 164.8 kB / 454.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002419/0.2823, allocations: 211.9 kB / 455 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003138/0.2854, allocations: 2.141 MB / 457.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.2855, allocations: 3.938 kB / 457.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001601/0.2856, allocations: 92 kB / 457.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.903e-05/0.2857, allocations: 56 kB / 457.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.2889, allocations: 2.172 MB / 459.5 MB, free: 6.875 MB / 334.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.01952/0.3085, allocations: 15.17 MB / 474.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00424/0.3127, allocations: 3.137 MB / 477.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.3138, allocations: 0.7949 MB / 478.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001218/0.314, allocations: 33.98 kB / 478.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/0.314, allocations: 48.56 kB / 478.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.388e-06/0.314, allocations: 4 kB / 478.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008596/0.3226, allocations: 3.453 MB / 482.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3227, allocations: 77.34 kB / 482.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/0.3251, allocations: 1.685 MB / 483.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.399e-05/0.3252, allocations: 61.7 kB / 483.9 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007443/0.326, allocations: 1.058 MB / 485 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/0.3267, allocations: 0.7469 MB / 485.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005814/0.3273, allocations: 432.8 kB / 486.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.3274, allocations: 309.1 kB / 486.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.3284, allocations: 0.6571 MB / 487.1 MB, free: 9.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.3299, allocations: 1.218 MB / 488.3 MB, free: 7.676 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002723/0.3326, allocations: 2.021 MB / 490.3 MB, free: 5.402 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.3326, allocations: 4 kB / 490.3 MB, free: 5.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004898/0.3375, allocations: 2.684 MB / 493 MB, free: 2.652 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3376, allocations: 8.406 kB / 493 MB, free: 2.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.62e-05/0.3376, allocations: 20 kB / 493.1 MB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001775/0.3394, allocations: 0.5408 MB / 493.6 MB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002156/0.3416, allocations: 0.5773 MB / 494.2 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008705/0.3503, allocations: 7.707 MB / 0.4901 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002342/0.3527, allocations: 182.6 kB / 0.4903 GB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.3528, allocations: 99.98 kB / 0.4904 GB, free: 9.121 MB / 382.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.0007657/0.3536, allocations: 485 kB / 0.4909 GB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.3539, allocations: 233.3 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.3576, allocations: 2.167 MB / 0.4932 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.3576, allocations: 20 kB / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3576, allocations: 0 / 0.4932 GB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/0.3577, allocations: 7.969 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007081/0.3647, allocations: 5.246 MB / 0.4983 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/0.3648, allocations: 4 kB / 0.4983 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001554/0.3663, allocations: 396 kB / 0.4987 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001636/0.368, allocations: 0.5027 MB / 0.4992 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/0.3681, allocations: 40 kB / 0.4993 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008112/0.3762, allocations: 7.56 MB / 0.5066 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3762, allocations: 4 kB / 0.5066 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003887/0.3801, allocations: 2.317 MB / 0.5089 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009934/0.3811, allocations: 0.5058 MB / 0.5094 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.3814, allocations: 40 kB / 0.5094 GB, free: 4.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001395/0.3828, allocations: 63.83 kB / 0.5095 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.3831, allocations: 145.7 kB / 0.5096 GB, free: 4.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.3832, allocations: 56 kB / 0.5097 GB, free: 4.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001463/0.3846, allocations: 1.105 MB / 0.5108 GB, free: 3.438 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3846, allocations: 0 / 0.5108 GB, free: 3.438 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00219/0.3868, allocations: 0.8861 MB / 0.5116 GB, free: 2.551 MB / 398.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.0004069/0.3872, allocations: 289.9 kB / 0.5119 GB, free: 2.254 MB / 398.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 initialization part: time 0.003549/0.3908, allocations: 2.393 MB / 0.5142 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.147e-06/0.3908, allocations: 0 / 0.5142 GB, free: 15.82 MB / 414.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 simulation system equations: time 0.001942/0.3928, allocations: 1.402 MB / 0.5156 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.3945, allocations: 326.8 kB / 0.5159 GB, free: 14.07 MB / 414.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.005483/0.4, allocations: 3.65 MB / 0.5195 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/0.401, allocations: 1.486 MB / 0.5209 GB, free: 8.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001298/0.4023, allocations: 304.9 kB / 0.5212 GB, free: 8.516 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/0.4028, allocations: 159.4 kB / 0.5214 GB, free: 8.359 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4028, allocations: 0 / 0.5214 GB, free: 8.359 MB / 414.1 MB Notification: Performance of Templates: time 0.1853/0.5881, allocations: 30.25 MB / 0.5509 GB, free: 113.4 MB / 414.1 MB make -j1 -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile (rm -f PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; mkfifo PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe >> ../files/PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.sim & ./PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)