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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 221.8 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 97.95 kB / 269.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06048/0.06048, allocations: 14.18 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 51.92 kB / 394.4 MB, free: 62.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07394/0.07527, allocations: 50.14 MB / 444.5 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01356/0.08886, allocations: 19 MB / 463.5 MB, free: 8.895 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01194/0.1008, allocations: 7.671 MB / 471.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.1036, allocations: 51.81 kB / 471.2 MB, free: 1.148 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.1065, allocations: 0.8633 MB / 472.1 MB, free: 288 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008779/0.1153, allocations: 2.998 MB / 475.1 MB, free: 13.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.1173, allocations: 0.7468 MB / 475.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007695/0.125, allocations: 5.79 MB / 481.6 MB, free: 6.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008884/0.1259, allocations: 350.9 kB / 482 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.1287, allocations: 1.496 MB / 483.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002934/0.1316, allocations: 1.637 MB / 485.1 MB, free: 3.242 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000558/0.1322, allocations: 88 kB / 485.2 MB, free: 3.156 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002479/0.1347, allocations: 0.5231 MB / 485.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003501/0.135, allocations: 357.7 kB / 486.1 MB, free: 2.281 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001871/0.1369, allocations: 1.468 MB / 487.5 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1729/0.3098, allocations: 3.597 MB / 491.1 MB, free: 22.99 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.3099, allocations: 0 / 491.1 MB, free: 22.99 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.3099, allocations: 0 / 491.1 MB, free: 22.99 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.321e-05/0.31, allocations: 0.5469 kB / 491.1 MB, free: 22.99 MB / 330.7 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.0138/0.3238, allocations: 4.258 MB / 495.4 MB, free: 21.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3238, allocations: 9.594 kB / 495.4 MB, free: 21.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002028/0.3258, allocations: 455.3 kB / 495.8 MB, free: 21.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/0.3295, allocations: 1.657 MB / 497.5 MB, free: 20.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.3297, allocations: 162.3 kB / 497.7 MB, free: 20.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.33, allocations: 209.2 kB / 497.9 MB, free: 20.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003963/0.334, allocations: 2.158 MB / 0.4883 GB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.334, allocations: 3.188 kB / 0.4883 GB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.3342, allocations: 88.66 kB / 0.4884 GB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.402e-05/0.3343, allocations: 53.44 kB / 0.4884 GB, free: 20.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003184/0.3374, allocations: 2.176 MB / 0.4906 GB, free: 20.59 MB / 330.7 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.01331/0.3508, allocations: 13.97 MB / 0.5042 GB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/0.355, allocations: 3.113 MB / 0.5072 GB, free: 7.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/0.3562, allocations: 0.7998 MB / 0.508 GB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.3564, allocations: 32.25 kB / 0.5081 GB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/0.3564, allocations: 56.59 kB / 0.5081 GB, free: 6.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=217): time 4.419e-06/0.3565, allocations: 4 kB / 0.5081 GB, free: 6.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=217): time 0.008214/0.3647, allocations: 3.452 MB / 0.5115 GB, free: 4.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3647, allocations: 80.19 kB / 0.5116 GB, free: 4.801 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/0.3666, allocations: 1.522 MB / 0.5131 GB, free: 3.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.64e-05/0.3667, allocations: 57.58 kB / 0.5131 GB, free: 3.875 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005086/0.3672, allocations: 1.072 MB / 0.5142 GB, free: 2.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005527/0.3677, allocations: 0.7547 MB / 0.5149 GB, free: 2.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005173/0.3683, allocations: 433.7 kB / 0.5153 GB, free: 2.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.742e-05/0.3683, allocations: 305.1 kB / 0.5156 GB, free: 1.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008817/0.3692, allocations: 0.6604 MB / 0.5162 GB, free: 1.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3704, allocations: 1.214 MB / 0.5174 GB, free: 372 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00266/0.373, allocations: 2.022 MB / 0.5194 GB, free: 14.26 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.3731, allocations: 4 kB / 0.5194 GB, free: 14.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.004982/0.3781, allocations: 2.68 MB / 0.522 GB, free: 11.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3781, allocations: 12 kB / 0.522 GB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.3781, allocations: 16 kB / 0.522 GB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/0.38, allocations: 0.5418 MB / 0.5226 GB, free: 11.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.3822, allocations: 0.5791 MB / 0.5231 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009333/0.3915, allocations: 6.959 MB / 0.5299 GB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/0.3948, allocations: 210.2 kB / 0.5301 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.395, allocations: 99.98 kB / 0.5302 GB, free: 2.922 MB / 346.7 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.001262/0.3963, allocations: 482.1 kB / 0.5307 GB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.3968, allocations: 229.3 kB / 0.5309 GB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/0.4009, allocations: 2.158 MB / 0.533 GB, free: 92 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4009, allocations: 20 kB / 0.533 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4009, allocations: 0 / 0.533 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.058e-05/0.4009, allocations: 11.95 kB / 0.533 GB, free: 60 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008244/0.4092, allocations: 4.894 MB / 0.5378 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4092, allocations: 4 kB / 0.5378 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.4109, allocations: 397.6 kB / 0.5382 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001708/0.4126, allocations: 0.5037 MB / 0.5387 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-05/0.4127, allocations: 40 kB / 0.5387 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008109/0.4208, allocations: 6.853 MB / 0.5454 GB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.4208, allocations: 6.906 kB / 0.5454 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006504/0.4274, allocations: 3.957 MB / 0.5493 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001314/0.4287, allocations: 461.9 kB / 0.5497 GB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002615/0.429, allocations: 40 kB / 0.5498 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4302, allocations: 81.02 kB / 0.5499 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/0.4306, allocations: 148.6 kB / 0.55 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.4307, allocations: 59.94 kB / 0.5501 GB, free: 14.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001464/0.4322, allocations: 0.9881 MB / 0.551 GB, free: 13.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4322, allocations: 0 / 0.551 GB, free: 13.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002573/0.4347, allocations: 0.8121 MB / 0.5518 GB, free: 12.24 MB / 378.7 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.0004309/0.4352, allocations: 284.7 kB / 0.5521 GB, free: 11.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003977/0.4392, allocations: 2.363 MB / 0.5544 GB, free: 9.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.4392, allocations: 8.125 kB / 0.5544 GB, free: 9.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002107/0.4413, allocations: 1.381 MB / 0.5558 GB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001717/0.443, allocations: 254 kB / 0.556 GB, free: 8.02 MB / 378.7 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.008089/0.4511, allocations: 5.788 MB / 0.5616 GB, free: 2.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.4525, allocations: 1.549 MB / 0.5632 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001532/0.454, allocations: 296.6 kB / 0.5634 GB, free: 312 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003902/0.4544, allocations: 143.4 kB / 0.5636 GB, free: 168 kB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4544, allocations: 0 / 0.5636 GB, free: 168 kB / 378.7 MB Notification: Performance of Templates: time 0.04985/0.5043, allocations: 24.94 MB / 0.5879 GB, free: 7.383 MB / 410.7 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)