Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_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.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 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.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00494/0.00494, 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.198/1.198, allocations: 223.2 MB / 239 MB, free: 16 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008765, allocations: 101 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4345/0.4345, allocations: 79.44 MB / 420.8 MB, free: 36.28 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003482, allocations: 8 kB / 0.489 GB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1311, allocations: 69.52 MB / 0.5569 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.5031, allocations: 100.2 MB / 0.6547 GB, free: 1.109 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.5033, allocations: 85.17 kB / 0.6548 GB, free: 1.027 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1752/0.6786, allocations: 70.24 MB / 0.7234 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6786, allocations: 0 / 0.7234 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002669/0.6789, allocations: 59.94 kB / 0.7235 GB, free: 10.58 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01398/0.6929, allocations: 4.63 MB / 0.728 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6929, allocations: 13.19 kB / 0.728 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/0.7026, allocations: 1.611 MB / 0.7296 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004077/0.7067, allocations: 1.689 MB / 0.7312 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007241/0.7075, allocations: 0.7487 MB / 0.732 GB, free: 1.609 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007258/0.7082, allocations: 211.9 kB / 0.7322 GB, free: 1.402 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006655/0.7149, allocations: 3.203 MB / 0.7353 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.7149, allocations: 4 kB / 0.7353 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002927/0.7152, allocations: 80 kB / 0.7354 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.7153, allocations: 48 kB / 0.7354 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005827/0.7211, allocations: 2.979 MB / 0.7383 GB, free: 10.99 MB / 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.01756/0.7387, allocations: 9.904 MB / 0.748 GB, free: 0.6719 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.7498, allocations: 4.854 MB / 0.7527 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002583/0.7501, allocations: 37.88 kB / 0.7528 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004558/0.7547, allocations: 2.414 MB / 0.7551 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=247): time 5.029e-06/0.7547, allocations: 0 / 0.7551 GB, free: 9.207 MB / 0.5417 GB Notification: Performance of matching and sorting (n=247): time 0.1174/0.8721, allocations: 33.27 MB / 0.7876 GB, free: 7.816 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.906e-05/0.8722, allocations: 184.2 kB / 0.7878 GB, free: 7.602 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003481/0.8757, allocations: 1.932 MB / 0.7897 GB, free: 5.656 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.000574/0.8763, allocations: 69.7 kB / 0.7897 GB, free: 5.582 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.8772, allocations: 1.204 MB / 0.7909 GB, free: 4.367 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009188/0.8781, allocations: 0.8508 MB / 0.7917 GB, free: 3.504 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.8783, allocations: 52 kB / 0.7918 GB, free: 3.453 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.8785, allocations: 398.9 kB / 0.7922 GB, free: 3.059 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.8822, allocations: 1.879 MB / 0.794 GB, free: 1.176 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2289/1.111, allocations: 2.18 MB / 0.7961 GB, free: 121.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004245/1.115, allocations: 2.098 MB / 0.7982 GB, free: 121.7 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/1.115, allocations: 1.281 kB / 0.7982 GB, free: 121.7 MB / 0.573 GB Notification: Performance of matching and sorting (n=314) (initialization): time 0.04107/1.157, allocations: 14.46 MB / 0.8123 GB, free: 121.4 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.156e-05/1.157, allocations: 115.8 kB / 0.8124 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/1.157, allocations: 6.312 kB / 0.8124 GB, free: 121.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01863/1.175, allocations: 6.369 MB / 0.8187 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002272/1.178, allocations: 417.8 kB / 0.8191 GB, free: 121.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0577/1.235, allocations: 26.5 MB / 0.8449 GB, free: 118.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.239, allocations: 0.5378 MB / 0.8455 GB, free: 118.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000317/1.24, allocations: 91.42 kB / 0.8455 GB, free: 118.7 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 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 order3_1.e1q:VARIABLE(start = order3_1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_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 (224): * Single equations (assignments): 219 * 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 {64 27} Notification: Performance of prepare postOptimizeDAE: time 0.001289/1.241, allocations: 0.499 MB / 0.846 GB, free: 118.5 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000567/1.242, allocations: 300.9 kB / 0.8463 GB, free: 118.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.039/1.281, allocations: 14.74 MB / 0.8607 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/1.281, allocations: 29.61 kB / 0.8607 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/1.281, allocations: 20.12 kB / 0.8608 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-05/1.281, allocations: 14.59 kB / 0.8608 GB, free: 116.3 MB / 0.573 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.04152/1.322, allocations: 18.26 MB / 0.8786 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.322, allocations: 7.766 kB / 0.8786 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.324, allocations: 245.4 kB / 0.8788 GB, free: 111.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01614/1.34, allocations: 6.233 MB / 0.8849 GB, free: 110.6 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004507/1.34, allocations: 51.42 kB / 0.885 GB, free: 110.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04974/1.39, allocations: 26.9 MB / 0.9113 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.39, allocations: 3.562 kB / 0.9113 GB, free: 88.16 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04178/1.432, allocations: 17.32 MB / 0.9282 GB, free: 74.13 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009448/1.433, allocations: 418.7 kB / 0.9286 GB, free: 73.76 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006115/1.434, allocations: 44 kB / 0.9286 GB, free: 73.72 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002822/1.436, allocations: 411.9 kB / 0.929 GB, free: 73.41 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00186/1.438, allocations: 0.5827 MB / 0.9296 GB, free: 73.09 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001906/1.438, allocations: 64.92 kB / 0.9296 GB, free: 73.04 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001889/1.44, allocations: 1.497 MB / 0.9311 GB, free: 71.78 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/1.44, allocations: 0 / 0.9311 GB, free: 71.78 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002649/1.443, allocations: 1.108 MB / 0.9322 GB, free: 70.71 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,order3_1.delta,order3_1.w,order3_1.e1q,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 (156): * Single equations (assignments): 151 * 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 {(64,8.0%) 24} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003585/1.443, allocations: 195 kB / 0.9324 GB, free: 70.53 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01544/1.459, allocations: 7.03 MB / 0.9392 GB, free: 64.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.459, allocations: 0 / 0.9392 GB, free: 64.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01205/1.471, allocations: 5.065 MB / 0.9442 GB, free: 60.02 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001788/1.473, allocations: 226.2 kB / 0.9444 GB, free: 59.82 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007954/1.481, allocations: 6.373 MB / 0.9506 GB, free: 53.91 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009868/1.482, allocations: 1.868 MB / 0.9524 GB, free: 52.46 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00111/1.483, allocations: 217.5 kB / 0.9526 GB, free: 52.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/1.483, allocations: 135.2 kB / 0.9528 GB, free: 52.19 MB / 0.573 GB Notification: Performance of SimCode: time 1.032e-06/1.483, allocations: 0 / 0.9528 GB, free: 52.19 MB / 0.573 GB Notification: Performance of Templates: time 0.06738/1.551, allocations: 55.37 MB / 1.007 GB, free: 15.16 MB / 0.5886 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)