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.001409/0.001409, allocations: 109.8 kB / 16.28 MB, free: 5.941 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.00158/0.00158, allocations: 189.5 kB / 17.2 MB, free: 5.578 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.388/1.388, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06324/0.06323, allocations: 14.16 MB / 284.6 MB, free: 13.93 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.001586/0.001586, allocations: 71.91 kB / 348.6 MB, free: 13.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2438, allocations: 50.13 MB / 398.7 MB, free: 48.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01206/0.2559, allocations: 18.62 MB / 417.3 MB, free: 32.68 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.2661, allocations: 7.612 MB / 424.9 MB, free: 25.05 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003178/0.2693, allocations: 51.81 kB / 425 MB, free: 25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00235/0.2717, allocations: 1.01 MB / 426 MB, free: 23.98 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007171/0.2789, allocations: 3.25 MB / 429.2 MB, free: 20.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001494/0.2804, allocations: 0.7704 MB / 430 MB, free: 19.99 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005154/0.2856, allocations: 5.692 MB / 435.7 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005468/0.2861, allocations: 374.5 kB / 436 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002216/0.2884, allocations: 1.891 MB / 437.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.2901, allocations: 2.019 MB / 440 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.2904, allocations: 200 kB / 440.2 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.2919, allocations: 0.7185 MB / 440.9 MB, free: 9.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.2922, allocations: 0.4976 MB / 441.4 MB, free: 8.559 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00113/0.2933, allocations: 1.675 MB / 443 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002889/0.2962, allocations: 3.976 MB / 447 MB, free: 2.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.2962, allocations: 0 / 447 MB, free: 2.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2963, allocations: 4 kB / 447 MB, free: 2.883 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.05e-05/0.2963, allocations: 0 / 447 MB, free: 2.883 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.01368/0.31, allocations: 4.5 MB / 451.5 MB, free: 14.31 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.31, allocations: 8.031 kB / 451.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002044/0.3121, allocations: 461.1 kB / 452 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.3155, allocations: 1.744 MB / 453.7 MB, free: 12.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.3156, allocations: 164.8 kB / 453.9 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002812/0.3159, allocations: 211.9 kB / 454.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003339/0.3192, allocations: 2.149 MB / 456.2 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.3193, allocations: 4 kB / 456.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001657/0.3194, allocations: 92 kB / 456.3 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/0.3195, allocations: 55.98 kB / 456.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.3227, allocations: 2.168 MB / 458.6 MB, free: 7.09 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.02131/0.344, allocations: 15.25 MB / 473.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/0.3487, allocations: 3.133 MB / 476.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.3499, allocations: 0.795 MB / 477.7 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.35, allocations: 29.98 kB / 477.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.3501, allocations: 56.56 kB / 477.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of pre-optimization done (n=217): time 5.099e-06/0.3501, allocations: 0 / 477.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.008597/0.3587, allocations: 3.453 MB / 481.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.3588, allocations: 73.41 kB / 481.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.3616, allocations: 1.689 MB / 483 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.3617, allocations: 57.7 kB / 483.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/0.3626, allocations: 1.062 MB / 484.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008643/0.3635, allocations: 0.7508 MB / 484.9 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006579/0.3641, allocations: 432.8 kB / 485.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.3642, allocations: 309.1 kB / 485.6 MB, free: 9.922 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.3654, allocations: 0.6571 MB / 486.3 MB, free: 9.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3669, allocations: 1.218 MB / 487.5 MB, free: 7.812 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.3701, allocations: 2.02 MB / 489.5 MB, free: 5.539 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.3701, allocations: 4 kB / 489.5 MB, free: 5.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005573/0.3757, allocations: 2.685 MB / 492.2 MB, free: 2.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.3757, allocations: 16.03 kB / 492.2 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.088e-05/0.3758, allocations: 19.98 kB / 492.3 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.3777, allocations: 0.5372 MB / 492.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.38, allocations: 0.5734 MB / 493.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009802/0.3898, allocations: 7.71 MB / 0.4893 GB, free: 9.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003027/0.3928, allocations: 182.6 kB / 0.4895 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003022/0.3932, allocations: 99.98 kB / 0.4896 GB, free: 9.254 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.001168/0.3943, allocations: 489 kB / 0.4901 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007965/0.3951, allocations: 237.2 kB / 0.4903 GB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004143/0.3993, allocations: 2.152 MB / 0.4924 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.3993, allocations: 20 kB / 0.4924 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.377e-06/0.3994, allocations: 4 kB / 0.4924 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.3994, allocations: 8.062 kB / 0.4924 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008473/0.4079, allocations: 5.267 MB / 0.4976 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.4079, allocations: 4 kB / 0.4976 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.4095, allocations: 392 kB / 0.4979 GB, free: 456 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001724/0.4112, allocations: 0.5061 MB / 0.4984 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.4114, allocations: 40 kB / 0.4985 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009187/0.4206, allocations: 7.573 MB / 0.5059 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.585e-06/0.4206, allocations: 11.92 kB / 0.5059 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007124/0.4277, allocations: 4.181 MB / 0.51 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/0.4293, allocations: 0.5058 MB / 0.5105 GB, free: 3.051 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/0.4298, allocations: 43.94 kB / 0.5105 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001869/0.4317, allocations: 63.92 kB / 0.5106 GB, free: 2.945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002983/0.432, allocations: 149.7 kB / 0.5107 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/0.4321, allocations: 56 kB / 0.5108 GB, free: 2.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001929/0.4341, allocations: 1.109 MB / 0.5118 GB, free: 1.613 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4341, allocations: 3.938 kB / 0.5118 GB, free: 1.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003355/0.4374, allocations: 0.8939 MB / 0.5127 GB, free: 0.7148 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.0004622/0.4379, allocations: 280.5 kB / 0.513 GB, free: 440 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 initialization part: time 0.006439/0.4443, allocations: 2.456 MB / 0.5154 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.4444, allocations: 0 / 0.5154 GB, free: 13.93 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.002235/0.4466, allocations: 1.398 MB / 0.5167 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003191/0.4498, allocations: 331.6 kB / 0.5171 GB, free: 12.17 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.008808/0.4586, allocations: 4.72 MB / 0.5217 GB, free: 7.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00158/0.4602, allocations: 1.55 MB / 0.5232 GB, free: 5.773 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00179/0.462, allocations: 308.9 kB / 0.5235 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006756/0.4627, allocations: 159.4 kB / 0.5236 GB, free: 5.312 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4627, allocations: 4 kB / 0.5236 GB, free: 5.309 MB / 414.1 MB Notification: Performance of Templates: time 0.2181/0.6809, allocations: 30.36 MB / 0.5533 GB, free: 110.1 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)