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.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 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_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.001065/0.001065, allocations: 96.66 kB / 15.7 MB, free: 472 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.001317/0.001317, allocations: 179.2 kB / 16.58 MB, free: 6.395 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.523/1.523, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.06125/0.06125, allocations: 14.16 MB / 285.2 MB, free: 7.148 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.0005334/0.0005333, allocations: 20 kB / 349.4 MB, free: 17.24 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 51.11 MB / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow): time 0.01294/0.1137, allocations: 15.35 MB / 415.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.1257, allocations: 7.094 MB / 423 MB, free: 7.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.1291, allocations: 55.75 kB / 423.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002803/0.132, allocations: 0.7226 MB / 423.8 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009633/0.1416, allocations: 2.858 MB / 426.6 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.1437, allocations: 0.6502 MB / 427.3 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2221/0.3659, allocations: 4.102 MB / 431.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001254/0.3672, allocations: 337.4 kB / 431.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004655/0.3718, allocations: 1.528 MB / 433.3 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003913/0.3758, allocations: 1.503 MB / 434.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004056/0.3762, allocations: 78.66 kB / 434.8 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002679/0.3789, allocations: 0.5113 MB / 435.3 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.3792, allocations: 333.4 kB / 435.7 MB, free: 13.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.3805, allocations: 0.5665 MB / 436.2 MB, free: 13.44 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005641/0.3861, allocations: 2.77 MB / 439 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3862, allocations: 0 / 439 MB, free: 13.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3862, allocations: 0 / 439 MB, free: 13.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002177/0.3864, allocations: 0 / 439 MB, free: 13.2 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.01528/0.4017, allocations: 3.793 MB / 442.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.4018, allocations: 8.875 kB / 442.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002798/0.4046, allocations: 457 kB / 443.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/0.4093, allocations: 1.604 MB / 444.9 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.4095, allocations: 161 kB / 445 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.41, allocations: 211.8 kB / 445.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00412/0.4141, allocations: 2.111 MB / 447.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.4142, allocations: 1.844 kB / 447.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.4143, allocations: 93.28 kB / 447.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-05/0.4144, allocations: 54.78 kB / 447.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003949/0.4184, allocations: 2.158 MB / 449.6 MB, free: 10.92 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.01415/0.4325, allocations: 14.08 MB / 463.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003947/0.4365, allocations: 3.104 MB / 466.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.4366, allocations: 34.97 kB / 466.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.952e-05/0.4367, allocations: 54.97 kB / 466.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=217): time 4.208e-06/0.4367, allocations: 0 / 466.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=217): time 0.008007/0.4447, allocations: 3.409 MB / 470.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.4448, allocations: 78.98 kB / 470.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.447, allocations: 1.515 MB / 471.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.4471, allocations: 57.02 kB / 472 MB, free: 11.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000744/0.4478, allocations: 1.068 MB / 473 MB, free: 11.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007397/0.4486, allocations: 0.7484 MB / 473.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.271e-05/0.4487, allocations: 51.75 kB / 473.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4489, allocations: 403.1 kB / 474.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009859/0.4498, allocations: 0.6449 MB / 474.9 MB, free: 9.852 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.4512, allocations: 1.197 MB / 476.1 MB, free: 8.586 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001412/0.4526, allocations: 0.8527 MB / 476.9 MB, free: 7.727 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.4527, allocations: 9.031 kB / 476.9 MB, free: 7.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=326) (initialization): time 0.005095/0.4578, allocations: 2.663 MB / 479.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4578, allocations: 12 kB / 479.6 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.545e-05/0.4579, allocations: 23.73 kB / 479.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/0.4597, allocations: 0.5276 MB / 480.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.462, allocations: 0.581 MB / 480.7 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009358/0.4714, allocations: 7.095 MB / 487.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/0.475, allocations: 210.3 kB / 488 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004613/0.4754, allocations: 96.36 kB / 488.1 MB, free: 12.28 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.001881/0.4773, allocations: 475.5 kB / 488.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009354/0.4783, allocations: 237.2 kB / 488.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004581/0.4829, allocations: 2.144 MB / 491 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.4829, allocations: 27.89 kB / 491 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.4829, allocations: 0 / 491 MB, free: 9.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.357e-05/0.483, allocations: 11.95 kB / 491 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009902/0.4929, allocations: 4.878 MB / 495.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.4929, allocations: 4 kB / 495.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.4946, allocations: 398.2 kB / 496.3 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.4963, allocations: 0.4931 MB / 496.8 MB, free: 3.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001443/0.4965, allocations: 47.98 kB / 496.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009054/0.5055, allocations: 6.984 MB / 0.492 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/0.5056, allocations: 4 kB / 0.492 GB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00731/0.5129, allocations: 4.214 MB / 0.4961 GB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/0.5145, allocations: 465.9 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007853/0.5153, allocations: 36 kB / 0.4966 GB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.5173, allocations: 82.48 kB / 0.4967 GB, free: 7.098 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003432/0.5177, allocations: 153.1 kB / 0.4968 GB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.906e-05/0.5178, allocations: 52 kB / 0.4969 GB, free: 6.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002027/0.5198, allocations: 0.9725 MB / 0.4978 GB, free: 5.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5198, allocations: 0 / 0.4978 GB, free: 5.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005136/0.525, allocations: 0.8042 MB / 0.4986 GB, free: 5.102 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.0009415/0.526, allocations: 303.5 kB / 0.4989 GB, free: 4.828 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005285/0.5313, allocations: 2.349 MB / 0.5012 GB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.5313, allocations: 0 / 0.5012 GB, free: 2.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002942/0.5343, allocations: 1.391 MB / 0.5025 GB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.5371, allocations: 222 kB / 0.5028 GB, free: 0.8945 MB / 366.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.01215/0.5493, allocations: 5.335 MB / 0.508 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002628/0.5519, allocations: 1.596 MB / 0.5095 GB, free: 9.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002327/0.5543, allocations: 291.6 kB / 0.5098 GB, free: 9.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008146/0.5551, allocations: 147.4 kB / 0.5099 GB, free: 9.438 MB / 382.1 MB Notification: Performance of SimCode: time 2.505e-06/0.5552, allocations: 0 / 0.5099 GB, free: 9.438 MB / 382.1 MB Notification: Performance of Templates: time 0.06002/0.6152, allocations: 22.83 MB / 0.5322 GB, free: 2.719 MB / 398.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.makefile Environment - environmentSimulation: (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 -outputFormat=mat -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Examples.Tutorial.IslandOperation.PowerFlow.pipe 2>&1) Environment - environmentSimulation: