Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001004/0.001004, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.257/1.257, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008611/0.0008612, allocations: 91.55 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4227/0.4227, allocations: 78.9 MB / 415.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.741e-05/2.744e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 69.51 MB / 0.5491 GB, free: 19.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1185/0.4359, allocations: 100.9 MB / 0.6477 GB, free: 14.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001942/0.4361, allocations: 79.95 kB / 0.6477 GB, free: 14.62 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4792/0.9154, allocations: 70.54 MB / 0.7166 GB, free: 91.84 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.9154, allocations: 0 / 0.7166 GB, free: 91.84 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.9156, allocations: 56 kB / 0.7167 GB, free: 91.79 MB / 490.7 MB 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.01076/0.9263, allocations: 4.024 MB / 0.7206 GB, free: 87.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9264, allocations: 11.97 kB / 0.7206 GB, free: 87.67 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009413/0.9358, allocations: 1.603 MB / 0.7222 GB, free: 86.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003244/0.9391, allocations: 1.635 MB / 0.7238 GB, free: 84.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005558/0.9397, allocations: 0.7486 MB / 0.7245 GB, free: 83.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003741/0.94, allocations: 211.9 kB / 0.7247 GB, free: 83.29 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004115/0.9442, allocations: 2.56 MB / 0.7272 GB, free: 80.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.9442, allocations: 3.984 kB / 0.7272 GB, free: 80.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002369/0.9445, allocations: 88 kB / 0.7273 GB, free: 80.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.9445, allocations: 48 kB / 0.7274 GB, free: 80.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.9481, allocations: 2.32 MB / 0.7296 GB, free: 78.18 MB / 490.7 MB 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.01578/0.9639, allocations: 9.951 MB / 0.7393 GB, free: 67.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/0.9725, allocations: 4.183 MB / 0.7434 GB, free: 63.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/0.9748, allocations: 1.535 MB / 0.7449 GB, free: 61.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/0.9751, allocations: 45.95 kB / 0.745 GB, free: 61.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00244/0.9776, allocations: 1.785 MB / 0.7467 GB, free: 60.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=248): time 4.859e-06/0.9776, allocations: 0 / 0.7467 GB, free: 60.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=248): time 0.03492/1.013, allocations: 12.55 MB / 0.759 GB, free: 47.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/1.013, allocations: 184.2 kB / 0.7591 GB, free: 47.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002892/1.016, allocations: 1.846 MB / 0.7609 GB, free: 45.42 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005568/1.016, allocations: 69.7 kB / 0.761 GB, free: 45.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00061/1.017, allocations: 1.188 MB / 0.7622 GB, free: 44.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008245/1.018, allocations: 0.8585 MB / 0.763 GB, free: 43.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/1.018, allocations: 48.06 kB / 0.7631 GB, free: 43.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/1.018, allocations: 402.9 kB / 0.7634 GB, free: 42.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/1.02, allocations: 1.255 MB / 0.7647 GB, free: 41.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/1.022, allocations: 1.567 MB / 0.7662 GB, free: 39.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002086/1.024, allocations: 1.484 MB / 0.7676 GB, free: 38.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/1.024, allocations: 0 / 0.7676 GB, free: 38.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=316) (initialization): time 0.03492/1.059, allocations: 12.62 MB / 0.78 GB, free: 25.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/1.059, allocations: 110.8 kB / 0.7801 GB, free: 25.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/1.059, allocations: 8 kB / 0.7801 GB, free: 25.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01605/1.075, allocations: 5.227 MB / 0.7852 GB, free: 20.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002225/1.077, allocations: 415.4 kB / 0.7856 GB, free: 19.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03607/1.113, allocations: 17.88 MB / 0.803 GB, free: 1.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.118, allocations: 0.5406 MB / 0.8036 GB, free: 1.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/1.118, allocations: 91.97 kB / 0.8037 GB, free: 1.199 MB / 490.7 MB 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 order4_1.e1d:VARIABLE(start = order4_1.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4_1.e1q:VARIABLE(start = order4_1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4_1.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 (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.0005607/1.118, allocations: 289.5 kB / 0.8039 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005053/1.119, allocations: 304.3 kB / 0.8042 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0384/1.157, allocations: 12.9 MB / 0.8168 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/1.157, allocations: 24 kB / 0.8168 GB, free: 3.621 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-05/1.157, allocations: 24 kB / 0.8169 GB, free: 3.598 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.498e-05/1.158, allocations: 11.95 kB / 0.8169 GB, free: 3.586 MB / 0.4948 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.04273/1.2, allocations: 16.44 MB / 0.8329 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.629e-05/1.2, allocations: 0 / 0.8329 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.202, allocations: 247.6 kB / 0.8332 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01588/1.218, allocations: 5.028 MB / 0.8381 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007714/1.219, allocations: 55.98 kB / 0.8381 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03945/1.258, allocations: 19.29 MB / 0.857 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.258, allocations: 0 / 0.857 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04186/1.3, allocations: 14.86 MB / 0.8715 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.301, allocations: 412.9 kB / 0.8719 GB, free: 10.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004497/1.302, allocations: 48 kB / 0.8719 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.305, allocations: 407.6 kB / 0.8723 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002125/1.307, allocations: 0.5759 MB / 0.8729 GB, free: 9.477 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.307, allocations: 67.98 kB / 0.8729 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001963/1.309, allocations: 1.406 MB / 0.8743 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.1e-07/1.309, allocations: 0 / 0.8743 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00291/1.312, allocations: 1.123 MB / 0.8754 GB, free: 6.871 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 () * 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 {(65,7.8%) 23} * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004165/1.312, allocations: 186.9 kB / 0.8756 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01468/1.327, allocations: 5.752 MB / 0.8812 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.327, allocations: 0 / 0.8812 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01188/1.339, allocations: 4.382 MB / 0.8855 GB, free: 12.39 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/1.341, allocations: 231.9 kB / 0.8857 GB, free: 12.16 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007303/1.348, allocations: 4.085 MB / 0.8897 GB, free: 8.043 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/1.35, allocations: 1.868 MB / 0.8915 GB, free: 6.141 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0009687/1.351, allocations: 219.7 kB / 0.8917 GB, free: 5.922 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/1.351, allocations: 135.4 kB / 0.8919 GB, free: 5.789 MB / 0.573 GB Notification: Performance of SimCode: time 7.51e-07/1.351, allocations: 3.938 kB / 0.8919 GB, free: 5.785 MB / 0.573 GB Notification: Performance of Templates: time 0.3861/1.737, allocations: 55.18 MB / 0.9458 GB, free: 157.5 MB / 0.573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.ThreeArea.FourthOrder_AVRII.pipe 2>&1)