Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_release_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.005079/0.005079, allocations: 169.4 kB / 15.11 MB, free: 5.582 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.308/1.308, allocations: 223.2 MB / 239 MB, free: 1.789 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008453, allocations: 98.58 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4252/0.4252, allocations: 78.59 MB / 419.9 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.000409, allocations: 12 kB / 499.9 MB, free: 2.832 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3423, allocations: 69.34 MB / 0.5559 GB, free: 38.67 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1129/0.4552, allocations: 99.34 MB / 0.6529 GB, free: 7.141 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.4555, allocations: 92.72 kB / 0.653 GB, free: 7.051 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07632/0.5319, allocations: 28.84 MB / 0.6811 GB, free: 10.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.5319, allocations: 0 / 0.6811 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.532, allocations: 27.94 kB / 0.6812 GB, free: 10.05 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.008433/0.5405, allocations: 2.088 MB / 0.6832 GB, free: 7.902 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/0.5405, allocations: 12.03 kB / 0.6832 GB, free: 7.891 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005692/0.5411, allocations: 151.9 kB / 0.6833 GB, free: 7.734 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005537/0.5467, allocations: 0.5795 MB / 0.6839 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003237/0.5499, allocations: 0.8423 MB / 0.6847 GB, free: 6.258 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003585/0.5503, allocations: 238.4 kB / 0.685 GB, free: 5.992 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004354/0.5508, allocations: 107.9 kB / 0.6851 GB, free: 5.887 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/0.5558, allocations: 1.395 MB / 0.6864 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/0.5558, allocations: 0 / 0.6864 GB, free: 4.449 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000219/0.5561, allocations: 40 kB / 0.6865 GB, free: 4.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.733e-05/0.5561, allocations: 24 kB / 0.6865 GB, free: 4.387 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/0.5604, allocations: 1.288 MB / 0.6877 GB, free: 3.094 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01056/0.571, allocations: 4.252 MB / 0.6919 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005236/0.5763, allocations: 1.843 MB / 0.6937 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.5765, allocations: 16.98 kB / 0.6937 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.5765, allocations: 43.56 kB / 0.6938 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=107): time 7.443e-06/0.5765, allocations: 4 kB / 0.6938 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.04332/0.6199, allocations: 8.728 MB / 0.7023 GB, free: 3.883 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.577e-05/0.62, allocations: 115.8 kB / 0.7024 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001241/0.6212, allocations: 0.8643 MB / 0.7032 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.6214, allocations: 41.7 kB / 0.7033 GB, free: 2.824 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.6218, allocations: 0.5829 MB / 0.7039 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003383/0.6222, allocations: 374.5 kB / 0.7042 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.6223, allocations: 20 kB / 0.7042 GB, free: 1.844 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.6224, allocations: 349.9 kB / 0.7046 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.6239, allocations: 0.7209 MB / 0.7053 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/0.6254, allocations: 0.8964 MB / 0.7061 GB, free: 15.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.6269, allocations: 0.7877 MB / 0.7069 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.6269, allocations: 0 / 0.7069 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01497/0.6419, allocations: 5.222 MB / 0.712 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000474/0.6424, allocations: 1.502 MB / 0.7135 GB, free: 8.191 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/0.6425, allocations: 11.95 kB / 0.7135 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007926/0.6504, allocations: 2.229 MB / 0.7157 GB, free: 5.945 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.6517, allocations: 163.7 kB / 0.7158 GB, free: 5.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04472/0.6964, allocations: 10.77 MB / 0.7263 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.6991, allocations: 206.9 kB / 0.7265 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.6993, allocations: 40 kB / 0.7266 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6993, allocations: 8 kB / 0.7266 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02311/0.7224, allocations: 5.027 MB / 0.7315 GB, free: 5.594 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.7225, allocations: 8 kB / 0.7315 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006594/0.7291, allocations: 2.229 MB / 0.7337 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007401/0.7299, allocations: 151.8 kB / 0.7338 GB, free: 3.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0226/0.7525, allocations: 10.73 MB / 0.7443 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/0.754, allocations: 191 kB / 0.7445 GB, free: 8.145 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.558e-05/0.7541, allocations: 32 kB / 0.7445 GB, free: 8.113 MB / 0.5417 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.0006618/0.7547, allocations: 362.5 kB / 0.7449 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.7549, allocations: 134.4 kB / 0.745 GB, free: 7.621 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01432/0.7693, allocations: 5.141 MB / 0.75 GB, free: 2.465 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.7693, allocations: 8 kB / 0.75 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7693, allocations: 4 kB / 0.75 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-05/0.7694, allocations: 7.984 kB / 0.75 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0179/0.7873, allocations: 6.893 MB / 0.7568 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.7873, allocations: 0 / 0.7568 GB, free: 11.42 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007496/0.7881, allocations: 131.8 kB / 0.7569 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006274/0.7944, allocations: 2.168 MB / 0.759 GB, free: 9.117 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.7945, allocations: 20 kB / 0.759 GB, free: 9.098 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2608/1.055, allocations: 9.311 MB / 0.7681 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/1.055, allocations: 0.5625 kB / 0.7681 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01791/1.073, allocations: 6.185 MB / 0.7742 GB, free: 143.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005025/1.074, allocations: 218 kB / 0.7744 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001896/1.074, allocations: 28 kB / 0.7744 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.075, allocations: 140 kB / 0.7745 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006289/1.076, allocations: 209.4 kB / 0.7747 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/1.076, allocations: 22.38 kB / 0.7747 GB, free: 143.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007908/1.077, allocations: 0.6708 MB / 0.7754 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.077, allocations: 0 / 0.7754 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002038/1.079, allocations: 0.7488 MB / 0.7761 GB, free: 143.4 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.016/1.095, allocations: 6.791 MB / 0.7828 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.106, allocations: 4.542 MB / 0.7872 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.106, allocations: 0 / 0.7872 GB, free: 142.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004465/1.11, allocations: 1.815 MB / 0.789 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000834/1.111, allocations: 110.5 kB / 0.7891 GB, free: 141.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/1.136, allocations: 14.68 MB / 0.8034 GB, free: 136.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/1.137, allocations: 1.19 MB / 0.8046 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005617/1.138, allocations: 102.5 kB / 0.8047 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/1.138, allocations: 0.4917 MB / 0.8051 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/1.138, allocations: 0 / 0.8051 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/1.202, allocations: 40.27 MB / 0.8445 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/1.202, allocations: 204.7 kB / 0.8447 GB, free: 128 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.013/4.215, allocations: 0 / 0.8447 GB, free: 128 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)