Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_release_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.005278/0.005278, allocations: 170.8 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.271/1.271, allocations: 223.2 MB / 239 MB, free: 1.816 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.0008691/0.0008687, allocations: 93.62 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.4293/0.4293, allocations: 78.59 MB / 419.9 MB, free: 44.28 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 12 kB / 499.9 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3414, allocations: 69.34 MB / 0.5559 GB, free: 38.26 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.4612, allocations: 101.8 MB / 0.6552 GB, free: 4.613 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4615, allocations: 83.95 kB / 0.6553 GB, free: 4.531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08258/0.5441, allocations: 31.32 MB / 0.6859 GB, free: 5.047 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.5441, allocations: 0 / 0.6859 GB, free: 5.047 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001394/0.5443, allocations: 28 kB / 0.6859 GB, free: 5.02 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.006744/0.551, allocations: 2.256 MB / 0.6881 GB, free: 2.707 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.5511, allocations: 11.97 kB / 0.6882 GB, free: 2.695 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004591/0.5516, allocations: 164.4 kB / 0.6883 GB, free: 2.527 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003619/0.5552, allocations: 0.5951 MB / 0.6889 GB, free: 1.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002343/0.5576, allocations: 0.9374 MB / 0.6898 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.5578, allocations: 250.5 kB / 0.69 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.5582, allocations: 104 kB / 0.6901 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003224/0.5614, allocations: 1.499 MB / 0.6916 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.5615, allocations: 0 / 0.6916 GB, free: 15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.5616, allocations: 40 kB / 0.6916 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.5616, allocations: 28 kB / 0.6917 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.5648, allocations: 1.421 MB / 0.6931 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007504/0.5723, allocations: 4.316 MB / 0.6973 GB, free: 9.043 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/0.5761, allocations: 2.064 MB / 0.6993 GB, free: 6.863 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.5763, allocations: 21.92 kB / 0.6993 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5763, allocations: 43.56 kB / 0.6994 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=116): time 3.076e-06/0.5764, allocations: 0 / 0.6994 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of matching and sorting (n=116): time 0.02812/0.6045, allocations: 8.482 MB / 0.7076 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/0.6046, allocations: 115.8 kB / 0.7077 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002042/0.6067, allocations: 0.9628 MB / 0.7087 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/0.607, allocations: 45.7 kB / 0.7087 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005613/0.6075, allocations: 0.6111 MB / 0.7093 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006357/0.6082, allocations: 413.9 kB / 0.7097 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.6083, allocations: 20 kB / 0.7097 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6085, allocations: 349.9 kB / 0.7101 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.6104, allocations: 0.7872 MB / 0.7108 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.6122, allocations: 0.9378 MB / 0.7118 GB, free: 9.941 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001822/0.614, allocations: 0.8471 MB / 0.7126 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.614, allocations: 4 kB / 0.7126 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01586/0.6299, allocations: 5.413 MB / 0.7179 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005387/0.6305, allocations: 1.344 MB / 0.7192 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.6305, allocations: 0 / 0.7192 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007126/0.6377, allocations: 2.233 MB / 0.7214 GB, free: 4 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.6388, allocations: 183.7 kB / 0.7215 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/0.6652, allocations: 10.77 MB / 0.7321 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.6671, allocations: 234.9 kB / 0.7323 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.6673, allocations: 40 kB / 0.7323 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6673, allocations: 5.562 kB / 0.7323 GB, free: 4.645 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01533/0.6827, allocations: 5.202 MB / 0.7374 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6827, allocations: 8.031 kB / 0.7374 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006868/0.6896, allocations: 2.233 MB / 0.7396 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008917/0.6905, allocations: 171.7 kB / 0.7398 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02517/0.7157, allocations: 10.74 MB / 0.7502 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.7176, allocations: 219 kB / 0.7505 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.7179, allocations: 36 kB / 0.7505 GB, free: 1.891 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.0009047/0.7188, allocations: 388.3 kB / 0.7509 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.7192, allocations: 146.2 kB / 0.751 GB, free: 1.367 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.7344, allocations: 5.287 MB / 0.7562 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.7345, allocations: 12 kB / 0.7562 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7345, allocations: 0 / 0.7562 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.404e-05/0.7345, allocations: 3.984 kB / 0.7562 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.7529, allocations: 7.148 MB / 0.7632 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.7529, allocations: 0 / 0.7632 GB, free: 4.762 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009013/0.7538, allocations: 143.8 kB / 0.7633 GB, free: 4.621 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00638/0.7602, allocations: 2.172 MB / 0.7654 GB, free: 2.445 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.7606, allocations: 23.94 kB / 0.7654 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2379/0.9985, allocations: 9.285 MB / 0.7745 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9985, allocations: 1.406 kB / 0.7745 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01618/1.015, allocations: 6.417 MB / 0.7808 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/1.015, allocations: 229.6 kB / 0.781 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003656/1.016, allocations: 24.03 kB / 0.781 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/1.017, allocations: 171.5 kB / 0.7812 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007352/1.018, allocations: 210.3 kB / 0.7814 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/1.018, allocations: 29.31 kB / 0.7814 GB, free: 140.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001211/1.019, allocations: 0.7534 MB / 0.7821 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/1.019, allocations: 0.6562 kB / 0.7821 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002303/1.021, allocations: 0.7858 MB / 0.7829 GB, free: 140.6 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.01612/1.038, allocations: 7.027 MB / 0.7898 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0119/1.049, allocations: 4.756 MB / 0.7944 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.05, allocations: 0 / 0.7944 GB, free: 139.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005251/1.055, allocations: 1.889 MB / 0.7963 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001099/1.056, allocations: 143.9 kB / 0.7964 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03029/1.086, allocations: 15.39 MB / 0.8114 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009579/1.087, allocations: 1.253 MB / 0.8127 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008013/1.088, allocations: 152.4 kB / 0.8128 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006997/1.089, allocations: 0.5412 MB / 0.8133 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.333e-06/1.089, allocations: 0 / 0.8133 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/1.152, allocations: 42.69 MB / 0.855 GB, free: 118 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.153, allocations: 208.3 kB / 0.8552 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/4.26, allocations: 5.766 kB / 0.8552 GB, free: 117.7 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)