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.001098/0.001099, allocations: 112.6 kB / 16.37 MB, free: 6 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.001094/0.001094, 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.27/1.27, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06001/0.06001, allocations: 14.16 MB / 284.7 MB, free: 13.88 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.001528/0.001529, allocations: 63.91 kB / 349.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2005, allocations: 50.12 MB / 399.5 MB, free: 49.03 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01044/0.211, allocations: 18.62 MB / 418.1 MB, free: 32.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009803/0.2208, allocations: 7.62 MB / 425.7 MB, free: 24.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003235/0.2241, allocations: 51.81 kB / 425.8 MB, free: 24.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.2268, allocations: 1.006 MB / 426.8 MB, free: 23.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006901/0.2337, allocations: 3.243 MB / 430 MB, free: 20.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.2351, allocations: 0.7825 MB / 430.8 MB, free: 19.86 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004692/0.2398, allocations: 5.716 MB / 436.5 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004654/0.2402, allocations: 374.5 kB / 436.9 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001864/0.2421, allocations: 1.903 MB / 438.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.2439, allocations: 2.016 MB / 440.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002372/0.2441, allocations: 200 kB / 441 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.2454, allocations: 0.7224 MB / 441.7 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2456, allocations: 0.4976 MB / 442.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.2467, allocations: 1.672 MB / 443.9 MB, free: 6.715 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002686/0.2494, allocations: 4.01 MB / 447.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2494, allocations: 0 / 447.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2494, allocations: 0 / 447.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.024e-05/0.2494, allocations: 0 / 447.9 MB, free: 2.695 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.01339/0.2628, allocations: 4.504 MB / 452.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2629, allocations: 8.031 kB / 452.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001934/0.2648, allocations: 461.1 kB / 452.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003438/0.2683, allocations: 1.787 MB / 454.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.2684, allocations: 164.8 kB / 454.8 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.2687, allocations: 211.9 kB / 455 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.2718, allocations: 2.145 MB / 457.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/0.2719, allocations: 3.938 kB / 457.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.272, allocations: 92 kB / 457.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.407e-05/0.2721, allocations: 52 kB / 457.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003211/0.2753, allocations: 2.168 MB / 459.5 MB, free: 6.863 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.0205/0.2958, allocations: 15.18 MB / 474.6 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/0.3001, allocations: 3.133 MB / 477.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.3012, allocations: 0.791 MB / 478.6 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.3013, allocations: 33.98 kB / 478.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.3013, allocations: 56.56 kB / 478.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 3.987e-06/0.3014, allocations: 0 / 478.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008095/0.3095, allocations: 3.445 MB / 482.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.3095, allocations: 81.41 kB / 482.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/0.312, allocations: 1.693 MB / 483.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.3121, allocations: 57.7 kB / 483.9 MB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007364/0.3129, allocations: 1.058 MB / 485 MB, free: 11.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007066/0.3136, allocations: 0.7547 MB / 485.7 MB, free: 10.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005589/0.3141, allocations: 432.8 kB / 486.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.3142, allocations: 305.1 kB / 486.5 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/0.3152, allocations: 0.6571 MB / 487.1 MB, free: 9.105 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.3166, allocations: 1.222 MB / 488.3 MB, free: 7.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002498/0.3191, allocations: 2.017 MB / 490.4 MB, free: 5.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/0.3191, allocations: 4 kB / 490.4 MB, free: 5.379 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004478/0.3236, allocations: 2.684 MB / 493 MB, free: 2.633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.3237, allocations: 15.98 kB / 493.1 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.091e-05/0.3237, allocations: 16 kB / 493.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001647/0.3253, allocations: 0.5335 MB / 493.6 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.3273, allocations: 0.5812 MB / 494.2 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00847/0.3358, allocations: 7.697 MB / 0.4901 GB, free: 9.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.3381, allocations: 186.5 kB / 0.4903 GB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.3382, allocations: 100 kB / 0.4904 GB, free: 9.105 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.0008024/0.339, allocations: 485 kB / 0.4909 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003748/0.3394, allocations: 237.3 kB / 0.4911 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003639/0.3431, allocations: 2.155 MB / 0.4932 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/0.3431, allocations: 20 kB / 0.4932 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.3431, allocations: 4 kB / 0.4932 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.3431, allocations: 7.969 kB / 0.4932 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.3501, allocations: 5.246 MB / 0.4983 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/0.3501, allocations: 4 kB / 0.4983 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001465/0.3516, allocations: 396 kB / 0.4987 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/0.3531, allocations: 0.5066 MB / 0.4992 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.85e-05/0.3532, allocations: 40 kB / 0.4993 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008095/0.3613, allocations: 7.569 MB / 0.5066 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.3614, allocations: 4 kB / 0.5066 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.3654, allocations: 2.305 MB / 0.5089 GB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/0.3665, allocations: 0.5136 MB / 0.5094 GB, free: 4.848 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002597/0.3667, allocations: 40 kB / 0.5094 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001342/0.3681, allocations: 55.83 kB / 0.5095 GB, free: 4.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002403/0.3683, allocations: 145.7 kB / 0.5096 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.292e-05/0.3684, allocations: 63.98 kB / 0.5097 GB, free: 4.547 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00144/0.3699, allocations: 1.101 MB / 0.5108 GB, free: 3.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3699, allocations: 4 kB / 0.5108 GB, free: 3.418 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002255/0.3721, allocations: 0.8861 MB / 0.5116 GB, free: 2.531 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.0004108/0.3726, allocations: 282.8 kB / 0.5119 GB, free: 2.242 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.003563/0.3761, allocations: 2.394 MB / 0.5142 GB, free: 15.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3762, allocations: 0 / 0.5142 GB, free: 15.81 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.001907/0.3781, allocations: 1.398 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.001653/0.3797, allocations: 327.1 kB / 0.5159 GB, free: 14.06 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.005512/0.3853, allocations: 3.658 MB / 0.5195 GB, free: 10.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/0.3862, allocations: 1.486 MB / 0.5209 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001103/0.3874, allocations: 304.9 kB / 0.5212 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004575/0.3878, allocations: 163.4 kB / 0.5214 GB, free: 8.344 MB / 414.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3878, allocations: 0 / 0.5214 GB, free: 8.344 MB / 414.1 MB Notification: Performance of Templates: time 0.2079/0.5957, 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 cvode -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)