Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.006355/0.006355, allocations: 170.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008568/0.0008567, allocations: 94.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06383/0.06384, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4303/0.4303, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000794/0.0007942, allocations: 18.72 kB / 0.528 GB, free: 35.49 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.126, allocations: 69.24 MB / 0.5956 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4604/0.5864, allocations: 101 MB / 0.6943 GB, free: 35.37 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5868, allocations: 90.77 kB / 0.6944 GB, free: 35.37 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07526/0.662, allocations: 28.76 MB / 0.7225 GB, free: 32.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6621, allocations: 0 / 0.7225 GB, free: 32.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001415/0.6622, allocations: 31.25 kB / 0.7225 GB, free: 32.88 MB / 474.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.006706/0.6689, allocations: 2.145 MB / 0.7246 GB, free: 31.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.669, allocations: 13.05 kB / 0.7246 GB, free: 31.92 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005609/0.6696, allocations: 150.6 kB / 0.7247 GB, free: 31.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003668/0.6733, allocations: 0.5924 MB / 0.7253 GB, free: 31.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002622/0.6759, allocations: 0.8869 MB / 0.7262 GB, free: 31.41 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.6762, allocations: 238.6 kB / 0.7264 GB, free: 31.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.6765, allocations: 94.22 kB / 0.7265 GB, free: 31.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.6793, allocations: 1.437 MB / 0.7279 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.6793, allocations: 3.875 kB / 0.7279 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/0.6794, allocations: 40.34 kB / 0.7279 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.6794, allocations: 23.38 kB / 0.728 GB, free: 31.05 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002477/0.6819, allocations: 1.311 MB / 0.7292 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006552/0.6885, allocations: 4.476 MB / 0.7336 GB, free: 29.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.6913, allocations: 1.859 MB / 0.7354 GB, free: 28.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001261/0.6915, allocations: 16.55 kB / 0.7354 GB, free: 28.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.6915, allocations: 50.75 kB / 0.7355 GB, free: 28.54 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 2.645e-06/0.6915, allocations: 3.938 kB / 0.7355 GB, free: 28.53 MB / 474.7 MB Notification: Performance of matching and sorting (n=110): time 0.0268/0.7183, allocations: 8.929 MB / 0.7442 GB, free: 27.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.7184, allocations: 119.5 kB / 0.7443 GB, free: 27.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.7201, allocations: 0.9024 MB / 0.7452 GB, free: 27.12 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002523/0.7204, allocations: 40.55 kB / 0.7453 GB, free: 27.09 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.7207, allocations: 0.593 MB / 0.7458 GB, free: 26.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.7212, allocations: 391.9 kB / 0.7462 GB, free: 26.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.7213, allocations: 21.91 kB / 0.7462 GB, free: 26.55 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.7214, allocations: 343.8 kB / 0.7466 GB, free: 26.23 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001338/0.7228, allocations: 0.7278 MB / 0.7473 GB, free: 26.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.7242, allocations: 0.9183 MB / 0.7482 GB, free: 25.81 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.7256, allocations: 0.7887 MB / 0.7489 GB, free: 25.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.7256, allocations: 3.969 kB / 0.7489 GB, free: 25.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.013/0.7386, allocations: 5.27 MB / 0.7541 GB, free: 24.21 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003527/0.739, allocations: 1.682 MB / 0.7557 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.7391, allocations: 3.906 kB / 0.7557 GB, free: 22.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006108/0.7452, allocations: 2.243 MB / 0.7579 GB, free: 21.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008829/0.7461, allocations: 167.8 kB / 0.7581 GB, free: 21.83 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02169/0.7678, allocations: 10.77 MB / 0.7686 GB, free: 18.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.7698, allocations: 213.8 kB / 0.7688 GB, free: 18.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002859/0.7701, allocations: 41.98 kB / 0.7688 GB, free: 18.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7701, allocations: 3.906 kB / 0.7688 GB, free: 18.48 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01309/0.7832, allocations: 5.057 MB / 0.7738 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.7833, allocations: 3.562 kB / 0.7738 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006198/0.7895, allocations: 2.252 MB / 0.776 GB, free: 16.49 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.7905, allocations: 154.5 kB / 0.7761 GB, free: 16.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02274/0.8132, allocations: 10.76 MB / 0.7866 GB, free: 8.992 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/0.8153, allocations: 194.8 kB / 0.7868 GB, free: 8.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003817/0.8157, allocations: 35.06 kB / 0.7869 GB, free: 8.793 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.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: 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 () * Number of clocked 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.001248/0.8169, allocations: 373.5 kB / 0.7872 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.8176, allocations: 138.3 kB / 0.7874 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/0.8333, allocations: 5.159 MB / 0.7924 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.8334, allocations: 15.94 kB / 0.7924 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8334, allocations: 0 / 0.7924 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-05/0.8335, allocations: 3.984 kB / 0.7924 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/0.8533, allocations: 6.959 MB / 0.7992 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.8534, allocations: 0 / 0.7992 GB, free: 12.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008962/0.8543, allocations: 127.8 kB / 0.7993 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006974/0.8613, allocations: 2.16 MB / 0.8014 GB, free: 10.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003668/0.8617, allocations: 27.98 kB / 0.8015 GB, free: 10.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/0.8842, allocations: 9.3 MB / 0.8105 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.8843, allocations: 0 / 0.8105 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01905/0.9033, allocations: 6.225 MB / 0.8166 GB, free: 10.43 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.9046, allocations: 231.1 kB / 0.8168 GB, free: 10.18 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009031/0.9056, allocations: 20 kB / 0.8169 GB, free: 10.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.9075, allocations: 143.9 kB / 0.817 GB, free: 10.02 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009549/0.9085, allocations: 208.6 kB / 0.8172 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002041/0.9087, allocations: 23.98 kB / 0.8172 GB, free: 9.797 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.001795/0.9106, allocations: 0.6985 MB / 0.8179 GB, free: 9.094 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.91e-07/0.9106, allocations: 0 / 0.8179 GB, free: 9.094 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.004622/0.9152, allocations: 0.7565 MB / 0.8186 GB, free: 8.336 MB / 0.4949 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,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 () * Number of clocked 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.01878/0.934, allocations: 6.836 MB / 0.8253 GB, free: 1.473 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01212/0.9462, allocations: 4.588 MB / 0.8298 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.9463, allocations: 3.938 kB / 0.8298 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004925/0.9512, allocations: 1.818 MB / 0.8316 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.9524, allocations: 128.7 kB / 0.8317 GB, free: 10.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03375/0.9861, allocations: 15.29 MB / 0.8466 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.9873, allocations: 1.219 MB / 0.8478 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008256/0.9881, allocations: 107.5 kB / 0.8479 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000764/0.9889, allocations: 0.511 MB / 0.8484 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/0.9889, allocations: 0 / 0.8484 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07633/1.065, allocations: 41.05 MB / 0.8885 GB, free: 412 kB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/1.066, allocations: 206.9 kB / 0.8887 GB, free: 164 kB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/4.319, allocations: 0 / 0.8887 GB, free: 164 kB / 0.5574 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)