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.001212/0.001218, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00936/0.00936, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.516/1.516, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05995/0.05995, allocations: 14.16 MB / 284.9 MB, free: 7.027 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.0005407/0.0005407, allocations: 15.98 kB / 349.5 MB, free: 16.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.09002, allocations: 51.11 MB / 400.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01612/0.1062, allocations: 18.23 MB / 418.8 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.119, allocations: 7.551 MB / 426.4 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.1218, allocations: 51.81 kB / 426.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.1248, allocations: 0.8672 MB / 427.3 MB, free: 2.828 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2134/0.3382, allocations: 2.978 MB / 430.3 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003207/0.3414, allocations: 0.7209 MB / 431 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01045/0.3519, allocations: 5.744 MB / 436.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.3532, allocations: 352.2 kB / 437.1 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.3571, allocations: 1.463 MB / 438.6 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004246/0.3614, allocations: 1.609 MB / 440.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009197/0.3623, allocations: 82.56 kB / 440.3 MB, free: 14.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.3661, allocations: 0.5255 MB / 440.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.3672, allocations: 344.3 kB / 441.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005904/0.3731, allocations: 1.473 MB / 442.6 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009488/0.3826, allocations: 3.518 MB / 446.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3827, allocations: 0 / 446.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3827, allocations: 4 kB / 446.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001623/0.3828, allocations: 0 / 446.1 MB, free: 12.95 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.01549/0.3983, allocations: 3.767 MB / 449.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.3984, allocations: 9.344 kB / 449.9 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002756/0.4012, allocations: 454.6 kB / 450.3 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004357/0.4056, allocations: 1.662 MB / 452 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.4058, allocations: 168.6 kB / 452.2 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005318/0.4063, allocations: 206.5 kB / 452.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004578/0.4109, allocations: 2.144 MB / 454.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/0.411, allocations: 6.094 kB / 454.5 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.4112, allocations: 86.25 kB / 454.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/0.4112, allocations: 53.19 kB / 454.6 MB, free: 9.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003381/0.4146, allocations: 2.178 MB / 456.8 MB, free: 8.305 MB / 318.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.01472/0.4293, allocations: 13.98 MB / 470.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004769/0.4341, allocations: 3.116 MB / 473.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.4354, allocations: 0.8027 MB / 474.7 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.4356, allocations: 29.89 kB / 474.7 MB, free: 5.672 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.324e-05/0.4356, allocations: 56.56 kB / 474.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.048e-06/0.4356, allocations: 0 / 474.8 MB, free: 5.609 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.009221/0.4449, allocations: 3.486 MB / 478.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.445, allocations: 73.41 kB / 478.4 MB, free: 1.973 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.4478, allocations: 1.521 MB / 479.9 MB, free: 416 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000207/0.448, allocations: 57.7 kB / 479.9 MB, free: 352 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001059/0.449, allocations: 1.086 MB / 481 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007921/0.4498, allocations: 0.7474 MB / 481.8 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.4501, allocations: 194.9 kB / 482 MB, free: 14.39 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4502, allocations: 313 kB / 482.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.4514, allocations: 0.6532 MB / 482.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.4531, allocations: 1.218 MB / 484.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003068/0.4561, allocations: 2.019 MB / 486.2 MB, free: 9.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.4562, allocations: 4 kB / 486.2 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005254/0.4614, allocations: 2.688 MB / 488.9 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.4615, allocations: 12 kB / 488.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/0.4615, allocations: 16 kB / 488.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.4635, allocations: 0.5364 MB / 489.4 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002453/0.4659, allocations: 0.5811 MB / 490 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009605/0.4756, allocations: 6.971 MB / 497 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002777/0.4784, allocations: 210.2 kB / 497.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002116/0.4786, allocations: 96 kB / 497.3 MB, free: 14.16 MB / 366.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.001065/0.4797, allocations: 473.2 kB / 497.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004303/0.4801, allocations: 245.2 kB / 498 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/0.4845, allocations: 2.144 MB / 0.4884 GB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/0.4846, allocations: 24 kB / 0.4884 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.4846, allocations: 0 / 0.4884 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/0.4846, allocations: 11.95 kB / 0.4884 GB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008111/0.4927, allocations: 4.902 MB / 0.4932 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4928, allocations: 8.094 kB / 0.4932 GB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.4945, allocations: 387.5 kB / 0.4936 GB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001889/0.4965, allocations: 0.5067 MB / 0.4941 GB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.4967, allocations: 40 kB / 0.4941 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008627/0.5053, allocations: 6.858 MB / 0.5008 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.5054, allocations: 7.938 kB / 0.5008 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004582/0.5099, allocations: 2.303 MB / 0.5031 GB, free: 11.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/0.5113, allocations: 458 kB / 0.5035 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003438/0.5117, allocations: 44 kB / 0.5036 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.513, allocations: 75.58 kB / 0.5036 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003033/0.5133, allocations: 149.7 kB / 0.5038 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.5134, allocations: 55.98 kB / 0.5038 GB, free: 10.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001579/0.515, allocations: 0.9881 MB / 0.5048 GB, free: 9.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.515, allocations: 0 / 0.5048 GB, free: 9.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002691/0.5177, allocations: 0.804 MB / 0.5056 GB, free: 8.973 MB / 382.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.0004954/0.5182, allocations: 313.2 kB / 0.5059 GB, free: 8.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004371/0.5226, allocations: 2.364 MB / 0.5082 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5226, allocations: 0 / 0.5082 GB, free: 6.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.5249, allocations: 1.398 MB / 0.5095 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/0.5279, allocations: 257.9 kB / 0.5098 GB, free: 4.586 MB / 382.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.007441/0.5354, allocations: 4.8 MB / 0.5145 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.5365, allocations: 1.49 MB / 0.5159 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0015/0.5381, allocations: 290.7 kB / 0.5162 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.5385, allocations: 143.4 kB / 0.5163 GB, free: 13.79 MB / 398.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5385, allocations: 0 / 0.5163 GB, free: 13.79 MB / 398.1 MB Notification: Performance of Templates: time 0.04454/0.583, allocations: 23.38 MB / 0.5392 GB, free: 6.516 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 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)