Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 229.6 MB, free: 7.516 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.0008465/0.0008464, allocations: 103 kB / 280.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4737/0.4737, allocations: 78.06 MB / 409.3 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.538e-05, allocations: 0 / 484.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 69.37 MB / 0.5413 GB, free: 6.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.51, allocations: 99.98 MB / 0.6389 GB, free: 15.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.5103, allocations: 80.45 kB / 0.639 GB, free: 15.49 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1766/0.6868, allocations: 69.27 MB / 0.7066 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6869, allocations: 0 / 0.7066 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001597/0.6871, allocations: 56.66 kB / 0.7067 GB, free: 10.06 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.01153/0.6986, allocations: 4.065 MB / 0.7107 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6987, allocations: 8.031 kB / 0.7107 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009692/0.7084, allocations: 1.596 MB / 0.7122 GB, free: 4.301 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/0.7118, allocations: 1.651 MB / 0.7139 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000671/0.7125, allocations: 0.6667 MB / 0.7145 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004153/0.7129, allocations: 127.9 kB / 0.7146 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003992/0.7169, allocations: 2.224 MB / 0.7168 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.7214, allocations: 2.29 MB / 0.719 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.753e-05/0.7215, allocations: 0 / 0.719 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003104/0.7218, allocations: 10.95 kB / 0.719 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.089e-05/0.7218, allocations: 48 kB / 0.7191 GB, free: 13.04 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.01998/0.7418, allocations: 9.632 MB / 0.7285 GB, free: 3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009197/0.751, allocations: 4.118 MB / 0.7325 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002507/0.7536, allocations: 1.473 MB / 0.734 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.7539, allocations: 41.97 kB / 0.734 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/0.7566, allocations: 1.737 MB / 0.7357 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=249): time 3.446e-06/0.7566, allocations: 0 / 0.7357 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of matching and sorting (n=249): time 0.03693/0.7935, allocations: 12.33 MB / 0.7477 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.7937, allocations: 188.7 kB / 0.7479 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002938/0.7966, allocations: 1.725 MB / 0.7496 GB, free: 13.16 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006787/0.7973, allocations: 29.7 kB / 0.7496 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009761/0.7983, allocations: 1.212 MB / 0.7508 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.7995, allocations: 0.8274 MB / 0.7516 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.7997, allocations: 0 / 0.7516 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.7999, allocations: 400.4 kB / 0.752 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/0.802, allocations: 1.22 MB / 0.7532 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.8043, allocations: 1.514 MB / 0.7547 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002161/0.8064, allocations: 1.336 MB / 0.756 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.8065, allocations: 0 / 0.756 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.3331/1.14, allocations: 12.3 MB / 0.768 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 8.449e-05/1.14, allocations: 114.2 kB / 0.7681 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/1.14, allocations: 6.062 kB / 0.7681 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0154/1.155, allocations: 4.988 MB / 0.773 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/1.158, allocations: 437.8 kB / 0.7734 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03754/1.195, allocations: 17.54 MB / 0.7905 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/1.2, allocations: 494.9 kB / 0.791 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006413/1.201, allocations: 93.02 kB / 0.7911 GB, free: 112.3 MB / 0.5573 GB Warning: Assuming fixed start value for the following 7 variables: Exc2.firstOrder2.y:VARIABLE(start = Exc2.firstOrder2.y_start ) "Connector of Real output signal" type: Real Exc1.firstOrder2.y:VARIABLE(start = Exc1.firstOrder2.y_start ) "Connector of Real output signal" type: Real Syn2.e2d:VARIABLE(start = Syn2.e2d0 unit = "1" ) "d-axis sub-transient voltage" type: Real Syn2.e2q:VARIABLE(start = Syn2.e2q0 unit = "1" ) "q-axis sub-transient voltage" type: Real Syn2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_2.w:VARIABLE(start = 1.0 ) "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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (228): * Single equations (assignments): 223 * 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 {66 25} Notification: Performance of prepare postOptimizeDAE: time 0.0007138/1.201, allocations: 210.8 kB / 0.7913 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009038/1.202, allocations: 299.5 kB / 0.7916 GB, free: 111.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03846/1.241, allocations: 12.63 MB / 0.8039 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.285e-05/1.241, allocations: 26.92 kB / 0.8039 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/1.241, allocations: 20.2 kB / 0.8039 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-05/1.241, allocations: 14.12 kB / 0.804 GB, free: 111.3 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.03916/1.28, allocations: 15.98 MB / 0.8196 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/1.28, allocations: 0 / 0.8196 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/1.282, allocations: 246.1 kB / 0.8198 GB, free: 109.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01401/1.296, allocations: 5.001 MB / 0.8247 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005817/1.296, allocations: 17.98 kB / 0.8247 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03361/1.33, allocations: 18.97 MB / 0.8432 GB, free: 99.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.33, allocations: 3.844 kB / 0.8432 GB, free: 99.53 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0361/1.366, allocations: 14.62 MB / 0.8575 GB, free: 95.76 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.367, allocations: 417.9 kB / 0.8579 GB, free: 95.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000575/1.368, allocations: 3.344 kB / 0.8579 GB, free: 95.47 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002849/1.371, allocations: 373.9 kB / 0.8583 GB, free: 95.45 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001755/1.372, allocations: 0.5765 MB / 0.8588 GB, free: 95.36 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.373, allocations: 67.05 kB / 0.8589 GB, free: 95.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00158/1.374, allocations: 1.292 MB / 0.8602 GB, free: 94.34 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.21e-07/1.374, allocations: 0 / 0.8602 GB, free: 94.34 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003074/1.377, allocations: 1.014 MB / 0.8611 GB, free: 93.37 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (order3_2.delta,order3_2.w,order3_2.e1q,order2.delta,order2.w,Syn2.delta,Syn2.w,Syn2.e1q,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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 153 * 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.000356/1.378, allocations: 145.1 kB / 0.8613 GB, free: 93.25 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01247/1.39, allocations: 5.604 MB / 0.8668 GB, free: 88.12 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.39, allocations: 3 kB / 0.8668 GB, free: 88.12 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01044/1.401, allocations: 4.305 MB / 0.871 GB, free: 84.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/1.402, allocations: 183.6 kB / 0.8711 GB, free: 84.12 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/1.409, allocations: 4.079 MB / 0.8751 GB, free: 80.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009483/1.41, allocations: 1.88 MB / 0.877 GB, free: 78.97 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008949/1.41, allocations: 221.7 kB / 0.8772 GB, free: 78.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/1.411, allocations: 134.9 kB / 0.8773 GB, free: 78.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/1.411, allocations: 0 / 0.8773 GB, free: 78.7 MB / 0.5573 GB Notification: Performance of Templates: time 0.06348/1.474, allocations: 51.33 MB / 0.9274 GB, free: 37.79 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.ThreeArea.FifthOrder_AVRII.pipe 2>&1)