Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.494/1.494, allocations: 223.3 MB / 239 MB, free: 5.613 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.00139/0.00139, allocations: 184.5 kB / 290.3 MB, free: 2.312 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4906/0.4906, allocations: 78.55 MB / 419.9 MB, free: 4.359 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 8 kB / 499.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1395, allocations: 69.36 MB / 0.5558 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII): time 0.2502/0.3897, allocations: 12.97 MB / 0.5685 GB, free: 35.59 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.007607/0.3974, allocations: 3.49 MB / 0.5719 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002689/0.4001, allocations: 30.03 kB / 0.5719 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4014, allocations: 399.5 kB / 0.5723 GB, free: 32.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003962/0.4054, allocations: 1.203 MB / 0.5735 GB, free: 32.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002862/0.4083, allocations: 1.289 MB / 0.5747 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003987/0.4123, allocations: 3.41 MB / 0.578 GB, free: 29.76 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.4134, allocations: 0.6952 MB / 0.5787 GB, free: 29.47 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.4155, allocations: 1.329 MB / 0.58 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001699/0.4172, allocations: 1.759 MB / 0.5817 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.4175, allocations: 145.8 kB / 0.5819 GB, free: 28.11 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000688/0.4182, allocations: 280.2 kB / 0.5821 GB, free: 28.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004062/0.4186, allocations: 0.6036 MB / 0.5827 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005169/0.4191, allocations: 0.5284 MB / 0.5833 GB, free: 27.39 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002065/0.4212, allocations: 2.993 MB / 0.5862 GB, free: 26.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4212, allocations: 3.938 kB / 0.5862 GB, free: 26.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4212, allocations: 3.234 kB / 0.5862 GB, free: 26.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.066e-05/0.4213, allocations: 0 / 0.5862 GB, free: 26.46 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.01989/0.4412, allocations: 6.256 MB / 0.5923 GB, free: 24.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4412, allocations: 8.719 kB / 0.5923 GB, free: 24.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01465/0.4559, allocations: 2.301 MB / 0.5945 GB, free: 23.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00419/0.4601, allocations: 1.806 MB / 0.5963 GB, free: 22.69 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006522/0.4608, allocations: 0.7539 MB / 0.597 GB, free: 22.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004052/0.4612, allocations: 225.7 kB / 0.5973 GB, free: 21.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00667/0.4679, allocations: 3.231 MB / 0.6004 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.4679, allocations: 0.9844 kB / 0.6004 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.4682, allocations: 86.14 kB / 0.6005 GB, free: 20.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.4682, allocations: 52.98 kB / 0.6006 GB, free: 20.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006051/0.4743, allocations: 2.99 MB / 0.6035 GB, free: 19.73 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.01875/0.4931, allocations: 10.21 MB / 0.6134 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.5038, allocations: 4.9 MB / 0.6182 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004416/0.5083, allocations: 2.176 MB / 0.6203 GB, free: 11.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003531/0.5086, allocations: 43.42 kB / 0.6204 GB, free: 11.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004305/0.513, allocations: 2.443 MB / 0.6228 GB, free: 9.148 MB / 430.1 MB Notification: Performance of pre-optimization done (n=250): time 5.26e-06/0.513, allocations: 0 / 0.6228 GB, free: 9.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=250): time 0.115/0.628, allocations: 35.36 MB / 0.6573 GB, free: 5.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.6281, allocations: 180.2 kB / 0.6575 GB, free: 5.449 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003816/0.632, allocations: 2.317 MB / 0.6597 GB, free: 3.113 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000805/0.6328, allocations: 73.7 kB / 0.6598 GB, free: 3.035 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001023/0.6338, allocations: 1.176 MB / 0.661 GB, free: 1.848 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.6349, allocations: 0.8819 MB / 0.6618 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002402/0.6351, allocations: 68 kB / 0.6619 GB, free: 0.8867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.6354, allocations: 429 kB / 0.6623 GB, free: 472 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004353/0.6397, allocations: 2.173 MB / 0.6644 GB, free: 14.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/0.6442, allocations: 2.545 MB / 0.6669 GB, free: 11.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004427/0.6487, allocations: 2.444 MB / 0.6693 GB, free: 9.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.494e-06/0.6487, allocations: 0 / 0.6693 GB, free: 9.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.04042/0.6891, allocations: 15.32 MB / 0.6843 GB, free: 9.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.6893, allocations: 111.8 kB / 0.6844 GB, free: 9.641 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.6893, allocations: 15.94 kB / 0.6844 GB, free: 9.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01917/0.7085, allocations: 6.49 MB / 0.6907 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/0.7115, allocations: 0.5674 MB / 0.6913 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06116/0.7727, allocations: 26.53 MB / 0.7172 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00477/0.7775, allocations: 0.587 MB / 0.7178 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008013/0.7783, allocations: 124 kB / 0.7179 GB, free: 7.066 MB / 0.5137 GB Warning: Assuming fixed start value for the following 6 variables: Exc2.firstOrder2.y:VARIABLE(flow=false start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(flow=false start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" fixed = true ) "d-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 328 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001433/0.7797, allocations: 0.5296 MB / 0.7184 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/0.7805, allocations: 312.2 kB / 0.7187 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03998/0.8205, allocations: 14.77 MB / 0.7331 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-05/0.8206, allocations: 28 kB / 0.7331 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-05/0.8206, allocations: 20 kB / 0.7332 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.104e-05/0.8207, allocations: 11.95 kB / 0.7332 GB, free: 7.285 MB / 0.5294 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.04819/0.8689, allocations: 18.42 MB / 0.7512 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/0.869, allocations: 3.953 kB / 0.7512 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/0.8707, allocations: 251.6 kB / 0.7514 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01815/0.8889, allocations: 6.269 MB / 0.7575 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009713/0.8899, allocations: 47.98 kB / 0.7576 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3144/1.204, allocations: 25.5 MB / 0.7825 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/1.204, allocations: 3.875 kB / 0.7825 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04581/1.25, allocations: 17.36 MB / 0.7994 GB, free: 163.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001562/1.252, allocations: 418.1 kB / 0.7998 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.253, allocations: 49.08 kB / 0.7999 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/1.256, allocations: 406.4 kB / 0.8003 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002775/1.259, allocations: 0.5795 MB / 0.8008 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/1.259, allocations: 65.5 kB / 0.8009 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002975/1.262, allocations: 1.522 MB / 0.8024 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.01e-07/1.262, allocations: 0 / 0.8024 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005238/1.268, allocations: 1.2 MB / 0.8035 GB, free: 163 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,Syn2.e1d,Syn2.e2q,Syn2.e2d,Exc1.ExcitationSystem.x_scaled[1],Exc1.derivativeBlock.x,Exc1.firstOrder2.y,Exc1.simpleLagLim.state,Exc2.ExcitationSystem.x_scaled[1],Exc2.derivativeBlock.x,Exc2.firstOrder2.y,Exc2.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (159): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 2 * 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 {(66,7.7%) 22} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005583/1.268, allocations: 172.3 kB / 0.8037 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01978/1.288, allocations: 7.7 MB / 0.8112 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/1.288, allocations: 0 / 0.8112 GB, free: 160.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01354/1.302, allocations: 5.117 MB / 0.8162 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.305, allocations: 263.2 kB / 0.8165 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/1.314, allocations: 6.488 MB / 0.8228 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0011/1.315, allocations: 1.822 MB / 0.8246 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001254/1.316, allocations: 258.9 kB / 0.8248 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005605/1.317, allocations: 165.2 kB / 0.825 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of SimCode: time 8.82e-07/1.317, allocations: 0 / 0.825 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.07428/1.391, allocations: 57.41 MB / 0.8811 GB, free: 99.82 MB / 0.5606 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.makefile Environment - environmentSimulation: (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.SixthOrder_AVRII.pipe 2>&1) Environment - environmentSimulation: