Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009859/0.0009858, allocations: 175.2 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.371/1.371, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008365/0.0008365, allocations: 89.03 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5518/0.5518, allocations: 78.9 MB / 415.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.442e-05/2.444e-05, allocations: 4 kB / 492.8 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.329, allocations: 69.51 MB / 0.5491 GB, free: 19.58 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.4677, allocations: 99.9 MB / 0.6467 GB, free: 15.72 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/0.468, allocations: 75.95 kB / 0.6467 GB, free: 15.64 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07053/0.5386, allocations: 25.89 MB / 0.672 GB, free: 5.574 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5386, allocations: 3.938 kB / 0.672 GB, free: 5.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.691e-05/0.5387, allocations: 24 kB / 0.6721 GB, free: 5.547 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005321/0.5441, allocations: 1.705 MB / 0.6737 GB, free: 3.793 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5441, allocations: 11.97 kB / 0.6737 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00359/0.5477, allocations: 0.5526 MB / 0.6743 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.5496, allocations: 0.7593 MB / 0.675 GB, free: 2.414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.5499, allocations: 268.5 kB / 0.6753 GB, free: 2.113 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.5501, allocations: 72 kB / 0.6753 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002022/0.5522, allocations: 0.9384 MB / 0.6763 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.5522, allocations: 0 / 0.6763 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.5523, allocations: 28 kB / 0.6763 GB, free: 1.066 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5523, allocations: 23.94 kB / 0.6763 GB, free: 1.043 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5541, allocations: 0.8553 MB / 0.6771 GB, free: 188 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.358/0.9121, allocations: 3.504 MB / 0.6806 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.9137, allocations: 1.227 MB / 0.6818 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009836/0.9147, allocations: 0.5684 MB / 0.6823 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.9149, allocations: 20.14 kB / 0.6823 GB, free: 102.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.9149, allocations: 43.34 kB / 0.6824 GB, free: 102.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.795e-06/0.9149, allocations: 0 / 0.6824 GB, free: 102.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.01375/0.9287, allocations: 4.042 MB / 0.6863 GB, free: 102.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.9288, allocations: 89.7 kB / 0.6864 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.93, allocations: 0.7707 MB / 0.6872 GB, free: 102.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003037/0.9303, allocations: 41.67 kB / 0.6872 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000355/0.9307, allocations: 490.3 kB / 0.6877 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003569/0.931, allocations: 313.8 kB / 0.688 GB, free: 102.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.9311, allocations: 16.56 kB / 0.688 GB, free: 102.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9312, allocations: 338.4 kB / 0.6883 GB, free: 101.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007372/0.932, allocations: 434.2 kB / 0.6887 GB, free: 101.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007462/0.9327, allocations: 0.5361 MB / 0.6892 GB, free: 101.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007084/0.9334, allocations: 474.3 kB / 0.6897 GB, free: 101.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.9335, allocations: 3.938 kB / 0.6897 GB, free: 101.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01186/0.9453, allocations: 4.138 MB / 0.6937 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001829/0.9455, allocations: 0.7972 MB / 0.6945 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.9456, allocations: 0 / 0.6945 GB, free: 99.98 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005922/0.9515, allocations: 1.728 MB / 0.6962 GB, free: 99.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/0.9524, allocations: 143 kB / 0.6963 GB, free: 99.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.9668, allocations: 7.272 MB / 0.7034 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.9684, allocations: 198.7 kB / 0.7036 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.9685, allocations: 32.34 kB / 0.7037 GB, free: 95.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.9685, allocations: 3.25 kB / 0.7037 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01172/0.9802, allocations: 4.002 MB / 0.7076 GB, free: 94.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.9803, allocations: 0 / 0.7076 GB, free: 94.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005521/0.9858, allocations: 1.725 MB / 0.7093 GB, free: 93.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008479/0.9867, allocations: 135.1 kB / 0.7094 GB, free: 93.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1, allocations: 7.252 MB / 0.7165 GB, free: 86.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/1.002, allocations: 191 kB / 0.7167 GB, free: 86.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.002, allocations: 34.8 kB / 0.7167 GB, free: 86.31 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002857/1.002, allocations: 154.9 kB / 0.7168 GB, free: 86.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/1.002, allocations: 118.5 kB / 0.7169 GB, free: 86.04 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.014, allocations: 4.169 MB / 0.721 GB, free: 82.79 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/1.014, allocations: 11.95 kB / 0.721 GB, free: 82.78 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.014, allocations: 0 / 0.721 GB, free: 82.78 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.471e-05/1.014, allocations: 3.562 kB / 0.721 GB, free: 82.78 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/1.028, allocations: 5.771 MB / 0.7267 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/1.028, allocations: 0 / 0.7267 GB, free: 78.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000691/1.028, allocations: 111.9 kB / 0.7268 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004949/1.033, allocations: 1.683 MB / 0.7284 GB, free: 76.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/1.034, allocations: 20 kB / 0.7284 GB, free: 76.33 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/1.045, allocations: 6.343 MB / 0.7346 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.045, allocations: 0 / 0.7346 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/1.058, allocations: 4.903 MB / 0.7394 GB, free: 64.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/1.059, allocations: 203.5 kB / 0.7396 GB, free: 64.71 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/1.059, allocations: 19.94 kB / 0.7396 GB, free: 64.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.06, allocations: 151.3 kB / 0.7398 GB, free: 64.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006453/1.061, allocations: 208.4 kB / 0.74 GB, free: 64.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/1.061, allocations: 20 kB / 0.74 GB, free: 64.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007291/1.062, allocations: 0.6089 MB / 0.7406 GB, free: 63.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/1.062, allocations: 0 / 0.7406 GB, free: 63.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001793/1.063, allocations: 0.6668 MB / 0.7412 GB, free: 63.05 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002926/1.064, allocations: 150 kB / 0.7414 GB, free: 62.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00888/1.073, allocations: 3.522 MB / 0.7448 GB, free: 59.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.073, allocations: 0 / 0.7448 GB, free: 59.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004007/1.077, allocations: 1.473 MB / 0.7463 GB, free: 57.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008355/1.077, allocations: 89.88 kB / 0.7463 GB, free: 57.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/1.08, allocations: 1.567 MB / 0.7479 GB, free: 56.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005522/1.081, allocations: 1.134 MB / 0.749 GB, free: 55.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006581/1.082, allocations: 160.2 kB / 0.7491 GB, free: 54.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/1.082, allocations: 47.42 kB / 0.7492 GB, free: 54.85 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/1.082, allocations: 0 / 0.7492 GB, free: 54.85 MB / 490.7 MB Notification: Performance of Templates: time 0.03597/1.118, allocations: 28.66 MB / 0.7772 GB, free: 26.49 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)