Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001028/0.001028, 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 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0007517/0.0007517, allocations: 93.89 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06756/0.06756, allocations: 12.21 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2735/0.2735, allocations: 78.02 MB / 455.7 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.628e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.122, allocations: 69.25 MB / 0.5889 GB, free: 2.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4379/0.5599, allocations: 100.8 MB / 0.6874 GB, free: 15.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.5602, allocations: 84.64 kB / 0.6875 GB, free: 15.46 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07134/0.6315, allocations: 27.99 MB / 0.7148 GB, free: 7.875 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6316, allocations: 0.875 kB / 0.7148 GB, free: 7.875 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.498e-05/0.6317, allocations: 31.88 kB / 0.7148 GB, free: 7.844 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004972/0.6366, allocations: 1.862 MB / 0.7167 GB, free: 6.062 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.6367, allocations: 19.98 kB / 0.7167 GB, free: 6.043 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002672/0.637, allocations: 149.9 kB / 0.7168 GB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/0.6403, allocations: 0.5746 MB / 0.7174 GB, free: 5.418 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.642, allocations: 0.8466 MB / 0.7182 GB, free: 4.695 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002248/0.6422, allocations: 242.4 kB / 0.7184 GB, free: 4.457 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.6424, allocations: 92.75 kB / 0.7185 GB, free: 4.398 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.6443, allocations: 1.152 MB / 0.7197 GB, free: 3.605 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.6443, allocations: 0 / 0.7197 GB, free: 3.605 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.6444, allocations: 37 kB / 0.7197 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.6444, allocations: 27.94 kB / 0.7197 GB, free: 3.57 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.646, allocations: 0.9774 MB / 0.7207 GB, free: 2.953 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006116/0.6521, allocations: 4.263 MB / 0.7248 GB, free: 15.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/0.6546, allocations: 1.547 MB / 0.7264 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000934/0.6556, allocations: 0.65 MB / 0.727 GB, free: 13.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.6557, allocations: 16.98 kB / 0.727 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.6557, allocations: 46.5 kB / 0.727 GB, free: 13.81 MB / 474.7 MB Notification: Performance of pre-optimization done (n=107): time 3.687e-06/0.6558, allocations: 0 / 0.727 GB, free: 13.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.01314/0.6689, allocations: 4.295 MB / 0.7312 GB, free: 10.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.683e-05/0.669, allocations: 119.8 kB / 0.7314 GB, free: 9.949 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/0.6704, allocations: 0.8524 MB / 0.7322 GB, free: 9.297 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003169/0.6707, allocations: 46.2 kB / 0.7322 GB, free: 9.262 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.6711, allocations: 0.5777 MB / 0.7328 GB, free: 8.934 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.6715, allocations: 377.4 kB / 0.7332 GB, free: 8.609 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.6716, allocations: 25.19 kB / 0.7332 GB, free: 8.602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.6717, allocations: 344.5 kB / 0.7335 GB, free: 8.273 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007854/0.6725, allocations: 480.1 kB / 0.734 GB, free: 8.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/0.6734, allocations: 0.6443 MB / 0.7346 GB, free: 7.551 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008248/0.6742, allocations: 0.5356 MB / 0.7351 GB, free: 7.238 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6743, allocations: 4 kB / 0.7351 GB, free: 7.234 MB / 474.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01292/0.6872, allocations: 4.532 MB / 0.7395 GB, free: 3.344 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005344/0.6878, allocations: 1.501 MB / 0.741 GB, free: 1.77 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6878, allocations: 4 kB / 0.741 GB, free: 1.766 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00562/0.6934, allocations: 1.799 MB / 0.7428 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008152/0.6943, allocations: 166.4 kB / 0.7429 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01577/0.71, allocations: 7.719 MB / 0.7505 GB, free: 8.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.7117, allocations: 210.9 kB / 0.7507 GB, free: 8.699 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.7119, allocations: 36 kB / 0.7507 GB, free: 8.664 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.7119, allocations: 4 kB / 0.7507 GB, free: 8.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01272/0.7246, allocations: 4.371 MB / 0.755 GB, free: 4.277 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.7247, allocations: 4 kB / 0.755 GB, free: 4.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005804/0.7305, allocations: 1.812 MB / 0.7568 GB, free: 2.457 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007728/0.7313, allocations: 143.8 kB / 0.7569 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0155/0.7469, allocations: 7.708 MB / 0.7644 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.7484, allocations: 191 kB / 0.7646 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.946e-05/0.7486, allocations: 39.98 kB / 0.7646 GB, free: 10.25 MB / 0.4948 GB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "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 () * 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.0003125/0.7489, allocations: 165.5 kB / 0.7648 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002338/0.7491, allocations: 134.4 kB / 0.7649 GB, free: 9.953 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.762, allocations: 4.431 MB / 0.7692 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.7621, allocations: 8 kB / 0.7693 GB, free: 5.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.7621, allocations: 4 kB / 0.7693 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.642e-05/0.7621, allocations: 19.86 kB / 0.7693 GB, free: 5.477 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01507/0.7772, allocations: 6.198 MB / 0.7753 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.7773, allocations: 0 / 0.7753 GB, free: 15.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007462/0.778, allocations: 119.9 kB / 0.7754 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/0.7833, allocations: 1.742 MB / 0.7771 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.7835, allocations: 20 kB / 0.7772 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.7967, allocations: 6.704 MB / 0.7837 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.7967, allocations: 4 kB / 0.7837 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.8106, allocations: 5.233 MB / 0.7888 GB, free: 1.164 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004817/0.8111, allocations: 223.2 kB / 0.789 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.8113, allocations: 20 kB / 0.7891 GB, free: 0.9062 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.8124, allocations: 139.9 kB / 0.7892 GB, free: 0.7695 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005911/0.813, allocations: 204.6 kB / 0.7894 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.813, allocations: 31.95 kB / 0.7894 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008646/0.8139, allocations: 0.6598 MB / 0.7901 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8139, allocations: 0 / 0.7901 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00201/0.8159, allocations: 0.7409 MB / 0.7908 GB, free: 15.13 MB / 0.5261 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 () * 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.01398/0.8299, allocations: 5.839 MB / 0.7965 GB, free: 9.254 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009853/0.8398, allocations: 3.825 MB / 0.8002 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.877e-06/0.8399, allocations: 0 / 0.8002 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004306/0.8442, allocations: 1.556 MB / 0.8017 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008753/0.8451, allocations: 120.4 kB / 0.8019 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.8487, allocations: 1.916 MB / 0.8037 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.8494, allocations: 1.197 MB / 0.8049 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006832/0.8501, allocations: 171 kB / 0.8051 GB, free: 360 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/0.8507, allocations: 499.4 kB / 0.8055 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of SimCode: time 1.853e-06/0.8507, allocations: 0 / 0.8055 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06647/0.9172, allocations: 42.19 MB / 0.8467 GB, free: 5.742 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.9174, allocations: 182.1 kB / 0.8469 GB, free: 5.516 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.046/3.963, allocations: 0 / 0.8469 GB, free: 5.516 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)