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.00108/0.00108, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 179.7 kB / 16.92 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 223.1 MB, free: 5.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06094/0.06094, allocations: 14.16 MB / 285.6 MB, free: 7.27 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.0005731/0.0005734, allocations: 16 kB / 350.2 MB, free: 16.81 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1439, allocations: 51.11 MB / 401.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.03195/0.1759, allocations: 18.24 MB / 419.5 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0162/0.1921, allocations: 7.547 MB / 427.1 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00459/0.1967, allocations: 55.81 kB / 427.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004389/0.2012, allocations: 0.8672 MB / 428 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2786/0.4799, allocations: 2.977 MB / 431 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003248/0.4831, allocations: 0.7216 MB / 431.7 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01472/0.4979, allocations: 5.741 MB / 437.4 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.4999, allocations: 355.5 kB / 437.8 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005384/0.5053, allocations: 1.459 MB / 439.2 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00508/0.5104, allocations: 1.609 MB / 440.8 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001087/0.5115, allocations: 83.22 kB / 440.9 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004637/0.5162, allocations: 0.5218 MB / 441.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009287/0.5171, allocations: 345 kB / 441.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003982/0.5211, allocations: 1.47 MB / 443.2 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004272/0.5254, allocations: 2.819 MB / 446.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5254, allocations: 0 / 446.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5254, allocations: 0 / 446.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.18e-05/0.5255, allocations: 0 / 446.1 MB, free: 13.36 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.01405/0.5396, allocations: 3.765 MB / 449.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5396, allocations: 9.281 kB / 449.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003175/0.5428, allocations: 458.7 kB / 450.3 MB, free: 11.87 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004442/0.5473, allocations: 1.659 MB / 451.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.5475, allocations: 162.5 kB / 452.1 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003821/0.5479, allocations: 209.8 kB / 452.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.5515, allocations: 2.148 MB / 454.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.5516, allocations: 1.156 kB / 454.5 MB, free: 9.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.5518, allocations: 90.38 kB / 454.5 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.947e-05/0.5518, allocations: 53.72 kB / 454.6 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.5555, allocations: 2.18 MB / 456.8 MB, free: 8.777 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.01598/0.5714, allocations: 13.97 MB / 470.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004609/0.5761, allocations: 3.123 MB / 473.9 MB, free: 7.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001199/0.5773, allocations: 0.8065 MB / 474.7 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.5774, allocations: 29.98 kB / 474.7 MB, free: 6.438 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.5775, allocations: 52.56 kB / 474.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.158e-06/0.5775, allocations: 0 / 474.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.00897/0.5865, allocations: 3.476 MB / 478.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.5865, allocations: 73.41 kB / 478.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.589, allocations: 1.521 MB / 479.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.5891, allocations: 57.7 kB / 479.9 MB, free: 1.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008752/0.59, allocations: 1.076 MB / 481 MB, free: 40 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008113/0.5908, allocations: 0.7494 MB / 481.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002477/0.5911, allocations: 194.9 kB / 481.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5912, allocations: 305.1 kB / 482.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.5923, allocations: 0.6571 MB / 482.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.594, allocations: 1.218 MB / 484.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002893/0.5969, allocations: 2.026 MB / 486.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.5969, allocations: 4 kB / 486.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005389/0.6023, allocations: 2.68 MB / 488.8 MB, free: 7.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.227e-05/0.6024, allocations: 15.94 kB / 488.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.6024, allocations: 19.94 kB / 488.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.6043, allocations: 0.5378 MB / 489.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.6065, allocations: 0.5773 MB / 489.9 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00974/0.6163, allocations: 6.954 MB / 496.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003348/0.6196, allocations: 210.4 kB / 497.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004285/0.6201, allocations: 99.88 kB / 497.2 MB, free: 14.88 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.001817/0.6219, allocations: 481.1 kB / 497.7 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009938/0.6229, allocations: 241.2 kB / 497.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004931/0.6279, allocations: 2.144 MB / 0.4883 GB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.962e-05/0.6279, allocations: 20 kB / 0.4883 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.6279, allocations: 4 kB / 0.4883 GB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.628, allocations: 15.89 kB / 0.4884 GB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/0.6382, allocations: 4.897 MB / 0.4931 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/0.6382, allocations: 4 kB / 0.4931 GB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001691/0.6399, allocations: 391.7 kB / 0.4935 GB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.6418, allocations: 0.5107 MB / 0.494 GB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.642, allocations: 44 kB / 0.4941 GB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009665/0.6517, allocations: 6.857 MB / 0.5008 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.6517, allocations: 4 kB / 0.5008 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005401/0.6571, allocations: 2.307 MB / 0.503 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00173/0.6589, allocations: 458 kB / 0.5034 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007493/0.6597, allocations: 40 kB / 0.5035 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001938/0.6616, allocations: 79.58 kB / 0.5036 GB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003475/0.662, allocations: 149.7 kB / 0.5037 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-05/0.6621, allocations: 52 kB / 0.5038 GB, free: 11.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00221/0.6643, allocations: 0.9881 MB / 0.5047 GB, free: 10.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.486e-06/0.6643, allocations: 0 / 0.5047 GB, free: 10.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00388/0.6682, allocations: 0.808 MB / 0.5055 GB, free: 9.68 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.0006429/0.6689, allocations: 313.5 kB / 0.5058 GB, free: 9.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004857/0.6737, allocations: 2.36 MB / 0.5081 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.6737, allocations: 448 / 0.5081 GB, free: 6.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002516/0.6763, allocations: 1.394 MB / 0.5095 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/0.6802, allocations: 253.8 kB / 0.5097 GB, free: 5.297 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.009595/0.6898, allocations: 4.848 MB / 0.5145 GB, free: 400 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002038/0.6919, allocations: 1.49 MB / 0.5159 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007686/0.6927, allocations: 159.4 kB / 0.5161 GB, free: 14.71 MB / 398.1 MB Notification: Performance of SimCode: time 1.653e-06/0.6927, allocations: 0 / 0.5161 GB, free: 14.71 MB / 398.1 MB Notification: Performance of Templates: time 0.08715/0.7798, allocations: 57.32 MB / 0.572 GB, free: 5.309 MB / 446.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)