Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,fileNamePrefix="OpenIPSL_release_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.006047/0.006047, allocations: 172.5 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.309/1.309, allocations: 223.2 MB / 239 MB, free: 1.812 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.001039/0.001039, allocations: 99.61 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4605/0.4605, allocations: 78.6 MB / 419.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005472, allocations: 8 kB / 499.9 MB, free: 2.82 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4115, allocations: 69.34 MB / 0.5559 GB, free: 38.97 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.5535, allocations: 99.39 MB / 0.6529 GB, free: 7.098 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5538, allocations: 86.92 kB / 0.653 GB, free: 7.016 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06996/0.6237, allocations: 25.7 MB / 0.6781 GB, free: 13.18 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.6238, allocations: 0 / 0.6781 GB, free: 13.18 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001075/0.6239, allocations: 20 kB / 0.6781 GB, free: 13.16 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.006129/0.6301, allocations: 1.948 MB / 0.68 GB, free: 11.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.973e-05/0.6301, allocations: 12.03 kB / 0.68 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005403/0.6307, allocations: 126.5 kB / 0.6802 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/0.6345, allocations: 0.5526 MB / 0.6807 GB, free: 10.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.6372, allocations: 0.7907 MB / 0.6815 GB, free: 9.617 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/0.6376, allocations: 272.1 kB / 0.6817 GB, free: 9.312 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002854/0.6379, allocations: 72 kB / 0.6818 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002868/0.6408, allocations: 1.184 MB / 0.683 GB, free: 8.047 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6408, allocations: 4 kB / 0.683 GB, free: 8.043 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.6409, allocations: 32 kB / 0.683 GB, free: 8.012 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.952e-05/0.641, allocations: 19.94 kB / 0.683 GB, free: 7.992 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002847/0.6438, allocations: 1.16 MB / 0.6841 GB, free: 6.828 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007929/0.6518, allocations: 3.521 MB / 0.6876 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.6545, allocations: 1.497 MB / 0.689 GB, free: 1.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.6546, allocations: 13 kB / 0.6891 GB, free: 1.527 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.6547, allocations: 39.56 kB / 0.6891 GB, free: 1.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 4.699e-06/0.6547, allocations: 0 / 0.6891 GB, free: 1.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.02872/0.6834, allocations: 8.251 MB / 0.6971 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.6836, allocations: 90.09 kB / 0.6972 GB, free: 9.086 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.6859, allocations: 0.8078 MB / 0.698 GB, free: 8.258 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003281/0.6862, allocations: 45.7 kB / 0.6981 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.6868, allocations: 488.7 kB / 0.6985 GB, free: 7.723 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000704/0.6875, allocations: 307.4 kB / 0.6988 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001427/0.6876, allocations: 20 kB / 0.6988 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.6879, allocations: 337.9 kB / 0.6992 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.6895, allocations: 0.6696 MB / 0.6998 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.6912, allocations: 0.7766 MB / 0.7006 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.6929, allocations: 0.7165 MB / 0.7013 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6929, allocations: 0 / 0.7013 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01477/0.7077, allocations: 4.824 MB / 0.706 GB, free: 32 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004056/0.7081, allocations: 0.7984 MB / 0.7068 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.7082, allocations: 7.938 kB / 0.7068 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00689/0.7151, allocations: 2.095 MB / 0.7088 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008502/0.716, allocations: 143.8 kB / 0.709 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02316/0.7392, allocations: 9.986 MB / 0.7187 GB, free: 2.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.7409, allocations: 199.1 kB / 0.7189 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/0.7411, allocations: 27.98 kB / 0.7189 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7411, allocations: 4 kB / 0.7189 GB, free: 2.582 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/0.7555, allocations: 4.664 MB / 0.7235 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.7555, allocations: 0 / 0.7235 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006985/0.7625, allocations: 2.101 MB / 0.7255 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009036/0.7635, allocations: 135.8 kB / 0.7257 GB, free: 11.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02299/0.7865, allocations: 9.973 MB / 0.7354 GB, free: 1.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.7882, allocations: 187.2 kB / 0.7356 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.7884, allocations: 28 kB / 0.7356 GB, free: 1.355 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.0007627/0.7892, allocations: 319.8 kB / 0.7359 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.7895, allocations: 122.5 kB / 0.736 GB, free: 0.9141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.8038, allocations: 4.842 MB / 0.7408 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.8039, allocations: 15.94 kB / 0.7408 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8039, allocations: 0 / 0.7408 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.8039, allocations: 3.984 kB / 0.7408 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.8209, allocations: 6.456 MB / 0.7471 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.821, allocations: 0 / 0.7471 GB, free: 5.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006788/0.8217, allocations: 119.8 kB / 0.7472 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006321/0.828, allocations: 2.054 MB / 0.7492 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/0.8282, allocations: 19.98 kB / 0.7492 GB, free: 3.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01959/0.8478, allocations: 8.647 MB / 0.7577 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8479, allocations: 4 kB / 0.7577 GB, free: 10.46 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01866/0.8665, allocations: 5.841 MB / 0.7634 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.8673, allocations: 203.5 kB / 0.7636 GB, free: 4.375 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005466/0.8679, allocations: 16 kB / 0.7636 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002162/0.8701, allocations: 151.9 kB / 0.7637 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00121/0.8714, allocations: 204.6 kB / 0.7639 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002045/0.8716, allocations: 20 kB / 0.7639 GB, free: 3.992 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00211/0.8737, allocations: 0.6354 MB / 0.7646 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8738, allocations: 0 / 0.7646 GB, free: 3.348 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004099/0.8779, allocations: 0.6592 MB / 0.7652 GB, free: 2.688 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.3241/1.202, allocations: 6.422 MB / 0.7715 GB, free: 146.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01176/1.214, allocations: 4.264 MB / 0.7756 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.214, allocations: 0 / 0.7756 GB, free: 145.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004478/1.218, allocations: 1.734 MB / 0.7773 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008514/1.219, allocations: 85.52 kB / 0.7774 GB, free: 145.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/1.244, allocations: 12.44 MB / 0.7896 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006392/1.244, allocations: 1.129 MB / 0.7907 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004979/1.245, allocations: 91.48 kB / 0.7908 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/1.245, allocations: 420 kB / 0.7912 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/1.245, allocations: 1.312 kB / 0.7912 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06969/1.315, allocations: 36.26 MB / 0.8266 GB, free: 139.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.315, allocations: 200.6 kB / 0.8268 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.017/4.332, allocations: 3.938 kB / 0.8268 GB, free: 138.9 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order3test2_TG.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)