Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.TGTypeIV_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_release_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.005827/0.005827, allocations: 172 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.298/1.298, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008399/0.0008398, allocations: 100.8 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4365/0.4365, allocations: 78.59 MB / 419.9 MB, free: 44.23 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003968/0.0003968, allocations: 16 kB / 499.9 MB, free: 2.836 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3323/0.3327, allocations: 69.35 MB / 0.5559 GB, free: 38.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1189/0.4517, allocations: 99.43 MB / 0.653 GB, free: 7.055 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4519, allocations: 87.95 kB / 0.6531 GB, free: 6.969 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07641/0.5284, allocations: 29.51 MB / 0.6819 GB, free: 9.312 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5284, allocations: 0 / 0.6819 GB, free: 9.312 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001065/0.5285, allocations: 28 kB / 0.6819 GB, free: 9.285 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.005773/0.5343, allocations: 2.135 MB / 0.684 GB, free: 7.094 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.5343, allocations: 12.03 kB / 0.684 GB, free: 7.082 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003736/0.5347, allocations: 156 kB / 0.6841 GB, free: 6.922 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003295/0.538, allocations: 0.5834 MB / 0.6847 GB, free: 6.336 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.5399, allocations: 0.8779 MB / 0.6856 GB, free: 5.406 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.5402, allocations: 246.4 kB / 0.6858 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002504/0.5404, allocations: 92 kB / 0.6859 GB, free: 5.043 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.5432, allocations: 1.44 MB / 0.6873 GB, free: 3.555 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.5433, allocations: 7.875 kB / 0.6873 GB, free: 3.547 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.5434, allocations: 40 kB / 0.6873 GB, free: 3.508 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5434, allocations: 24 kB / 0.6874 GB, free: 3.484 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/0.546, allocations: 1.304 MB / 0.6886 GB, free: 2.176 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006735/0.5528, allocations: 4.492 MB / 0.693 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.556, allocations: 1.856 MB / 0.6948 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.5562, allocations: 20.97 kB / 0.6949 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.5562, allocations: 43.56 kB / 0.6949 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=110): time 2.204e-06/0.5562, allocations: 0 / 0.6949 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=110): time 0.02974/0.5859, allocations: 8.931 MB / 0.7036 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.654e-05/0.586, allocations: 115.8 kB / 0.7037 GB, free: 2.363 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.5876, allocations: 0.8936 MB / 0.7046 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/0.5878, allocations: 45.7 kB / 0.7047 GB, free: 1.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/0.5882, allocations: 0.5948 MB / 0.7052 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005376/0.5888, allocations: 386.3 kB / 0.7056 GB, free: 436 kB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.5889, allocations: 24 kB / 0.7056 GB, free: 412 kB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.5891, allocations: 349.9 kB / 0.706 GB, free: 56 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.5907, allocations: 0.7288 MB / 0.7067 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.5924, allocations: 0.9099 MB / 0.7076 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001629/0.5941, allocations: 0.7966 MB / 0.7083 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.181e-06/0.5941, allocations: 0 / 0.7083 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01507/0.6092, allocations: 5.273 MB / 0.7135 GB, free: 8.262 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005483/0.6097, allocations: 1.68 MB / 0.7151 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.6098, allocations: 4 kB / 0.7151 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006944/0.6167, allocations: 2.244 MB / 0.7173 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008186/0.6176, allocations: 171.8 kB / 0.7175 GB, free: 4.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02437/0.642, allocations: 10.77 MB / 0.728 GB, free: 9.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.6436, allocations: 210.9 kB / 0.7282 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.6438, allocations: 43.98 kB / 0.7282 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.6439, allocations: 0.625 kB / 0.7282 GB, free: 8.895 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0148/0.6587, allocations: 5.07 MB / 0.7332 GB, free: 3.816 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.6587, allocations: 4 kB / 0.7332 GB, free: 3.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006814/0.6655, allocations: 2.249 MB / 0.7354 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000752/0.6663, allocations: 151.8 kB / 0.7355 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/0.6905, allocations: 10.73 MB / 0.746 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.6922, allocations: 187 kB / 0.7462 GB, free: 6.352 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002003/0.6924, allocations: 44 kB / 0.7462 GB, free: 6.309 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.0008364/0.6933, allocations: 372.7 kB / 0.7466 GB, free: 5.945 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.6936, allocations: 138.3 kB / 0.7467 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01461/0.7082, allocations: 5.162 MB / 0.7518 GB, free: 0.6328 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/0.7083, allocations: 12 kB / 0.7518 GB, free: 0.6211 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.7083, allocations: 7.938 kB / 0.7518 GB, free: 0.6133 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/0.7084, allocations: 3.984 kB / 0.7518 GB, free: 0.6094 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.7267, allocations: 6.952 MB / 0.7586 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.7267, allocations: 0 / 0.7586 GB, free: 9.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008124/0.7275, allocations: 131.8 kB / 0.7587 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006572/0.7341, allocations: 2.16 MB / 0.7608 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/0.7344, allocations: 20 kB / 0.7608 GB, free: 7.207 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2714/1.006, allocations: 9.298 MB / 0.7699 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.006, allocations: 5.422 kB / 0.7699 GB, free: 142.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01755/1.023, allocations: 6.218 MB / 0.776 GB, free: 142.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000495/1.024, allocations: 225.9 kB / 0.7762 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003967/1.024, allocations: 20.25 kB / 0.7762 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001436/1.026, allocations: 148.9 kB / 0.7764 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007966/1.027, allocations: 209.8 kB / 0.7766 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001602/1.027, allocations: 28.38 kB / 0.7766 GB, free: 142.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001365/1.028, allocations: 0.6978 MB / 0.7773 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/1.028, allocations: 2.906 kB / 0.7773 GB, free: 142.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003096/1.031, allocations: 0.7581 MB / 0.778 GB, free: 142.4 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.01626/1.048, allocations: 6.826 MB / 0.7847 GB, free: 141.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.059, allocations: 4.577 MB / 0.7892 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.059, allocations: 4.125 kB / 0.7892 GB, free: 141.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004855/1.064, allocations: 1.824 MB / 0.7909 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/1.065, allocations: 122 kB / 0.7911 GB, free: 140.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/1.094, allocations: 15.28 MB / 0.806 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008773/1.095, allocations: 1.212 MB / 0.8072 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006102/1.095, allocations: 106.2 kB / 0.8073 GB, free: 134.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/1.096, allocations: 0.5088 MB / 0.8078 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of SimCode: time 9.02e-07/1.096, allocations: 0 / 0.8078 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06395/1.16, allocations: 40.99 MB / 0.8478 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001364/1.16, allocations: 211.4 kB / 0.848 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.057/4.217, allocations: 0 / 0.848 GB, free: 124.9 MB / 0.5573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)