Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008543/0.008543, allocations: 171.3 kB / 15.11 MB, free: 6.039 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.464/1.464, allocations: 223.2 MB / 239 MB, free: 60 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.0008846/0.0008845, allocations: 91.27 kB / 290.2 MB, free: 4.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4876/0.4876, allocations: 78.51 MB / 419.8 MB, free: 36.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003995, allocations: 11.98 kB / 499.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1727, allocations: 69.36 MB / 0.5558 GB, free: 1.641 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.6249, allocations: 99.4 MB / 0.6529 GB, free: 2.746 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.6253, allocations: 80.64 kB / 0.653 GB, free: 2.703 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06717/0.6925, allocations: 25.69 MB / 0.678 GB, free: 9.492 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.6925, allocations: 0 / 0.678 GB, free: 9.492 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.181e-05/0.6926, allocations: 23.94 kB / 0.6781 GB, free: 9.469 MB / 474.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.005255/0.6978, allocations: 1.947 MB / 0.68 GB, free: 7.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.6979, allocations: 8.031 kB / 0.68 GB, free: 7.461 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.6981, allocations: 130.5 kB / 0.6801 GB, free: 7.324 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.7013, allocations: 0.5565 MB / 0.6806 GB, free: 6.766 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.7029, allocations: 0.7869 MB / 0.6814 GB, free: 5.926 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.7032, allocations: 268.1 kB / 0.6817 GB, free: 5.625 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.7034, allocations: 73.41 kB / 0.6817 GB, free: 5.555 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.7056, allocations: 1.192 MB / 0.6829 GB, free: 4.352 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.7056, allocations: 4 kB / 0.6829 GB, free: 4.348 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.51e-05/0.7057, allocations: 28 kB / 0.6829 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.7057, allocations: 20 kB / 0.683 GB, free: 4.301 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.708, allocations: 1.156 MB / 0.6841 GB, free: 3.141 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005934/0.714, allocations: 3.522 MB / 0.6875 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.7162, allocations: 1.494 MB / 0.689 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/0.7163, allocations: 16.98 kB / 0.689 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.7163, allocations: 39.56 kB / 0.689 GB, free: 13.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 2.706e-06/0.7163, allocations: 0 / 0.689 GB, free: 13.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02794/0.7443, allocations: 8.251 MB / 0.6971 GB, free: 5.504 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.7445, allocations: 90.11 kB / 0.6972 GB, free: 5.398 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/0.7461, allocations: 0.804 MB / 0.698 GB, free: 4.578 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003401/0.7465, allocations: 41.7 kB / 0.698 GB, free: 4.531 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.7469, allocations: 499.9 kB / 0.6985 GB, free: 4.039 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.7473, allocations: 303.5 kB / 0.6988 GB, free: 3.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.7474, allocations: 16 kB / 0.6988 GB, free: 3.723 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.7476, allocations: 341.9 kB / 0.6991 GB, free: 3.383 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.749, allocations: 0.6735 MB / 0.6998 GB, free: 2.711 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.7506, allocations: 0.7804 MB / 0.7005 GB, free: 1.898 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/0.7521, allocations: 0.7165 MB / 0.7012 GB, free: 1.184 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.7521, allocations: 0 / 0.7012 GB, free: 1.184 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01419/0.7663, allocations: 4.824 MB / 0.7059 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003521/0.7667, allocations: 0.794 MB / 0.7067 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.7667, allocations: 10.11 kB / 0.7067 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006388/0.7731, allocations: 2.1 MB / 0.7088 GB, free: 9.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.7739, allocations: 147.8 kB / 0.7089 GB, free: 9.238 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02185/0.7958, allocations: 9.963 MB / 0.7186 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.7975, allocations: 208.3 kB / 0.7188 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.7976, allocations: 27.94 kB / 0.7189 GB, free: 14.92 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7976, allocations: 4.625 kB / 0.7189 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01336/0.811, allocations: 4.66 MB / 0.7234 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.811, allocations: 0 / 0.7234 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006373/0.8174, allocations: 2.101 MB / 0.7255 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007582/0.8182, allocations: 135.8 kB / 0.7256 GB, free: 8.008 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.8392, allocations: 9.975 MB / 0.7353 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/0.8408, allocations: 187.2 kB / 0.7355 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.8409, allocations: 31.98 kB / 0.7356 GB, free: 13.69 MB / 0.5261 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.0006394/0.8415, allocations: 322 kB / 0.7359 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.8417, allocations: 114.6 kB / 0.736 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/0.8551, allocations: 4.852 MB / 0.7407 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.8552, allocations: 12 kB / 0.7407 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.8552, allocations: 0 / 0.7407 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.8552, allocations: 3.984 kB / 0.7407 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01624/0.8715, allocations: 6.457 MB / 0.747 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.8715, allocations: 0 / 0.747 GB, free: 1.785 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006782/0.8722, allocations: 119.8 kB / 0.7471 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006037/0.8783, allocations: 2.054 MB / 0.7492 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/0.8785, allocations: 16 kB / 0.7492 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.8968, allocations: 8.647 MB / 0.7576 GB, free: 6.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.8969, allocations: 4 kB / 0.7576 GB, free: 6.797 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.9123, allocations: 5.833 MB / 0.7633 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006436/0.913, allocations: 207.5 kB / 0.7635 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.9132, allocations: 16 kB / 0.7635 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.9143, allocations: 155.9 kB / 0.7637 GB, free: 0.5469 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006365/0.915, allocations: 200.6 kB / 0.7639 GB, free: 360 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.051e-05/0.915, allocations: 24 kB / 0.7639 GB, free: 336 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009937/0.916, allocations: 0.6393 MB / 0.7645 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.71e-07/0.916, allocations: 0 / 0.7645 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001941/0.918, allocations: 0.652 MB / 0.7651 GB, free: 15.03 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.01561/0.9336, allocations: 6.426 MB / 0.7714 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01113/0.9448, allocations: 4.275 MB / 0.7756 GB, free: 4.273 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9448, allocations: 6.219 kB / 0.7756 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00482/0.9497, allocations: 1.732 MB / 0.7773 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.9507, allocations: 88.25 kB / 0.7774 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.9762, allocations: 12.45 MB / 0.7895 GB, free: 5.664 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007667/0.977, allocations: 1.128 MB / 0.7906 GB, free: 4.504 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005671/0.9776, allocations: 89.72 kB / 0.7907 GB, free: 4.414 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.9782, allocations: 415.3 kB / 0.7911 GB, free: 4.008 MB / 0.573 GB Notification: Performance of SimCode: time 1.332e-06/0.9782, allocations: 0 / 0.7911 GB, free: 4.008 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3564/1.335, allocations: 36.24 MB / 0.8265 GB, free: 155 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001532/1.335, allocations: 201.8 kB / 0.8267 GB, free: 154.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.113/4.447, allocations: 2.531 kB / 0.8267 GB, free: 154.8 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)