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.001041/0.001041, 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 3.2.3+maint.om/package.mo): time 1.33/1.33, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008103/0.0008105, allocations: 86.59 kB / 266.6 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06264/0.06264, allocations: 12.19 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2728/0.2728, allocations: 78.03 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.461e-05, allocations: 11.98 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 69.24 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3887/0.5062, allocations: 100.9 MB / 0.6875 GB, free: 15.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.5065, allocations: 90 kB / 0.6876 GB, free: 15.35 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07122/0.5777, allocations: 28.66 MB / 0.7156 GB, free: 7.211 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5778, allocations: 4 kB / 0.7156 GB, free: 7.207 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.537e-05/0.5779, allocations: 31.94 kB / 0.7156 GB, free: 7.176 MB / 458.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.005142/0.583, allocations: 1.893 MB / 0.7175 GB, free: 5.367 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5831, allocations: 15.98 kB / 0.7175 GB, free: 5.352 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003827/0.5835, allocations: 152.4 kB / 0.7176 GB, free: 5.262 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.587, allocations: 0.5835 MB / 0.7182 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/0.5892, allocations: 0.8749 MB / 0.719 GB, free: 3.977 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002391/0.5895, allocations: 248.8 kB / 0.7193 GB, free: 3.734 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/0.5897, allocations: 94.55 kB / 0.7194 GB, free: 3.672 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001989/0.5917, allocations: 1.175 MB / 0.7205 GB, free: 2.855 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.5918, allocations: 4 kB / 0.7205 GB, free: 2.852 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.5919, allocations: 41.31 kB / 0.7206 GB, free: 2.844 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.5919, allocations: 24 kB / 0.7206 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001677/0.5936, allocations: 0.9966 MB / 0.7216 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007367/0.601, allocations: 4.491 MB / 0.7259 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.6033, allocations: 1.561 MB / 0.7275 GB, free: 13.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008835/0.6043, allocations: 0.6593 MB / 0.7281 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.6044, allocations: 16.94 kB / 0.7281 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.6044, allocations: 42.81 kB / 0.7282 GB, free: 12.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 4.318e-06/0.6044, allocations: 4 kB / 0.7282 GB, free: 12.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=110): time 0.01239/0.6168, allocations: 4.345 MB / 0.7324 GB, free: 9.066 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.6169, allocations: 111.8 kB / 0.7325 GB, free: 8.934 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.6183, allocations: 0.8932 MB / 0.7334 GB, free: 8.254 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000173/0.6184, allocations: 43.33 kB / 0.7334 GB, free: 8.219 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.6188, allocations: 0.5957 MB / 0.734 GB, free: 7.879 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.6193, allocations: 383.5 kB / 0.7344 GB, free: 7.547 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.701e-05/0.6194, allocations: 22.44 kB / 0.7344 GB, free: 7.543 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.6195, allocations: 354.2 kB / 0.7347 GB, free: 7.207 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008277/0.6203, allocations: 490.7 kB / 0.7352 GB, free: 6.945 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.6213, allocations: 0.6676 MB / 0.7359 GB, free: 6.453 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008841/0.6222, allocations: 0.5471 MB / 0.7364 GB, free: 6.133 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.6222, allocations: 0 / 0.7364 GB, free: 6.133 MB / 474.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01304/0.6352, allocations: 4.564 MB / 0.7408 GB, free: 2.215 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005839/0.6359, allocations: 1.68 MB / 0.7425 GB, free: 472 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.6359, allocations: 8 kB / 0.7425 GB, free: 464 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005902/0.6418, allocations: 1.813 MB / 0.7443 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/0.6427, allocations: 167.3 kB / 0.7444 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.6589, allocations: 7.728 MB / 0.752 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.6605, allocations: 207 kB / 0.7522 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001776/0.6607, allocations: 39.98 kB / 0.7522 GB, free: 7.074 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.6607, allocations: 4 kB / 0.7522 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/0.6732, allocations: 4.403 MB / 0.7565 GB, free: 2.656 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.6732, allocations: 8 kB / 0.7565 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005638/0.6789, allocations: 1.816 MB / 0.7583 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.6798, allocations: 155.8 kB / 0.7584 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.696, allocations: 7.7 MB / 0.766 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001575/0.6976, allocations: 187.1 kB / 0.7661 GB, free: 8.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.6979, allocations: 39.98 kB / 0.7662 GB, free: 8.621 MB / 0.4948 GB 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.0004268/0.6983, allocations: 174.3 kB / 0.7663 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003831/0.6987, allocations: 142.2 kB / 0.7665 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.7114, allocations: 4.463 MB / 0.7708 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.7115, allocations: 12 kB / 0.7708 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.7115, allocations: 0 / 0.7708 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.528e-05/0.7115, allocations: 7.969 kB / 0.7709 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0155/0.727, allocations: 6.253 MB / 0.777 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.311e-05/0.7271, allocations: 0 / 0.777 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009903/0.7281, allocations: 131.8 kB / 0.7771 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00559/0.7337, allocations: 1.731 MB / 0.7788 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002979/0.7341, allocations: 27.98 kB / 0.7788 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01371/0.7478, allocations: 6.688 MB / 0.7853 GB, free: 4.703 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7478, allocations: 4 kB / 0.7853 GB, free: 4.699 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.7621, allocations: 5.268 MB / 0.7905 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004867/0.7626, allocations: 231 kB / 0.7907 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/0.7629, allocations: 19.94 kB / 0.7907 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.7642, allocations: 143.9 kB / 0.7909 GB, free: 15 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/0.7648, allocations: 208.6 kB / 0.7911 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.7649, allocations: 23.94 kB / 0.7911 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001062/0.766, allocations: 0.6884 MB / 0.7918 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.766, allocations: 0 / 0.7918 GB, free: 14.08 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002323/0.7684, allocations: 0.7566 MB / 0.7925 GB, free: 13.32 MB / 0.5261 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 () * 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.01468/0.783, allocations: 5.882 MB / 0.7982 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01032/0.7934, allocations: 3.881 MB / 0.802 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.7935, allocations: 0 / 0.802 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004501/0.798, allocations: 1.556 MB / 0.8035 GB, free: 1.918 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.7992, allocations: 119.3 kB / 0.8037 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.8038, allocations: 2 MB / 0.8056 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007242/0.8045, allocations: 1.213 MB / 0.8068 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008275/0.8054, allocations: 179.4 kB / 0.807 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005804/0.8059, allocations: 0.4993 MB / 0.8075 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of SimCode: time 9.02e-07/0.806, allocations: 4 kB / 0.8075 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06456/0.8705, allocations: 42.95 MB / 0.8494 GB, free: 2.961 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.8708, allocations: 180.9 kB / 0.8496 GB, free: 2.734 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.092/3.963, allocations: 0 / 0.8496 GB, free: 2.734 MB / 0.573 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)