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.00382/0.00382, allocations: 104 kB / 15.88 MB, free: 6.285 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.0009662/0.0009663, allocations: 196 kB / 16.8 MB, free: 6.223 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.196/1.196, allocations: 205.1 MB / 222.7 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05655/0.05655, allocations: 14.16 MB / 284.1 MB, free: 7.289 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.00129/0.00129, allocations: 70.72 kB / 347.8 MB, free: 17.09 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07381/0.07512, allocations: 50.13 MB / 397.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01549/0.09065, allocations: 19 MB / 416.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.1022, allocations: 7.663 MB / 424.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003116/0.1054, allocations: 51.81 kB / 424.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.1086, allocations: 0.8711 MB / 425.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008582/0.1172, allocations: 3.009 MB / 428.5 MB, free: 248 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1536/0.2709, allocations: 0.7286 MB / 429.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.2777, allocations: 5.743 MB / 435 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007749/0.2784, allocations: 348 kB / 435.3 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002646/0.2811, allocations: 1.48 MB / 436.8 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003169/0.2843, allocations: 1.633 MB / 438.4 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006192/0.2849, allocations: 88.94 kB / 438.5 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002577/0.2875, allocations: 0.5271 MB / 439.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000538/0.2881, allocations: 364.5 kB / 439.4 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002245/0.2903, allocations: 1.457 MB / 440.9 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003561/0.2939, allocations: 3.612 MB / 444.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2939, allocations: 3.688 kB / 444.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.2939, allocations: 3.938 kB / 444.5 MB, free: 13.54 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.921e-05/0.294, allocations: 0 / 444.5 MB, free: 13.54 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.01201/0.306, allocations: 4.249 MB / 448.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.306, allocations: 9.016 kB / 448.7 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.3077, allocations: 461.3 kB / 449.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002366/0.3101, allocations: 1.659 MB / 450.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.363e-05/0.3102, allocations: 161.4 kB / 451 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.3104, allocations: 215.4 kB / 451.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3131, allocations: 2.149 MB / 453.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.389e-05/0.3131, allocations: 2.625 kB / 453.4 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.3133, allocations: 88.72 kB / 453.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/0.3133, allocations: 53.03 kB / 453.5 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002816/0.3162, allocations: 2.17 MB / 455.7 MB, free: 8.363 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.0116/0.3278, allocations: 13.96 MB / 469.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004032/0.3318, allocations: 3.118 MB / 472.8 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/0.3329, allocations: 0.7949 MB / 473.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001119/0.333, allocations: 29.91 kB / 473.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/0.333, allocations: 56.55 kB / 473.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 3.967e-06/0.333, allocations: 0 / 473.6 MB, free: 5.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.00765/0.3407, allocations: 3.46 MB / 477.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3408, allocations: 77.41 kB / 477.2 MB, free: 2.113 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.3425, allocations: 1.521 MB / 478.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.671e-05/0.3426, allocations: 63.02 kB / 478.8 MB, free: 492 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006774/0.3433, allocations: 1.073 MB / 479.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005667/0.3438, allocations: 0.7377 MB / 480.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005542/0.3444, allocations: 432.8 kB / 481 MB, free: 14.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.3445, allocations: 309.1 kB / 481.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000992/0.3455, allocations: 0.6571 MB / 482 MB, free: 13.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/0.3468, allocations: 1.214 MB / 483.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002477/0.3493, allocations: 2.023 MB / 485.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-06/0.3493, allocations: 4 kB / 485.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.00448/0.3538, allocations: 2.689 MB / 487.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.3539, allocations: 16 kB / 487.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.3539, allocations: 16 kB / 487.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.3556, allocations: 0.5376 MB / 488.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.3576, allocations: 0.5734 MB / 489 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.3656, allocations: 6.962 MB / 496 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.3676, allocations: 214.1 kB / 496.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.3678, allocations: 100 kB / 496.3 MB, free: 14.01 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.0007625/0.3686, allocations: 477.2 kB / 496.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.3689, allocations: 233.3 kB / 497 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/0.3724, allocations: 2.156 MB / 499.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.3724, allocations: 20 kB / 499.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3724, allocations: 0 / 499.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.3725, allocations: 11.95 kB / 499.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006579/0.379, allocations: 4.898 MB / 0.4923 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.776e-06/0.3791, allocations: 4.531 kB / 0.4923 GB, free: 6.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001461/0.3805, allocations: 395.5 kB / 0.4926 GB, free: 5.621 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.3821, allocations: 0.503 MB / 0.4931 GB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.105e-05/0.3822, allocations: 36.62 kB / 0.4932 GB, free: 5.074 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007466/0.3897, allocations: 6.86 MB / 0.4999 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.3897, allocations: 11.94 kB / 0.4999 GB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005452/0.3952, allocations: 3.948 MB / 0.5037 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008347/0.396, allocations: 461.9 kB / 0.5042 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.3963, allocations: 44 kB / 0.5042 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.3974, allocations: 75.59 kB / 0.5043 GB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.3976, allocations: 157.6 kB / 0.5044 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.418e-05/0.3977, allocations: 52 kB / 0.5045 GB, free: 8.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001205/0.3989, allocations: 0.9881 MB / 0.5054 GB, free: 7.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3989, allocations: 0 / 0.5054 GB, free: 7.934 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002281/0.4012, allocations: 0.8082 MB / 0.5062 GB, free: 7.125 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.0003975/0.4016, allocations: 306 kB / 0.5065 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003515/0.4052, allocations: 2.364 MB / 0.5088 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4052, allocations: 0 / 0.5088 GB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001878/0.4071, allocations: 1.394 MB / 0.5102 GB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.4086, allocations: 254 kB / 0.5104 GB, free: 2.738 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.006763/0.4154, allocations: 5.775 MB / 0.5161 GB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.4165, allocations: 1.549 MB / 0.5176 GB, free: 11.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001366/0.4178, allocations: 288.5 kB / 0.5179 GB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.4182, allocations: 143.4 kB / 0.518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.094e-06/0.4182, allocations: 0 / 0.518 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Templates: time 0.03685/0.455, allocations: 23.75 MB / 0.5412 GB, free: 3.25 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=50 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)