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.001083/0.001083, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.41/1.41, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 96.59 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.504/0.504, allocations: 78.08 MB / 414.6 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.347e-05, allocations: 0 / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.4236, allocations: 69.35 MB / 0.5481 GB, free: 20.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.5688, allocations: 101.7 MB / 0.6474 GB, free: 14.84 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5691, allocations: 87.94 kB / 0.6475 GB, free: 14.75 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4797/1.049, allocations: 31.2 MB / 0.678 GB, free: 101.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.049, allocations: 0 / 0.678 GB, free: 101.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001744/1.049, allocations: 32.61 kB / 0.678 GB, free: 101.9 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.00651/1.056, allocations: 1.981 MB / 0.6799 GB, free: 101.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/1.056, allocations: 17.52 kB / 0.6799 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005139/1.056, allocations: 161.6 kB / 0.6801 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004331/1.06, allocations: 0.5969 MB / 0.6807 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/1.063, allocations: 0.9016 MB / 0.6816 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/1.064, allocations: 247.4 kB / 0.6818 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/1.064, allocations: 99.88 kB / 0.6819 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/1.066, allocations: 1.237 MB / 0.6831 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.568e-05/1.066, allocations: 2.25 kB / 0.6831 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001324/1.067, allocations: 43.59 kB / 0.6831 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-05/1.067, allocations: 24.59 kB / 0.6832 GB, free: 100.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/1.069, allocations: 1.088 MB / 0.6842 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007819/1.077, allocations: 4.308 MB / 0.6884 GB, free: 99.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002794/1.08, allocations: 1.723 MB / 0.6901 GB, free: 98.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.081, allocations: 0.705 MB / 0.6908 GB, free: 98.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/1.081, allocations: 18.38 kB / 0.6908 GB, free: 98.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/1.081, allocations: 41.78 kB / 0.6909 GB, free: 98.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 2.996e-06/1.081, allocations: 0 / 0.6909 GB, free: 98.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01247/1.093, allocations: 4.436 MB / 0.6952 GB, free: 98.13 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/1.093, allocations: 119.2 kB / 0.6953 GB, free: 98 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/1.095, allocations: 0.9249 MB / 0.6962 GB, free: 97.62 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00043/1.095, allocations: 44.92 kB / 0.6963 GB, free: 97.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/1.096, allocations: 0.6213 MB / 0.6969 GB, free: 97.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000499/1.096, allocations: 406.2 kB / 0.6973 GB, free: 96.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.859e-05/1.096, allocations: 19.81 kB / 0.6973 GB, free: 96.75 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.097, allocations: 350.2 kB / 0.6976 GB, free: 96.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009263/1.097, allocations: 0.5177 MB / 0.6981 GB, free: 96.19 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/1.098, allocations: 0.6884 MB / 0.6988 GB, free: 95.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/1.099, allocations: 0.5939 MB / 0.6994 GB, free: 95.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/1.099, allocations: 0 / 0.6994 GB, free: 95.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01287/1.112, allocations: 4.679 MB / 0.7039 GB, free: 94.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002939/1.113, allocations: 1.339 MB / 0.7052 GB, free: 93.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/1.113, allocations: 3.625 kB / 0.7052 GB, free: 93.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00541/1.118, allocations: 1.812 MB / 0.707 GB, free: 92.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/1.119, allocations: 176.6 kB / 0.7072 GB, free: 92.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/1.134, allocations: 7.723 MB / 0.7147 GB, free: 87.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/1.136, allocations: 231.3 kB / 0.7149 GB, free: 87.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001138/1.136, allocations: 43.61 kB / 0.715 GB, free: 87.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/1.136, allocations: 4 kB / 0.715 GB, free: 87.13 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01223/1.149, allocations: 4.515 MB / 0.7194 GB, free: 83.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.149, allocations: 4.188 kB / 0.7194 GB, free: 83.54 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005352/1.154, allocations: 1.809 MB / 0.7212 GB, free: 82.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00091/1.155, allocations: 173.8 kB / 0.7213 GB, free: 81.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/1.169, allocations: 7.681 MB / 0.7288 GB, free: 74.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/1.171, allocations: 217.9 kB / 0.729 GB, free: 74.78 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/1.171, allocations: 43.94 kB / 0.7291 GB, free: 74.74 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "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 () * 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.0003681/1.172, allocations: 172.6 kB / 0.7293 GB, free: 74.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003136/1.172, allocations: 153.7 kB / 0.7294 GB, free: 74.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/1.184, allocations: 4.558 MB / 0.7339 GB, free: 70.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.184, allocations: 12 kB / 0.7339 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.184, allocations: 0 / 0.7339 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.648e-05/1.185, allocations: 6.75 kB / 0.7339 GB, free: 70.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/1.199, allocations: 6.41 MB / 0.7401 GB, free: 65.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.568e-05/1.199, allocations: 0 / 0.7401 GB, free: 65.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/1.2, allocations: 147.8 kB / 0.7403 GB, free: 64.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005219/1.206, allocations: 1.746 MB / 0.742 GB, free: 63.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002944/1.206, allocations: 20 kB / 0.742 GB, free: 63.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/1.219, allocations: 6.693 MB / 0.7485 GB, free: 56.38 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/1.22, allocations: 3.938 kB / 0.7485 GB, free: 56.37 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01451/1.234, allocations: 5.421 MB / 0.7538 GB, free: 50.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007793/1.235, allocations: 234.9 kB / 0.7541 GB, free: 50.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006152/1.236, allocations: 27.98 kB / 0.7541 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.237, allocations: 163.9 kB / 0.7542 GB, free: 50.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006522/1.238, allocations: 212.6 kB / 0.7544 GB, free: 50.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/1.238, allocations: 31.98 kB / 0.7545 GB, free: 50.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009168/1.239, allocations: 0.7135 MB / 0.7552 GB, free: 49.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/1.239, allocations: 0 / 0.7552 GB, free: 49.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002187/1.241, allocations: 0.7838 MB / 0.7559 GB, free: 48.75 MB / 490.7 MB 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 () * 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.01358/1.255, allocations: 6.033 MB / 0.7618 GB, free: 42.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00973/1.264, allocations: 4.002 MB / 0.7657 GB, free: 38.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/1.264, allocations: 4 kB / 0.7657 GB, free: 38.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0042/1.269, allocations: 1.616 MB / 0.7673 GB, free: 37.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.27, allocations: 139.1 kB / 0.7674 GB, free: 36.92 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003996/1.274, allocations: 2.171 MB / 0.7696 GB, free: 34.71 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/1.275, allocations: 1.253 MB / 0.7708 GB, free: 33.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008671/1.275, allocations: 229.8 kB / 0.771 GB, free: 33.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005269/1.276, allocations: 0.5344 MB / 0.7715 GB, free: 32.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/1.276, allocations: 0 / 0.7715 GB, free: 32.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08209/1.358, allocations: 44.69 MB / 0.8152 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/1.358, allocations: 172 kB / 0.8153 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.365/4.723, allocations: 0 / 0.8153 GB, free: 4.277 MB / 0.4948 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)