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) 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.0009857/0.0009857, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001158/0.001158, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 222.1 MB, free: 5.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06569/0.06569, allocations: 14.15 MB / 284.5 MB, free: 7.023 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.0005661/0.0005662, allocations: 12 kB / 348.8 MB, free: 17.21 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1136, allocations: 51.11 MB / 399.9 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01625/0.1298, allocations: 17.08 MB / 417 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01468/0.1446, allocations: 7.138 MB / 424.2 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003749/0.1484, allocations: 51.81 kB / 424.2 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.152, allocations: 0.7226 MB / 424.9 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009971/0.162, allocations: 2.62 MB / 427.6 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002409/0.1644, allocations: 0.6498 MB / 428.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1992/0.3637, allocations: 5.479 MB / 433.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.3648, allocations: 337 kB / 434 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003797/0.3686, allocations: 1.43 MB / 435.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003851/0.3724, allocations: 1.55 MB / 437 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005123/0.373, allocations: 81.53 kB / 437.1 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.376, allocations: 0.5094 MB / 437.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.3764, allocations: 330.7 kB / 437.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001678/0.3781, allocations: 0.5683 MB / 438.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006503/0.3846, allocations: 2.797 MB / 441.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.3847, allocations: 0 / 441.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.564e-06/0.3847, allocations: 0.9688 kB / 441.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001101/0.3848, allocations: 0 / 441.3 MB, free: 13.78 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.01437/0.3992, allocations: 3.796 MB / 445.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.3992, allocations: 13.61 kB / 445.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002883/0.4021, allocations: 458 kB / 445.5 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004222/0.4064, allocations: 1.603 MB / 447.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.4065, allocations: 163.9 kB / 447.3 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002954/0.4068, allocations: 211.2 kB / 447.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004393/0.4112, allocations: 2.128 MB / 449.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.067e-05/0.4113, allocations: 6.172 kB / 449.6 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.4115, allocations: 95.08 kB / 449.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.4115, allocations: 56.03 kB / 449.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.4148, allocations: 2.153 MB / 451.9 MB, free: 11.25 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.013/0.4278, allocations: 13.97 MB / 465.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004037/0.4319, allocations: 3.104 MB / 469 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.433, allocations: 0.7897 MB / 469.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.4331, allocations: 25.83 kB / 469.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.4332, allocations: 54.56 kB / 469.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.378e-06/0.4332, allocations: 2.516 kB / 469.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008481/0.4417, allocations: 3.478 MB / 473.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.4418, allocations: 73.41 kB / 473.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.4441, allocations: 1.513 MB / 474.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.4442, allocations: 65.64 kB / 475 MB, free: 9.641 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009109/0.4451, allocations: 1.069 MB / 476.1 MB, free: 8.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008441/0.446, allocations: 0.7503 MB / 476.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.4461, allocations: 52 kB / 476.9 MB, free: 7.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002269/0.4463, allocations: 399.1 kB / 477.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.4475, allocations: 0.6454 MB / 477.9 MB, free: 6.727 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.449, allocations: 1.203 MB / 479.1 MB, free: 5.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.4505, allocations: 0.8574 MB / 480 MB, free: 4.414 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.4505, allocations: 8 kB / 480 MB, free: 4.406 MB / 334.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005185/0.4557, allocations: 2.657 MB / 482.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.4558, allocations: 12 kB / 482.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.4558, allocations: 16 kB / 482.7 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001738/0.4576, allocations: 0.5444 MB / 483.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.4598, allocations: 0.5773 MB / 483.8 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009034/0.4688, allocations: 6.95 MB / 490.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.472, allocations: 210.3 kB / 490.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/0.4724, allocations: 96 kB / 491 MB, free: 8.914 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {4 26,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.001346/0.4737, allocations: 477.2 kB / 491.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006977/0.4744, allocations: 233.2 kB / 491.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/0.4786, allocations: 2.143 MB / 493.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.4786, allocations: 23.95 kB / 493.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.4786, allocations: 0 / 493.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/0.4787, allocations: 11.95 kB / 493.9 MB, free: 6.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00833/0.487, allocations: 4.876 MB / 498.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.4871, allocations: 4 kB / 498.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001553/0.4886, allocations: 395.8 kB / 499.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.4902, allocations: 0.5052 MB / 499.7 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/0.4903, allocations: 36 kB / 499.7 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008426/0.4987, allocations: 6.843 MB / 0.4947 GB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.4988, allocations: 11.94 kB / 0.4947 GB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/0.5031, allocations: 2.288 MB / 0.4969 GB, free: 6.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.5044, allocations: 462 kB / 0.4974 GB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.5047, allocations: 46.83 kB / 0.4974 GB, free: 5.887 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.5058, allocations: 83.52 kB / 0.4975 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.5061, allocations: 145.7 kB / 0.4976 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-05/0.5062, allocations: 56 kB / 0.4977 GB, free: 5.605 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00146/0.5076, allocations: 0.9724 MB / 0.4986 GB, free: 4.609 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5077, allocations: 4.094 kB / 0.4986 GB, free: 4.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00263/0.5103, allocations: 0.8081 MB / 0.4994 GB, free: 3.797 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 10,4 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004967/0.5108, allocations: 288.2 kB / 0.4997 GB, free: 3.516 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003811/0.5146, allocations: 2.344 MB / 0.502 GB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5146, allocations: 0.5 kB / 0.502 GB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001964/0.5166, allocations: 1.389 MB / 0.5033 GB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.5184, allocations: 249.9 kB / 0.5036 GB, free: 15.46 MB / 382.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006876/0.5253, allocations: 4.559 MB / 0.508 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.5264, allocations: 1.49 MB / 0.5095 GB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001451/0.5279, allocations: 291.8 kB / 0.5098 GB, free: 9.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003723/0.5283, allocations: 143.4 kB / 0.5099 GB, free: 8.934 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5283, allocations: 0 / 0.5099 GB, free: 8.934 MB / 382.1 MB Notification: Performance of Templates: time 0.04275/0.571, allocations: 22.86 MB / 0.5322 GB, free: 2.188 MB / 398.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 -outputFormat=mat -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1)