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.007669/0.007669, allocations: 172.2 kB / 15.12 MB, free: 5.973 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.206/1.206, allocations: 223.2 MB / 239.1 MB, free: 1.766 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.0008323/0.0008323, allocations: 103.4 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4205/0.4205, allocations: 79.44 MB / 420.8 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 16 kB / 0.489 GB, free: 2.031 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3259, allocations: 69.5 MB / 0.5569 GB, free: 38.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.4346, allocations: 99.98 MB / 0.6545 GB, free: 5.598 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/0.4348, allocations: 81.2 kB / 0.6546 GB, free: 5.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06557/0.5004, allocations: 25.98 MB / 0.68 GB, free: 11.41 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5005, allocations: 7.984 kB / 0.68 GB, free: 11.41 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.146e-05/0.5005, allocations: 20 kB / 0.68 GB, free: 11.39 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.004801/0.5053, allocations: 1.944 MB / 0.6819 GB, free: 9.387 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.5054, allocations: 15.97 kB / 0.6819 GB, free: 9.371 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.5085, allocations: 0.5526 MB / 0.6825 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.5099, allocations: 0.7791 MB / 0.6832 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.5102, allocations: 272.1 kB / 0.6835 GB, free: 7.68 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001284/0.5103, allocations: 72 kB / 0.6836 GB, free: 7.609 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.5125, allocations: 1.192 MB / 0.6847 GB, free: 6.406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.5126, allocations: 0 / 0.6847 GB, free: 6.406 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.5127, allocations: 32 kB / 0.6848 GB, free: 6.375 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.5127, allocations: 20 kB / 0.6848 GB, free: 6.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.5149, allocations: 1.156 MB / 0.6859 GB, free: 5.195 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00587/0.5208, allocations: 3.517 MB / 0.6893 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00227/0.5231, allocations: 1.504 MB / 0.6908 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.351e-05/0.5232, allocations: 9 kB / 0.6908 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5233, allocations: 39.56 kB / 0.6909 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=89): time 2.946e-06/0.5233, allocations: 0 / 0.6909 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=89): time 0.02707/0.5504, allocations: 8.262 MB / 0.6989 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.5505, allocations: 86.11 kB / 0.699 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.5518, allocations: 0.8078 MB / 0.6998 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/0.5519, allocations: 37.7 kB / 0.6998 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.5522, allocations: 496.7 kB / 0.7003 GB, free: 6.086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003241/0.5526, allocations: 311.4 kB / 0.7006 GB, free: 5.777 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.5527, allocations: 16 kB / 0.7006 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.5528, allocations: 337.9 kB / 0.7009 GB, free: 5.426 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.5541, allocations: 0.6735 MB / 0.7016 GB, free: 4.754 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/0.5555, allocations: 0.7765 MB / 0.7024 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.557, allocations: 0.7204 MB / 0.7031 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.557, allocations: 0 / 0.7031 GB, free: 3.227 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01341/0.5704, allocations: 4.817 MB / 0.7078 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002806/0.5707, allocations: 0.7986 MB / 0.7085 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5708, allocations: 4 kB / 0.7085 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/0.577, allocations: 2.099 MB / 0.7106 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007272/0.5778, allocations: 143.8 kB / 0.7107 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/0.599, allocations: 9.981 MB / 0.7205 GB, free: 1.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.6006, allocations: 199.1 kB / 0.7207 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.063e-05/0.6007, allocations: 35.92 kB / 0.7207 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.6007, allocations: 4 kB / 0.7207 GB, free: 0.9453 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01311/0.6138, allocations: 4.66 MB / 0.7253 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.6139, allocations: 0 / 0.7253 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006137/0.62, allocations: 2.098 MB / 0.7273 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/0.6208, allocations: 143.8 kB / 0.7274 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02067/0.6415, allocations: 9.979 MB / 0.7372 GB, free: 15.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.6429, allocations: 187.2 kB / 0.7374 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.121e-05/0.643, allocations: 32 kB / 0.7374 GB, free: 15.71 MB / 0.5417 GB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.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: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.0005857/0.6436, allocations: 321.7 kB / 0.7377 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.6438, allocations: 114.6 kB / 0.7378 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/0.6568, allocations: 4.842 MB / 0.7425 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6569, allocations: 8 kB / 0.7425 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.6569, allocations: 4 kB / 0.7426 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.842e-05/0.6569, allocations: 3.984 kB / 0.7426 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.6721, allocations: 6.453 MB / 0.7489 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.6721, allocations: 0 / 0.7489 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.6728, allocations: 115.8 kB / 0.749 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005919/0.6787, allocations: 2.055 MB / 0.751 GB, free: 1.641 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.6789, allocations: 23.98 kB / 0.751 GB, free: 1.617 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/0.6965, allocations: 8.655 MB / 0.7594 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6965, allocations: 4 kB / 0.7595 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.7113, allocations: 5.833 MB / 0.7651 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004315/0.7118, allocations: 203.5 kB / 0.7653 GB, free: 2.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.7119, allocations: 16 kB / 0.7654 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7131, allocations: 151.8 kB / 0.7655 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005829/0.7137, allocations: 208.6 kB / 0.7657 GB, free: 2.367 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/0.7137, allocations: 24 kB / 0.7657 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009068/0.7146, allocations: 0.6354 MB / 0.7663 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7147, allocations: 0 / 0.7663 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001644/0.7163, allocations: 0.6591 MB / 0.767 GB, free: 1.039 MB / 0.5573 GB 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 () * Number of clocked 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.0003072/0.7166, allocations: 152.7 kB / 0.7671 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.2185/0.9351, allocations: 4.254 MB / 0.7713 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.9351, allocations: 0 / 0.7713 GB, free: 149.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004853/0.94, allocations: 1.739 MB / 0.773 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007342/0.9408, allocations: 89.08 kB / 0.7731 GB, free: 148.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003487/0.9443, allocations: 2.464 MB / 0.7755 GB, free: 147.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004765/0.9448, allocations: 1.128 MB / 0.7766 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004035/0.9452, allocations: 87.98 kB / 0.7767 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.9454, allocations: 54.91 kB / 0.7767 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.9454, allocations: 0 / 0.7767 GB, free: 147.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.03471/0.9801, allocations: 26.84 MB / 0.8029 GB, free: 145.7 MB / 0.5573 GB 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)