Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001283/0.001283, allocations: 181.5 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.825/1.825, allocations: 205.3 MB / 213.4 MB, free: 13.77 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.0009798/0.0009799, allocations: 95.81 kB / 261.4 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07581/0.07581, allocations: 12.19 MB / 321.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.341/0.341, allocations: 78.06 MB / 450.3 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.563e-05, allocations: 8.938 kB / 0.5142 GB, free: 29.95 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1776, allocations: 69.24 MB / 0.5819 GB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6493/0.8269, allocations: 100.3 MB / 0.6798 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/0.8274, allocations: 80.95 kB / 0.6798 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07449/0.9019, allocations: 28.31 MB / 0.7075 GB, free: 1.109 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.902, allocations: 4 kB / 0.7075 GB, free: 1.105 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.9021, allocations: 28 kB / 0.7075 GB, free: 1.078 MB / 442.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.006401/0.9085, allocations: 1.892 MB / 0.7094 GB, free: 15.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.465e-05/0.9086, allocations: 8.031 kB / 0.7094 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.9127, allocations: 0.585 MB / 0.7099 GB, free: 14.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.9152, allocations: 0.8786 MB / 0.7108 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.9155, allocations: 213.5 kB / 0.711 GB, free: 13.75 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.9158, allocations: 60 kB / 0.7111 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/0.9177, allocations: 0.933 MB / 0.712 GB, free: 13.12 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.9194, allocations: 1.048 MB / 0.713 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.9195, allocations: 0 / 0.713 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001394/0.9196, allocations: 4 kB / 0.713 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.9197, allocations: 24 kB / 0.713 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007646/0.9273, allocations: 4.325 MB / 0.7173 GB, free: 8.785 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.9299, allocations: 1.535 MB / 0.7188 GB, free: 7.504 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008794/0.9308, allocations: 0.6225 MB / 0.7194 GB, free: 7.172 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00013/0.9309, allocations: 24.98 kB / 0.7194 GB, free: 7.152 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.931, allocations: 43.19 kB / 0.7194 GB, free: 7.105 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 4.098e-06/0.931, allocations: 0 / 0.7194 GB, free: 7.105 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.01316/0.9441, allocations: 4.267 MB / 0.7236 GB, free: 3.391 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.562e-05/0.9443, allocations: 116.1 kB / 0.7237 GB, free: 3.254 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.9459, allocations: 0.8172 MB / 0.7245 GB, free: 2.648 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004049/0.9463, allocations: 25.7 kB / 0.7245 GB, free: 2.617 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004883/0.9468, allocations: 0.5936 MB / 0.7251 GB, free: 2.281 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/0.9474, allocations: 375.8 kB / 0.7255 GB, free: 1.953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-05/0.9475, allocations: 0 / 0.7255 GB, free: 1.953 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.9477, allocations: 357.9 kB / 0.7258 GB, free: 1.613 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.9485, allocations: 470.7 kB / 0.7263 GB, free: 1.371 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/0.9494, allocations: 0.6441 MB / 0.7269 GB, free: 0.9102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.9502, allocations: 0.5247 MB / 0.7274 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.9502, allocations: 0 / 0.7274 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01333/0.9635, allocations: 4.462 MB / 0.7318 GB, free: 12.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007089/0.9643, allocations: 1.681 MB / 0.7334 GB, free: 10.99 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.9643, allocations: 4 kB / 0.7334 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005788/0.9701, allocations: 1.756 MB / 0.7351 GB, free: 9.465 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009128/0.9711, allocations: 170 kB / 0.7353 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/0.9888, allocations: 7.49 MB / 0.7426 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002612/0.9915, allocations: 187 kB / 0.7428 GB, free: 2.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.9918, allocations: 39.98 kB / 0.7428 GB, free: 2.23 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.9918, allocations: 4 kB / 0.7428 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/1.005, allocations: 4.285 MB / 0.747 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/1.005, allocations: 4 kB / 0.747 GB, free: 13.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005927/1.011, allocations: 1.761 MB / 0.7487 GB, free: 12.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/1.012, allocations: 159.8 kB / 0.7489 GB, free: 12.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/1.029, allocations: 7.481 MB / 0.7562 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/1.031, allocations: 171 kB / 0.7563 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.031, allocations: 36 kB / 0.7564 GB, free: 4.191 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "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 () * 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.0005596/1.032, allocations: 153.9 kB / 0.7565 GB, free: 4.039 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01325/1.045, allocations: 4.268 MB / 0.7607 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007283/1.046, allocations: 138.3 kB / 0.7608 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.059, allocations: 4.364 MB / 0.7651 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/1.059, allocations: 8 kB / 0.7651 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/1.059, allocations: 0 / 0.7651 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-05/1.059, allocations: 7.984 kB / 0.7651 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/1.076, allocations: 6.051 MB / 0.771 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.213e-05/1.076, allocations: 4 kB / 0.771 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/1.077, allocations: 127.8 kB / 0.7711 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005695/1.083, allocations: 1.726 MB / 0.7728 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002799/1.083, allocations: 0 / 0.7728 GB, free: 3.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/1.098, allocations: 6.551 MB / 0.7792 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/1.098, allocations: 0 / 0.7792 GB, free: 12.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.112, allocations: 5.197 MB / 0.7843 GB, free: 7.301 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005996/1.113, allocations: 231.1 kB / 0.7845 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003439/1.113, allocations: 7.953 kB / 0.7845 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.115, allocations: 127.9 kB / 0.7846 GB, free: 6.922 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005998/1.115, allocations: 204.9 kB / 0.7848 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.816e-05/1.115, allocations: 24 kB / 0.7849 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000994/1.116, allocations: 0.6162 MB / 0.7855 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.116, allocations: 0 / 0.7855 GB, free: 6.078 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002521/1.119, allocations: 0.6861 MB / 0.7861 GB, free: 5.391 MB / 0.5105 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 () * 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.01508/1.134, allocations: 5.777 MB / 0.7918 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01118/1.145, allocations: 3.738 MB / 0.7954 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/1.145, allocations: 0 / 0.7954 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004861/1.15, allocations: 1.511 MB / 0.7969 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001261/1.151, allocations: 96.69 kB / 0.797 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004815/1.156, allocations: 1.919 MB / 0.7989 GB, free: 8.238 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/1.157, allocations: 1.213 MB / 0.8 GB, free: 6.992 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008774/1.158, allocations: 179.2 kB / 0.8002 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/1.159, allocations: 0.5071 MB / 0.8007 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/1.159, allocations: 0 / 0.8007 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09234/1.251, allocations: 40.23 MB / 0.84 GB, free: 14.09 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/1.252, allocations: 135.5 kB / 0.8401 GB, free: 13.89 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.71/4.962, allocations: 0 / 0.8401 GB, free: 13.89 MB / 0.573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)