Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_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.007976/0.007976, allocations: 170.3 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.538/1.538, allocations: 223.2 MB / 239 MB, free: 88 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 92.02 kB / 290.2 MB, free: 4.562 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4928/0.4928, allocations: 78.53 MB / 419.8 MB, free: 36.52 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004302, allocations: 12 kB / 499.8 MB, free: 7.027 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1523, allocations: 69.34 MB / 0.5558 GB, free: 1.691 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4931/0.6455, allocations: 99.33 MB / 0.6528 GB, free: 2.84 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.6458, allocations: 92.75 kB / 0.6529 GB, free: 2.789 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07389/0.7197, allocations: 28.84 MB / 0.6811 GB, free: 6.438 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7198, allocations: 0 / 0.6811 GB, free: 6.438 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.93e-05/0.7199, allocations: 27.94 kB / 0.6811 GB, free: 6.41 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005522/0.7254, allocations: 2.086 MB / 0.6831 GB, free: 4.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.7254, allocations: 12.02 kB / 0.6831 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002842/0.7257, allocations: 151.8 kB / 0.6833 GB, free: 4.102 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00328/0.729, allocations: 0.5834 MB / 0.6839 GB, free: 3.516 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001832/0.7309, allocations: 0.8423 MB / 0.6847 GB, free: 2.621 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/0.7311, allocations: 242.4 kB / 0.6849 GB, free: 2.352 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.7313, allocations: 96 kB / 0.685 GB, free: 2.258 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.7339, allocations: 1.399 MB / 0.6864 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.734, allocations: 0 / 0.6864 GB, free: 0.8164 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.7341, allocations: 44 kB / 0.6864 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.7341, allocations: 20 kB / 0.6864 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.7367, allocations: 1.288 MB / 0.6877 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006858/0.7435, allocations: 4.248 MB / 0.6918 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003372/0.7469, allocations: 1.843 MB / 0.6936 GB, free: 9.098 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.7471, allocations: 20.97 kB / 0.6937 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.7471, allocations: 47.5 kB / 0.6937 GB, free: 9.023 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 4.048e-06/0.7472, allocations: 9.5 kB / 0.6937 GB, free: 9.016 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.0295/0.7767, allocations: 8.716 MB / 0.7022 GB, free: 264 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.603e-05/0.7768, allocations: 115.8 kB / 0.7023 GB, free: 124 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.7785, allocations: 0.8604 MB / 0.7032 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003496/0.7788, allocations: 41.7 kB / 0.7032 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005038/0.7794, allocations: 0.5829 MB / 0.7038 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.7799, allocations: 374.5 kB / 0.7041 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.7799, allocations: 20 kB / 0.7042 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.7801, allocations: 353.9 kB / 0.7045 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001534/0.7816, allocations: 0.7209 MB / 0.7052 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001585/0.7832, allocations: 0.8925 MB / 0.7061 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.7848, allocations: 0.7877 MB / 0.7068 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/0.7848, allocations: 0 / 0.7068 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01515/0.8, allocations: 5.226 MB / 0.7119 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007205/0.8008, allocations: 1.498 MB / 0.7134 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.8008, allocations: 11.95 kB / 0.7134 GB, free: 4.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007143/0.808, allocations: 2.23 MB / 0.7156 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009169/0.8089, allocations: 159.7 kB / 0.7158 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/0.8337, allocations: 10.78 MB / 0.7263 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.8354, allocations: 203 kB / 0.7265 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/0.8355, allocations: 43.98 kB / 0.7265 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.8356, allocations: 8 kB / 0.7265 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0145/0.8501, allocations: 5.027 MB / 0.7314 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.8501, allocations: 4 kB / 0.7314 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006654/0.8568, allocations: 2.225 MB / 0.7336 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008588/0.8577, allocations: 151.8 kB / 0.7338 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/0.8821, allocations: 10.74 MB / 0.7442 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.8838, allocations: 187 kB / 0.7444 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.884, allocations: 39.98 kB / 0.7445 GB, free: 4.496 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.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: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0007768/0.8847, allocations: 359.8 kB / 0.7448 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/0.885, allocations: 134.4 kB / 0.7449 GB, free: 4.008 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/0.8997, allocations: 5.133 MB / 0.7499 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.8998, allocations: 12 kB / 0.75 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.8998, allocations: 4 kB / 0.75 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/0.8999, allocations: 11.97 kB / 0.75 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01916/0.9191, allocations: 6.9 MB / 0.7567 GB, free: 7.797 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.9191, allocations: 4 kB / 0.7567 GB, free: 7.793 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.92, allocations: 119.8 kB / 0.7568 GB, free: 7.676 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006609/0.9266, allocations: 2.168 MB / 0.7589 GB, free: 5.504 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002556/0.9269, allocations: 20 kB / 0.759 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/0.9478, allocations: 9.313 MB / 0.7681 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9478, allocations: 1.312 kB / 0.7681 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/0.9649, allocations: 6.185 MB / 0.7741 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005944/0.9655, allocations: 223.1 kB / 0.7743 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002992/0.9658, allocations: 20 kB / 0.7743 GB, free: 5.566 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/0.967, allocations: 143.9 kB / 0.7745 GB, free: 5.426 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006941/0.9677, allocations: 212.6 kB / 0.7747 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.053e-05/0.9678, allocations: 24 kB / 0.7747 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00104/0.9688, allocations: 0.666 MB / 0.7753 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9688, allocations: 3.938 kB / 0.7754 GB, free: 4.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00238/0.9712, allocations: 0.741 MB / 0.7761 GB, free: 3.777 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.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 (70): * Single equations (assignments): 69 * 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.01725/0.9885, allocations: 6.787 MB / 0.7827 GB, free: 12.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01282/1.001, allocations: 4.539 MB / 0.7871 GB, free: 8.391 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.001, allocations: 0 / 0.7871 GB, free: 8.391 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005217/1.007, allocations: 1.822 MB / 0.7889 GB, free: 6.559 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.008, allocations: 119.8 kB / 0.789 GB, free: 6.441 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3269/1.335, allocations: 14.67 MB / 0.8034 GB, free: 153.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/1.336, allocations: 1.195 MB / 0.8045 GB, free: 152.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006711/1.336, allocations: 98.39 kB / 0.8046 GB, free: 152.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006596/1.337, allocations: 0.4913 MB / 0.8051 GB, free: 152.7 MB / 0.573 GB Notification: Performance of SimCode: time 1.563e-06/1.337, allocations: 0 / 0.8051 GB, free: 152.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07902/1.416, allocations: 40.24 MB / 0.8444 GB, free: 151.1 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001816/1.416, allocations: 203.6 kB / 0.8446 GB, free: 150.8 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.623/5.039, allocations: 3.938 kB / 0.8446 GB, free: 150.8 MB / 0.573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)