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.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001458/0.001458, allocations: 198.2 kB / 16.14 MB, free: 6.66 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.45/1.45, allocations: 205.1 MB / 222 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06236/0.06236, allocations: 14.16 MB / 283.5 MB, free: 7.293 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.001391/0.001391, allocations: 74.39 kB / 347.1 MB, free: 17.11 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08664/0.08804, allocations: 50.13 MB / 397.3 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01595/0.104, allocations: 19 MB / 416.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01173/0.1158, allocations: 7.656 MB / 423.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.1185, allocations: 55.75 kB / 424 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002644/0.1212, allocations: 0.8711 MB / 424.8 MB, free: 3.246 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008551/0.1298, allocations: 3.012 MB / 427.9 MB, free: 264 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1632/0.293, allocations: 0.7234 MB / 428.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008192/0.3012, allocations: 5.745 MB / 434.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.3021, allocations: 351.7 kB / 434.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.3057, allocations: 1.484 MB / 436.1 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003693/0.3094, allocations: 1.623 MB / 437.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007232/0.3101, allocations: 90.84 kB / 437.9 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.3133, allocations: 0.5323 MB / 438.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007141/0.314, allocations: 363.5 kB / 438.7 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003837/0.3179, allocations: 1.463 MB / 440.2 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006573/0.3245, allocations: 3.605 MB / 443.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.3245, allocations: 0 / 443.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3245, allocations: 1.375 kB / 443.8 MB, free: 14.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001499/0.3247, allocations: 0 / 443.8 MB, free: 14.07 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.01681/0.3415, allocations: 4.256 MB / 448.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.3416, allocations: 10.12 kB / 448.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002592/0.3442, allocations: 462.1 kB / 448.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.3481, allocations: 1.652 MB / 450.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.3482, allocations: 163.9 kB / 450.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.3487, allocations: 213.9 kB / 450.6 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.3521, allocations: 2.147 MB / 452.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.834e-05/0.3522, allocations: 0 / 452.7 MB, free: 9.727 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.3523, allocations: 87.91 kB / 452.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.3524, allocations: 53.22 kB / 452.8 MB, free: 9.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003259/0.3556, allocations: 2.175 MB / 455 MB, free: 8.602 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.01536/0.371, allocations: 13.97 MB / 469 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00482/0.3759, allocations: 3.121 MB / 472.1 MB, free: 6.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.3772, allocations: 0.7988 MB / 472.9 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.3774, allocations: 29.91 kB / 472.9 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.3774, allocations: 52.56 kB / 473 MB, free: 5.91 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.048e-06/0.3775, allocations: 0 / 473 MB, free: 5.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008883/0.3863, allocations: 3.461 MB / 476.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.3864, allocations: 74.72 kB / 476.5 MB, free: 2.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.3888, allocations: 1.521 MB / 478 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001678/0.389, allocations: 61.7 kB / 478.1 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008831/0.3899, allocations: 1.068 MB / 479.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009369/0.3908, allocations: 0.7481 MB / 479.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/0.3916, allocations: 436.8 kB / 480.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.3917, allocations: 309.1 kB / 480.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.3933, allocations: 0.661 MB / 481.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.3951, allocations: 1.21 MB / 482.5 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003112/0.3982, allocations: 2.028 MB / 484.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.089e-05/0.3982, allocations: 4 kB / 484.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005583/0.4038, allocations: 2.681 MB / 487.2 MB, free: 6.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.4039, allocations: 19.97 kB / 487.2 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/0.4039, allocations: 16 kB / 487.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001891/0.4058, allocations: 0.5358 MB / 487.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002365/0.4082, allocations: 0.5734 MB / 488.4 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009258/0.4175, allocations: 6.964 MB / 495.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/0.4202, allocations: 210.2 kB / 495.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003288/0.4205, allocations: 95.98 kB / 495.6 MB, free: 14.19 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.001197/0.4217, allocations: 485.1 kB / 496.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006421/0.4224, allocations: 233.2 kB / 496.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004286/0.4267, allocations: 2.152 MB / 498.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.807e-05/0.4267, allocations: 20 kB / 498.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.4267, allocations: 0 / 498.5 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.548e-05/0.4268, allocations: 7.969 kB / 498.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009294/0.4361, allocations: 4.894 MB / 0.4916 GB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-05/0.4361, allocations: 12.52 kB / 0.4916 GB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.4378, allocations: 395.5 kB / 0.492 GB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.4397, allocations: 0.5064 MB / 0.4925 GB, free: 5.281 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.4399, allocations: 43.98 kB / 0.4925 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00863/0.4486, allocations: 6.86 MB / 0.4992 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4486, allocations: 4 kB / 0.4992 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004682/0.4533, allocations: 2.299 MB / 0.5015 GB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/0.4549, allocations: 454 kB / 0.5019 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007222/0.4557, allocations: 44.08 kB / 0.502 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/0.4575, allocations: 79.47 kB / 0.502 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004609/0.458, allocations: 153.7 kB / 0.5022 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001246/0.4581, allocations: 56 kB / 0.5022 GB, free: 10.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001978/0.4601, allocations: 0.9842 MB / 0.5032 GB, free: 9.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4601, allocations: 3.938 kB / 0.5032 GB, free: 9.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003141/0.4633, allocations: 0.8043 MB / 0.504 GB, free: 8.992 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.0005452/0.4638, allocations: 298.9 kB / 0.5043 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004345/0.4682, allocations: 2.367 MB / 0.5066 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.4682, allocations: 0 / 0.5066 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.4706, allocations: 1.387 MB / 0.5079 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.4728, allocations: 266.6 kB / 0.5082 GB, free: 4.609 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.007813/0.4806, allocations: 4.769 MB / 0.5128 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001426/0.482, allocations: 1.486 MB / 0.5143 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001587/0.4837, allocations: 291.2 kB / 0.5146 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004375/0.4841, allocations: 143.4 kB / 0.5147 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4841, allocations: 0 / 0.5147 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.04376/0.5279, allocations: 23.73 MB / 0.5379 GB, free: 6.211 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)