Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.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.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",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.006545/0.006545, allocations: 169.5 kB / 15.11 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.489/1.489, allocations: 223.2 MB / 239 MB, free: 1.797 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.0009328/0.0009328, allocations: 93.34 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5153/0.5153, allocations: 78.53 MB / 419.8 MB, free: 44.03 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003798/0.0003799, allocations: 12 kB / 499.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4688, allocations: 69.35 MB / 0.5558 GB, free: 38.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.6164, allocations: 101.8 MB / 0.6552 GB, free: 4.613 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/0.6168, allocations: 95.94 kB / 0.6553 GB, free: 4.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08595/0.7028, allocations: 31.31 MB / 0.6859 GB, free: 5.035 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.7028, allocations: 0 / 0.6859 GB, free: 5.035 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.28e-05/0.7029, allocations: 24 kB / 0.6859 GB, free: 5.012 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.006294/0.7092, allocations: 2.256 MB / 0.6881 GB, free: 2.699 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.7093, allocations: 8.031 kB / 0.6881 GB, free: 2.691 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004703/0.7098, allocations: 160.4 kB / 0.6882 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.7133, allocations: 0.5951 MB / 0.6888 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.7157, allocations: 0.9491 MB / 0.6898 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/0.7159, allocations: 246.5 kB / 0.69 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.7161, allocations: 100 kB / 0.6901 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.7192, allocations: 1.499 MB / 0.6915 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.7192, allocations: 4 kB / 0.6916 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.7193, allocations: 40 kB / 0.6916 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.7193, allocations: 28 kB / 0.6916 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002931/0.7223, allocations: 1.425 MB / 0.693 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007751/0.7301, allocations: 4.304 MB / 0.6972 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003775/0.7339, allocations: 2.071 MB / 0.6992 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.734, allocations: 13 kB / 0.6992 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.7341, allocations: 51.55 kB / 0.6993 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=116): time 5.08e-06/0.7341, allocations: 3.938 kB / 0.6993 GB, free: 6.781 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116): time 0.02872/0.7628, allocations: 8.482 MB / 0.7076 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.7631, allocations: 115.8 kB / 0.7077 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/0.7652, allocations: 0.959 MB / 0.7086 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003983/0.7656, allocations: 41.7 kB / 0.7087 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006422/0.7662, allocations: 0.6189 MB / 0.7093 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005684/0.7668, allocations: 417.9 kB / 0.7097 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.086e-05/0.7669, allocations: 20 kB / 0.7097 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002113/0.7671, allocations: 349.9 kB / 0.71 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.7689, allocations: 0.7756 MB / 0.7108 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001769/0.7706, allocations: 0.9495 MB / 0.7117 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.7724, allocations: 0.8432 MB / 0.7125 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.7724, allocations: 0 / 0.7125 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0161/0.7886, allocations: 5.413 MB / 0.7178 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006922/0.7893, allocations: 1.34 MB / 0.7191 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.7893, allocations: 4 kB / 0.7191 GB, free: 2.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00733/0.7967, allocations: 2.237 MB / 0.7213 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7978, allocations: 183.7 kB / 0.7215 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02559/0.8234, allocations: 10.76 MB / 0.732 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001982/0.8254, allocations: 238.9 kB / 0.7322 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.8256, allocations: 39.98 kB / 0.7323 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.8256, allocations: 4 kB / 0.7323 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01472/0.8404, allocations: 5.202 MB / 0.7373 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.8404, allocations: 8 kB / 0.7374 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006697/0.8471, allocations: 2.237 MB / 0.7395 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009587/0.8481, allocations: 175.7 kB / 0.7397 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/0.8723, allocations: 10.74 MB / 0.7502 GB, free: 2.133 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.8744, allocations: 215 kB / 0.7504 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/0.8746, allocations: 47.98 kB / 0.7504 GB, free: 1.875 MB / 0.5417 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0009868/0.8756, allocations: 376.7 kB / 0.7508 GB, free: 1.504 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.876, allocations: 146.2 kB / 0.7509 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.8913, allocations: 5.283 MB / 0.7561 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/0.8913, allocations: 12 kB / 0.7561 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.8913, allocations: 0 / 0.7561 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/0.8914, allocations: 7.969 kB / 0.7561 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/0.9094, allocations: 7.148 MB / 0.7631 GB, free: 4.754 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.9094, allocations: 3.938 kB / 0.7631 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.9105, allocations: 139.9 kB / 0.7632 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006748/0.9173, allocations: 2.172 MB / 0.7654 GB, free: 2.438 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004111/0.9177, allocations: 20 kB / 0.7654 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3485/1.266, allocations: 9.289 MB / 0.7744 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.266, allocations: 0 / 0.7744 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01691/1.283, allocations: 6.415 MB / 0.7807 GB, free: 141.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00066/1.284, allocations: 240.2 kB / 0.7809 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/1.284, allocations: 23.44 kB / 0.781 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.285, allocations: 165.5 kB / 0.7811 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007373/1.286, allocations: 210.3 kB / 0.7813 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/1.286, allocations: 35.06 kB / 0.7814 GB, free: 141.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001091/1.287, allocations: 0.7495 MB / 0.7821 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/1.287, allocations: 0 / 0.7821 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002437/1.29, allocations: 0.7861 MB / 0.7829 GB, free: 141.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.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 (79): * Single equations (assignments): 78 * 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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.01646/1.306, allocations: 7.025 MB / 0.7897 GB, free: 140.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01208/1.318, allocations: 4.752 MB / 0.7944 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/1.318, allocations: 0 / 0.7944 GB, free: 139.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005511/1.324, allocations: 1.888 MB / 0.7962 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/1.325, allocations: 146.7 kB / 0.7963 GB, free: 139.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03216/1.358, allocations: 15.39 MB / 0.8114 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008821/1.359, allocations: 1.257 MB / 0.8126 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008749/1.359, allocations: 149.5 kB / 0.8127 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/1.36, allocations: 0.542 MB / 0.8133 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of SimCode: time 9.31e-07/1.36, allocations: 0 / 0.8133 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07101/1.431, allocations: 42.69 MB / 0.855 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/1.431, allocations: 194.3 kB / 0.8551 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.352/4.783, allocations: 0 / 0.8551 GB, free: 117.5 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)