Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004777/0.004777, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.18/1.18, allocations: 223.2 MB / 239 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008898, allocations: 101.9 kB / 290.2 MB, free: 13.9 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4058/0.4058, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 12 kB / 499.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3006, allocations: 69.35 MB / 0.5557 GB, free: 38.76 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.4046, allocations: 100.3 MB / 0.6537 GB, free: 6.066 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.4049, allocations: 83.94 kB / 0.6538 GB, free: 5.984 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.164/0.5689, allocations: 69.53 MB / 0.7217 GB, free: 76 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/0.5689, allocations: 4 kB / 0.7217 GB, free: 72 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001552/0.5691, allocations: 59.94 kB / 0.7217 GB, free: 12 kB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.01166/0.5808, allocations: 4.621 MB / 0.7262 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.5808, allocations: 12.03 kB / 0.7262 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008799/0.5896, allocations: 1.611 MB / 0.7278 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003276/0.5929, allocations: 1.709 MB / 0.7295 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005776/0.5935, allocations: 0.7447 MB / 0.7302 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003421/0.5939, allocations: 204 kB / 0.7304 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005566/0.5994, allocations: 3.2 MB / 0.7335 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.5995, allocations: 0 / 0.7335 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.5997, allocations: 91.94 kB / 0.7336 GB, free: 3.469 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.5998, allocations: 52 kB / 0.7337 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00535/0.6051, allocations: 2.975 MB / 0.7366 GB, free: 436 kB / 0.5261 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 preOpt removeSimpleEquations (simulation): time 0.01585/0.621, allocations: 9.912 MB / 0.7463 GB, free: 6.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.6314, allocations: 4.865 MB / 0.751 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.6316, allocations: 49.94 kB / 0.7511 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004094/0.6357, allocations: 2.412 MB / 0.7534 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=248): time 3.878e-06/0.6357, allocations: 0 / 0.7534 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of matching and sorting (n=248): time 0.3122/0.9479, allocations: 30.89 MB / 0.7836 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.218e-05/0.948, allocations: 188.8 kB / 0.7838 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.9507, allocations: 1.917 MB / 0.7856 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005564/0.9513, allocations: 64.8 kB / 0.7857 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007388/0.952, allocations: 1.191 MB / 0.7869 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/0.9529, allocations: 0.8519 MB / 0.7877 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.9531, allocations: 51.59 kB / 0.7877 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.9532, allocations: 397.3 kB / 0.7881 GB, free: 117.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/0.9565, allocations: 1.878 MB / 0.7899 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003582/0.9601, allocations: 2.196 MB / 0.7921 GB, free: 117 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003725/0.9639, allocations: 2.109 MB / 0.7941 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.9639, allocations: 6 kB / 0.7942 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=316) (initialization): time 0.04027/1.004, allocations: 14.46 MB / 0.8083 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.528e-05/1.004, allocations: 119.4 kB / 0.8084 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/1.004, allocations: 6.156 kB / 0.8084 GB, free: 115.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01783/1.022, allocations: 6.439 MB / 0.8147 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00218/1.024, allocations: 417.2 kB / 0.8151 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05325/1.078, allocations: 26.46 MB / 0.8409 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/1.082, allocations: 0.5359 MB / 0.8414 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003566/1.082, allocations: 97.89 kB / 0.8415 GB, free: 108.9 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order4_1.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(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 (226): * Single equations (assignments): 221 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {65 26} Notification: Performance of prepare postOptimizeDAE: time 0.001187/1.083, allocations: 0.5049 MB / 0.842 GB, free: 108.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005599/1.084, allocations: 300.4 kB / 0.8423 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03638/1.12, allocations: 14.74 MB / 0.8567 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/1.12, allocations: 24 kB / 0.8567 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/1.12, allocations: 23.95 kB / 0.8568 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/1.12, allocations: 13.36 kB / 0.8568 GB, free: 102.1 MB / 0.5573 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.04213/1.162, allocations: 18.28 MB / 0.8746 GB, free: 88.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.902e-05/1.162, allocations: 0 / 0.8746 GB, free: 88.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/1.164, allocations: 249.3 kB / 0.8749 GB, free: 87.88 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01642/1.181, allocations: 6.198 MB / 0.8809 GB, free: 83.07 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006046/1.181, allocations: 51.75 kB / 0.881 GB, free: 83.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05/1.231, allocations: 26.9 MB / 0.9072 GB, free: 59.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.231, allocations: 4 kB / 0.9072 GB, free: 59.25 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04125/1.273, allocations: 17.32 MB / 0.9241 GB, free: 41.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009329/1.274, allocations: 420.8 kB / 0.9246 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008689/1.274, allocations: 51.94 kB / 0.9246 GB, free: 41.35 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002757/1.277, allocations: 411.6 kB / 0.925 GB, free: 40.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00181/1.279, allocations: 0.5722 MB / 0.9256 GB, free: 40.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001896/1.279, allocations: 67.98 kB / 0.9256 GB, free: 40.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001836/1.281, allocations: 1.484 MB / 0.9271 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.4e-07/1.281, allocations: 0 / 0.9271 GB, free: 38.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002671/1.284, allocations: 1.108 MB / 0.9281 GB, free: 37.72 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order4_1.delta,order4_1.w,order4_1.e1q,order4_1.e1d,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 (157): * Single equations (assignments): 152 * 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 {(63,8.1%) 25} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/1.284, allocations: 187.1 kB / 0.9283 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.299, allocations: 7.049 MB / 0.9352 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.299, allocations: 0 / 0.9352 GB, free: 30.41 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01094/1.31, allocations: 5.054 MB / 0.9401 GB, free: 25.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/1.311, allocations: 228.1 kB / 0.9404 GB, free: 25.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007348/1.319, allocations: 6.458 MB / 0.9467 GB, free: 18.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008876/1.32, allocations: 1.868 MB / 0.9485 GB, free: 16.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008308/1.32, allocations: 212.8 kB / 0.9487 GB, free: 16.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/1.321, allocations: 139.4 kB / 0.9488 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of SimCode: time 5.21e-07/1.321, allocations: 0 / 0.9488 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of Templates: time 0.2749/1.596, allocations: 55.3 MB / 1.003 GB, free: 141.9 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)