Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.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/Modelica 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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") translateModel(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001162, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 223.3 MB / 239.4 MB, free: 5.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 172.5 kB / 290.6 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.59/0.59, allocations: 91.92 MB / 433.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005613, allocations: 8 kB / 0.5047 GB, free: 7.289 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5103, allocations: 72.47 MB / 0.5755 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT): time 0.01046/0.5208, allocations: 14.22 MB / 0.5894 GB, free: 26.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009707/0.5306, allocations: 4.193 MB / 0.5935 GB, free: 23.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.5338, allocations: 26.03 kB / 0.5935 GB, free: 23.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.5359, allocations: 0.5346 MB / 0.594 GB, free: 23.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005595/0.5415, allocations: 1.386 MB / 0.5954 GB, free: 22.5 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002863/0.5443, allocations: 1.178 MB / 0.5965 GB, free: 21.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006633/0.551, allocations: 3.832 MB / 0.6003 GB, free: 19.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.5523, allocations: 0.6672 MB / 0.6009 GB, free: 19.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003402/0.5557, allocations: 1.398 MB / 0.6023 GB, free: 18.95 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.5583, allocations: 1.887 MB / 0.6042 GB, free: 18.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004743/0.5588, allocations: 167.9 kB / 0.6043 GB, free: 18.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001152/0.56, allocations: 314.6 kB / 0.6046 GB, free: 18.06 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005909/0.5606, allocations: 0.6356 MB / 0.6052 GB, free: 17.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001662/0.5623, allocations: 1.561 MB / 0.6068 GB, free: 16.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006466/0.5687, allocations: 4.281 MB / 0.6109 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.5688, allocations: 0 / 0.6109 GB, free: 15.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.5688, allocations: 0 / 0.6109 GB, free: 15.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001967/0.569, allocations: 0 / 0.6109 GB, free: 15.2 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.0251/0.5941, allocations: 5.301 MB / 0.6161 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.5942, allocations: 9.969 kB / 0.6161 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01548/0.6097, allocations: 2.063 MB / 0.6181 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/0.6163, allocations: 2.03 MB / 0.6201 GB, free: 11.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006329/0.617, allocations: 456.2 kB / 0.6206 GB, free: 11.04 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006291/0.6176, allocations: 193.8 kB / 0.6207 GB, free: 10.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006613/0.6242, allocations: 2.416 MB / 0.6231 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/0.6243, allocations: 0 / 0.6231 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002384/0.6245, allocations: 79.34 kB / 0.6232 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/0.6246, allocations: 47.16 kB / 0.6232 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005561/0.6302, allocations: 2.435 MB / 0.6256 GB, free: 8.918 MB / 430.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.02054/0.6507, allocations: 9.842 MB / 0.6352 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.6618, allocations: 4.766 MB / 0.6399 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003998/0.6658, allocations: 1.724 MB / 0.6415 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002327/0.6661, allocations: 37.95 kB / 0.6416 GB, free: 9.195 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.6661, allocations: 60.44 kB / 0.6416 GB, free: 9.125 MB / 446.1 MB Notification: Performance of pre-optimization done (n=223): time 4.048e-06/0.6661, allocations: 0 / 0.6416 GB, free: 9.125 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.1077/0.7738, allocations: 23.3 MB / 0.6644 GB, free: 1.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.774, allocations: 73.41 kB / 0.6645 GB, free: 1.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008051/0.7821, allocations: 2.694 MB / 0.6671 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001199/0.7833, allocations: 73.7 kB / 0.6672 GB, free: 14.89 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001532/0.7849, allocations: 1.161 MB / 0.6683 GB, free: 13.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002233/0.7871, allocations: 0.8089 MB / 0.6691 GB, free: 12.9 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008676/0.788, allocations: 308.7 kB / 0.6694 GB, free: 12.59 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7882, allocations: 305.1 kB / 0.6697 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006374/0.7945, allocations: 1.904 MB / 0.6715 GB, free: 10.39 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006847/0.8014, allocations: 2.272 MB / 0.6738 GB, free: 8.031 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07091/0.8723, allocations: 13.93 MB / 0.6874 GB, free: 9.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.8724, allocations: 0 / 0.6874 GB, free: 9.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=429) (initialization): time 0.02534/0.8978, allocations: 8.273 MB / 0.6954 GB, free: 1.621 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.8979, allocations: 10.34 kB / 0.6955 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.001e-05/0.8979, allocations: 8 kB / 0.6955 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01466/0.9126, allocations: 3.684 MB / 0.6991 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009495/0.9221, allocations: 1.803 MB / 0.7008 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02951/0.9517, allocations: 16.28 MB / 0.7167 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/0.9583, allocations: 457.1 kB / 0.7172 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009155/0.9593, allocations: 123.9 kB / 0.7173 GB, free: 10.54 MB / 0.5137 GB Warning: Assuming fixed start value for the following 8 variables: g4.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g3.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g2.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real g1.order6_1.delta:VARIABLE(flow=false start = g1.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g1.order6_1.e1d:VARIABLE(start = g1.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real g2.order6_1.delta:VARIABLE(flow=false start = g2.order6_1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real g2.order6_1.e1d:VARIABLE(start = g2.order6_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (361): * Single equations (assignments): 347 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 9 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,2,75.0%), (4,2,75.0%), (1,1,100.0%), (3,17,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,22)} Notification: Performance of prepare postOptimizeDAE: time 0.00174/0.961, allocations: 0.4973 MB / 0.7178 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/0.9621, allocations: 304.2 kB / 0.718 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02859/0.9907, allocations: 9.673 MB / 0.7275 GB, free: 36 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.9908, allocations: 20 kB / 0.7275 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9908, allocations: 0 / 0.7275 GB, free: 16 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.643e-05/0.9909, allocations: 11.95 kB / 0.7275 GB, free: 4 kB / 0.5137 GB 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 postOpt removeSimpleEquations (simulation): time 0.03842/1.029, allocations: 13.68 MB / 0.7409 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.029, allocations: 8 kB / 0.7409 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.031, allocations: 223.7 kB / 0.7411 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01497/1.046, allocations: 4.695 MB / 0.7457 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008247/1.047, allocations: 47.98 kB / 0.7457 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04121/1.089, allocations: 16.74 MB / 0.7621 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.089, allocations: 0 / 0.7621 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03478/1.123, allocations: 11.8 MB / 0.7736 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3744/1.498, allocations: 463.1 kB / 0.7741 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002234/1.5, allocations: 46.12 kB / 0.7741 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004535/1.505, allocations: 228.2 kB / 0.7743 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001829/1.506, allocations: 374.9 kB / 0.7747 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.507, allocations: 54.66 kB / 0.7747 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003892/1.511, allocations: 1.782 MB / 0.7765 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.511, allocations: 0.9375 kB / 0.7765 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005207/1.516, allocations: 1.09 MB / 0.7775 GB, free: 164.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 24 (g1.order6_1.delta,g1.order6_1.w,g1.order6_1.e1q,g1.order6_1.e1d,g1.order6_1.e2q,g1.order6_1.e2d,g2.order6_1.delta,g2.order6_1.w,g2.order6_1.e1q,g2.order6_1.e1d,g2.order6_1.e2q,g2.order6_1.e2d,g3.order6_1.delta,g3.order6_1.w,g3.order6_1.e1q,g3.order6_1.e1d,g3.order6_1.e2q,g3.order6_1.e2d,g4.order6_1.delta,g4.order6_1.w,g4.order6_1.e1q,g4.order6_1.e1d,g4.order6_1.e2q,g4.order6_1.e2d) * 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 (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(54,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004473/1.516, allocations: 165.6 kB / 0.7777 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01505/1.531, allocations: 6.8 MB / 0.7843 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.531, allocations: 0 / 0.7843 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01194/1.543, allocations: 3.688 MB / 0.7879 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/1.546, allocations: 228.5 kB / 0.7881 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/1.558, allocations: 7.061 MB / 0.795 GB, free: 157.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/1.56, allocations: 1.762 MB / 0.7968 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001963/1.562, allocations: 252.6 kB / 0.797 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/1.563, allocations: 159.4 kB / 0.7972 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of SimCode: time 1.603e-06/1.563, allocations: 3.938 kB / 0.7972 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.1005/1.663, allocations: 50.84 MB / 0.8468 GB, free: 124.1 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.sim & ./OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.TwoAreas.Two_Areas_PSAT.pipe 2>&1)