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.001483/0.001483, allocations: 100.9 kB / 16.64 MB, free: 6.371 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.002087/0.002087, allocations: 187 kB / 17.56 MB, free: 5.816 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.544/1.544, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06199/0.06199, allocations: 14.16 MB / 284.9 MB, free: 14.11 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.001725/0.001725, allocations: 63.91 kB / 348.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2912, allocations: 50.12 MB / 398.8 MB, free: 48.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01364/0.3049, allocations: 19 MB / 417.8 MB, free: 32.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.3163, allocations: 7.667 MB / 425.4 MB, free: 24.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003766/0.3202, allocations: 51.81 kB / 425.5 MB, free: 24.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00245/0.3227, allocations: 0.8711 MB / 426.4 MB, free: 23.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007475/0.3302, allocations: 2.972 MB / 429.3 MB, free: 20.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.3316, allocations: 0.7196 MB / 430 MB, free: 20.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006119/0.3377, allocations: 6.016 MB / 436.1 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005536/0.3383, allocations: 378.4 kB / 436.4 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.3403, allocations: 1.692 MB / 438.1 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.3417, allocations: 1.762 MB / 439.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001909/0.3419, allocations: 152 kB / 440 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001542/0.3435, allocations: 0.6793 MB / 440.7 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002286/0.3437, allocations: 417.7 kB / 441.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001129/0.3448, allocations: 1.59 MB / 442.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.3475, allocations: 2.993 MB / 445.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3475, allocations: 0 / 445.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3475, allocations: 0 / 445.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.659e-05/0.3475, allocations: 0 / 445.7 MB, free: 4.508 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.01184/0.3594, allocations: 4.286 MB / 450 MB, free: 156 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3594, allocations: 8.031 kB / 450 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.3613, allocations: 457.2 kB / 450.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.3644, allocations: 1.654 MB / 452.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.3645, allocations: 164.8 kB / 452.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.3648, allocations: 211.9 kB / 452.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003559/0.3683, allocations: 2.145 MB / 454.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.941e-05/0.3684, allocations: 0 / 454.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.3686, allocations: 92 kB / 454.7 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.3686, allocations: 52 kB / 454.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.3722, allocations: 2.179 MB / 456.9 MB, free: 9.023 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.01567/0.3878, allocations: 13.97 MB / 470.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004544/0.3924, allocations: 3.133 MB / 474 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.3936, allocations: 0.791 MB / 474.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.3937, allocations: 33.97 kB / 474.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.3938, allocations: 60.56 kB / 474.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 4.849e-06/0.3938, allocations: 0 / 474.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008687/0.4025, allocations: 3.453 MB / 478.4 MB, free: 1.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.4026, allocations: 77.39 kB / 478.4 MB, free: 1.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002174/0.4047, allocations: 1.517 MB / 480 MB, free: 15.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.4048, allocations: 61.7 kB / 480 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008938/0.4057, allocations: 1.066 MB / 481.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007571/0.4065, allocations: 0.7508 MB / 481.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006372/0.4072, allocations: 436.8 kB / 482.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.4073, allocations: 305.1 kB / 482.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.4084, allocations: 0.6571 MB / 483.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001564/0.4099, allocations: 1.218 MB / 484.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/0.4127, allocations: 2.02 MB / 486.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4128, allocations: 8 kB / 486.5 MB, free: 8.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005469/0.4182, allocations: 2.677 MB / 489.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.4183, allocations: 12 kB / 489.1 MB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.4183, allocations: 20 kB / 489.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.4202, allocations: 0.5388 MB / 489.7 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.4224, allocations: 0.5773 MB / 490.3 MB, free: 5.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/0.4323, allocations: 7.615 MB / 497.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.435, allocations: 218.1 kB / 498.1 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.4352, allocations: 92 kB / 498.2 MB, free: 12.71 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.001167/0.4364, allocations: 491.4 kB / 498.7 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004787/0.4369, allocations: 237.3 kB / 498.9 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.4409, allocations: 2.152 MB / 0.4893 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.4409, allocations: 20 kB / 0.4893 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.4409, allocations: 0 / 0.4893 GB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.4409, allocations: 11.95 kB / 0.4894 GB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007825/0.4488, allocations: 4.896 MB / 0.4941 GB, free: 4.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.266e-05/0.4488, allocations: 4.109 kB / 0.4941 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/0.4504, allocations: 392 kB / 0.4945 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001688/0.4521, allocations: 0.5145 MB / 0.495 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.4522, allocations: 44 kB / 0.4951 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008582/0.4608, allocations: 7.499 MB / 0.5024 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.4608, allocations: 11.94 kB / 0.5024 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/0.4674, allocations: 4.181 MB / 0.5065 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.4686, allocations: 465.9 kB / 0.5069 GB, free: 7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002632/0.4689, allocations: 43.88 kB / 0.507 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.4701, allocations: 83.59 kB / 0.507 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002912/0.4704, allocations: 149.8 kB / 0.5072 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.794e-05/0.4705, allocations: 59.98 kB / 0.5072 GB, free: 6.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.4718, allocations: 0.9842 MB / 0.5082 GB, free: 5.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4718, allocations: 0 / 0.5082 GB, free: 5.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002666/0.4745, allocations: 0.8081 MB / 0.509 GB, free: 4.855 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.0004465/0.475, allocations: 276.6 kB / 0.5093 GB, free: 4.574 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.006013/0.481, allocations: 2.46 MB / 0.5117 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.481, allocations: 0 / 0.5117 GB, free: 2.07 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 simulation system equations: time 0.002074/0.4831, allocations: 1.402 MB / 0.513 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00171/0.4848, allocations: 264.5 kB / 0.5133 GB, free: 384 kB / 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 linear, non-linear and system jacobian parts: time 0.008043/0.4929, allocations: 5.836 MB / 0.519 GB, free: 10.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/0.494, allocations: 1.549 MB / 0.5205 GB, free: 8.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/0.4946, allocations: 163.4 kB / 0.5206 GB, free: 8.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4946, allocations: 0 / 0.5206 GB, free: 8.691 MB / 414.1 MB Notification: Performance of Templates: time 0.2804/0.775, allocations: 57.63 MB / 0.5769 GB, free: 83.81 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=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)