Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_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.0009629/0.0009629, allocations: 174.7 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.23/1.23, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.0008101/0.0008101, allocations: 81.39 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4436/0.4436, allocations: 78.03 MB / 414.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.788e-05/3.79e-05, allocations: 8 kB / 491.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3244, allocations: 69.34 MB / 0.5481 GB, free: 20.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4491, allocations: 99.36 MB / 0.6451 GB, free: 1.039 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/0.4494, allocations: 87.89 kB / 0.6452 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07746/0.5268, allocations: 29.41 MB / 0.6739 GB, free: 3.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.5269, allocations: 0 / 0.6739 GB, free: 3.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001096/0.527, allocations: 28 kB / 0.6739 GB, free: 3.316 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005374/0.5324, allocations: 1.894 MB / 0.6758 GB, free: 1.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5324, allocations: 11.97 kB / 0.6758 GB, free: 1.359 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000354/0.5328, allocations: 168 kB / 0.6759 GB, free: 1.188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003375/0.5362, allocations: 0.5795 MB / 0.6765 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3174/0.8536, allocations: 0.8583 MB / 0.6773 GB, free: 102.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.8539, allocations: 245.5 kB / 0.6776 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.8542, allocations: 97 kB / 0.6777 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002228/0.8564, allocations: 1.177 MB / 0.6788 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.8564, allocations: 4.656 kB / 0.6788 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.8566, allocations: 44.36 kB / 0.6789 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.845e-05/0.8566, allocations: 27.3 kB / 0.6789 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.8584, allocations: 0.9925 MB / 0.6799 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006748/0.8651, allocations: 4.487 MB / 0.6842 GB, free: 100.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002763/0.8679, allocations: 1.567 MB / 0.6858 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.8691, allocations: 0.655 MB / 0.6864 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.8692, allocations: 18.27 kB / 0.6864 GB, free: 99.73 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.8693, allocations: 41.91 kB / 0.6865 GB, free: 99.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 4.689e-06/0.8693, allocations: 0 / 0.6865 GB, free: 99.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01276/0.882, allocations: 4.345 MB / 0.6907 GB, free: 99.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.8821, allocations: 118.8 kB / 0.6908 GB, free: 99.35 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.8834, allocations: 0.8777 MB / 0.6917 GB, free: 99.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.8837, allocations: 46.42 kB / 0.6917 GB, free: 99.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003258/0.884, allocations: 0.5913 MB / 0.6923 GB, free: 98.91 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.8843, allocations: 389.5 kB / 0.6927 GB, free: 98.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/0.8844, allocations: 27.75 kB / 0.6927 GB, free: 98.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.8845, allocations: 345.1 kB / 0.693 GB, free: 98.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007426/0.8852, allocations: 496.3 kB / 0.6935 GB, free: 98.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.886, allocations: 0.6669 MB / 0.6942 GB, free: 97.67 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008036/0.8868, allocations: 0.5463 MB / 0.6947 GB, free: 97.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.8869, allocations: 0 / 0.6947 GB, free: 97.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01211/0.899, allocations: 4.562 MB / 0.6991 GB, free: 96.45 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.8994, allocations: 1.677 MB / 0.7008 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.8994, allocations: 7.062 kB / 0.7008 GB, free: 94.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005207/0.9046, allocations: 1.818 MB / 0.7026 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007766/0.9054, allocations: 170.9 kB / 0.7027 GB, free: 94.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.9193, allocations: 7.716 MB / 0.7103 GB, free: 90.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.9209, allocations: 205.4 kB / 0.7105 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.9211, allocations: 40.81 kB / 0.7105 GB, free: 90.16 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9211, allocations: 7.344 kB / 0.7105 GB, free: 90.15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01159/0.9327, allocations: 4.406 MB / 0.7148 GB, free: 86.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.9328, allocations: 7.953 kB / 0.7148 GB, free: 86.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005101/0.9379, allocations: 1.816 MB / 0.7166 GB, free: 85.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/0.9386, allocations: 153.4 kB / 0.7167 GB, free: 85.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/0.9524, allocations: 7.701 MB / 0.7243 GB, free: 78.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.954, allocations: 184.5 kB / 0.7244 GB, free: 78.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.321e-05/0.9541, allocations: 47.84 kB / 0.7245 GB, free: 77.98 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0003134/0.9544, allocations: 177.6 kB / 0.7246 GB, free: 77.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.9546, allocations: 142.3 kB / 0.7248 GB, free: 77.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.9664, allocations: 4.462 MB / 0.7291 GB, free: 74.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.9664, allocations: 12 kB / 0.7292 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9665, allocations: 0 / 0.7292 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.9665, allocations: 7.312 kB / 0.7292 GB, free: 74.17 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01341/0.9799, allocations: 6.246 MB / 0.7353 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.9799, allocations: 4 kB / 0.7353 GB, free: 69.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.9805, allocations: 127.8 kB / 0.7354 GB, free: 68.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004746/0.9853, allocations: 1.734 MB / 0.7371 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/0.9854, allocations: 27.98 kB / 0.7371 GB, free: 67.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.997, allocations: 6.69 MB / 0.7436 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.997, allocations: 3.938 kB / 0.7436 GB, free: 60.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01254/1.01, allocations: 5.264 MB / 0.7488 GB, free: 55.06 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/1.01, allocations: 234.7 kB / 0.749 GB, free: 54.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.01, allocations: 16 kB / 0.749 GB, free: 54.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/1.011, allocations: 147.9 kB / 0.7492 GB, free: 54.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005286/1.012, allocations: 212.1 kB / 0.7494 GB, free: 54.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/1.012, allocations: 23.98 kB / 0.7494 GB, free: 54.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007392/1.013, allocations: 0.6843 MB / 0.7501 GB, free: 53.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.013, allocations: 4 kB / 0.7501 GB, free: 53.73 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001851/1.014, allocations: 0.757 MB / 0.7508 GB, free: 52.98 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,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.01296/1.027, allocations: 5.877 MB / 0.7565 GB, free: 47.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009404/1.037, allocations: 3.851 MB / 0.7603 GB, free: 43.21 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/1.037, allocations: 0 / 0.7603 GB, free: 43.21 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003961/1.041, allocations: 1.575 MB / 0.7618 GB, free: 41.63 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/1.042, allocations: 129.8 kB / 0.762 GB, free: 41.51 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/1.046, allocations: 1.989 MB / 0.7639 GB, free: 39.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/1.047, allocations: 1.21 MB / 0.7651 GB, free: 38.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008155/1.048, allocations: 179.9 kB / 0.7653 GB, free: 38.08 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006215/1.048, allocations: 0.4993 MB / 0.7657 GB, free: 37.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.112e-06/1.048, allocations: 0 / 0.7657 GB, free: 37.58 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06398/1.112, allocations: 42.87 MB / 0.8076 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.113, allocations: 174.2 kB / 0.8078 GB, free: 10.97 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/4.283, allocations: 0 / 0.8078 GB, free: 10.97 MB / 0.4948 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)