Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.006211/0.006211, allocations: 169.5 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.495/1.495, allocations: 223.2 MB / 239 MB, free: 1.793 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.000932/0.0009319, allocations: 103 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5121/0.5121, allocations: 78.52 MB / 419.8 MB, free: 43.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003742/0.0003743, allocations: 8 kB / 499.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4856, allocations: 69.34 MB / 0.5558 GB, free: 38.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1463/0.632, allocations: 99.44 MB / 0.6529 GB, free: 6.934 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.6323, allocations: 83.95 kB / 0.653 GB, free: 6.852 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08033/0.7127, allocations: 29.51 MB / 0.6818 GB, free: 9.191 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.7127, allocations: 0 / 0.6818 GB, free: 9.191 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.084e-05/0.7128, allocations: 28 kB / 0.6818 GB, free: 9.164 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.005967/0.7188, allocations: 2.146 MB / 0.6839 GB, free: 6.961 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.7189, allocations: 8.031 kB / 0.6839 GB, free: 6.953 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005029/0.7194, allocations: 156 kB / 0.6841 GB, free: 6.793 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003727/0.7231, allocations: 0.5912 MB / 0.6847 GB, free: 6.199 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002399/0.7256, allocations: 0.8779 MB / 0.6855 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002693/0.7259, allocations: 242.4 kB / 0.6858 GB, free: 5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.726, allocations: 96 kB / 0.6858 GB, free: 4.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002891/0.7289, allocations: 1.436 MB / 0.6873 GB, free: 3.422 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.729, allocations: 4 kB / 0.6873 GB, free: 3.418 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.7291, allocations: 40 kB / 0.6873 GB, free: 3.379 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.7291, allocations: 24 kB / 0.6873 GB, free: 3.355 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002692/0.7318, allocations: 1.3 MB / 0.6886 GB, free: 2.051 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.7391, allocations: 4.484 MB / 0.693 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.7425, allocations: 1.871 MB / 0.6948 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.7427, allocations: 13 kB / 0.6948 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/0.7427, allocations: 47.56 kB / 0.6948 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=110): time 3.567e-06/0.7427, allocations: 0 / 0.6948 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.03095/0.7737, allocations: 8.923 MB / 0.7036 GB, free: 2.379 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/0.7738, allocations: 119.8 kB / 0.7037 GB, free: 2.238 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/0.7755, allocations: 0.8975 MB / 0.7046 GB, free: 1.332 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003403/0.7758, allocations: 45.7 kB / 0.7046 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004847/0.7763, allocations: 0.587 MB / 0.7052 GB, free: 0.6875 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004473/0.7768, allocations: 390.3 kB / 0.7055 GB, free: 308 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/0.7768, allocations: 24 kB / 0.7056 GB, free: 284 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.777, allocations: 349.9 kB / 0.7059 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.7786, allocations: 0.7287 MB / 0.7066 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/0.7803, allocations: 0.9177 MB / 0.7075 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.7818, allocations: 0.7888 MB / 0.7083 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.7819, allocations: 0 / 0.7083 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01609/0.798, allocations: 5.277 MB / 0.7134 GB, free: 8.133 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001258/0.7993, allocations: 1.684 MB / 0.7151 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.7993, allocations: 8 kB / 0.7151 GB, free: 6.336 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007712/0.8071, allocations: 2.237 MB / 0.7173 GB, free: 4.094 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.8082, allocations: 167.8 kB / 0.7174 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/0.8342, allocations: 10.76 MB / 0.7279 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.8361, allocations: 214.8 kB / 0.7281 GB, free: 8.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.8364, allocations: 40 kB / 0.7282 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.8364, allocations: 4 kB / 0.7282 GB, free: 8.773 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01495/0.8514, allocations: 5.062 MB / 0.7331 GB, free: 3.703 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/0.8515, allocations: 7.938 kB / 0.7331 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006936/0.8584, allocations: 2.249 MB / 0.7353 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/0.8593, allocations: 159.8 kB / 0.7355 GB, free: 1.285 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02465/0.884, allocations: 10.73 MB / 0.746 GB, free: 6.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.8858, allocations: 199 kB / 0.7462 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.8861, allocations: 39.98 kB / 0.7462 GB, free: 6.176 MB / 0.5417 GB 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.001153/0.8872, allocations: 359.6 kB / 0.7465 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005319/0.8878, allocations: 138.3 kB / 0.7467 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01519/0.903, allocations: 5.166 MB / 0.7517 GB, free: 0.5078 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.9031, allocations: 11.98 kB / 0.7517 GB, free: 0.4961 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.9031, allocations: 3.953 kB / 0.7517 GB, free: 0.4922 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.274e-05/0.9031, allocations: 7.984 kB / 0.7517 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/0.9225, allocations: 6.952 MB / 0.7585 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.069e-05/0.9227, allocations: 0 / 0.7585 GB, free: 9.395 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009576/0.9236, allocations: 127.8 kB / 0.7586 GB, free: 9.27 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006505/0.9302, allocations: 2.164 MB / 0.7608 GB, free: 7.102 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002795/0.9305, allocations: 24 kB / 0.7608 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.368/1.299, allocations: 9.292 MB / 0.7699 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/1.299, allocations: 8.453 kB / 0.7699 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/1.316, allocations: 6.213 MB / 0.7759 GB, free: 142.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/1.317, allocations: 230 kB / 0.7761 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004842/1.317, allocations: 24.25 kB / 0.7762 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/1.319, allocations: 147.6 kB / 0.7763 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007286/1.32, allocations: 207.7 kB / 0.7765 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001645/1.32, allocations: 27.75 kB / 0.7765 GB, free: 142.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001395/1.321, allocations: 0.692 MB / 0.7772 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.81e-07/1.321, allocations: 0 / 0.7772 GB, free: 142.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002923/1.324, allocations: 0.7614 MB / 0.778 GB, free: 142.1 MB / 0.5573 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.01611/1.34, allocations: 6.823 MB / 0.7846 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01194/1.352, allocations: 4.586 MB / 0.7891 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.352, allocations: 0 / 0.7891 GB, free: 140.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005099/1.357, allocations: 1.829 MB / 0.7909 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001442/1.359, allocations: 120.3 kB / 0.791 GB, free: 140.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03401/1.393, allocations: 15.28 MB / 0.8059 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/1.394, allocations: 1.208 MB / 0.8071 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007861/1.395, allocations: 111 kB / 0.8072 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008426/1.396, allocations: 0.5118 MB / 0.8077 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.354e-06/1.396, allocations: 4 kB / 0.8077 GB, free: 133.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07795/1.474, allocations: 40.98 MB / 0.8477 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001627/1.474, allocations: 194.5 kB / 0.8479 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/4.943, allocations: 3.938 kB / 0.8479 GB, free: 124.5 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)