Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_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.006806/0.006806, allocations: 169.9 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.384/1.384, allocations: 223.2 MB / 239 MB, free: 44 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001095, allocations: 98.98 kB / 290.2 MB, free: 4.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5958/0.5958, allocations: 78.58 MB / 419.9 MB, free: 36.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003614/0.0003615, allocations: 20 kB / 499.9 MB, free: 7.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1183, allocations: 69.36 MB / 0.5559 GB, free: 1.734 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4529, allocations: 98.6 MB / 0.6522 GB, free: 3.531 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4532, allocations: 94.8 kB / 0.6523 GB, free: 3.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06536/0.5185, allocations: 25.96 MB / 0.6776 GB, free: 10.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.5186, allocations: 0 / 0.6776 GB, free: 10.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.696e-05/0.5186, allocations: 16 kB / 0.6776 GB, free: 10.07 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.005695/0.5243, allocations: 1.955 MB / 0.6795 GB, free: 8.059 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.5244, allocations: 15.97 kB / 0.6795 GB, free: 8.043 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/0.5247, allocations: 130.6 kB / 0.6797 GB, free: 7.906 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.5282, allocations: 0.5565 MB / 0.6802 GB, free: 7.348 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.5301, allocations: 0.7828 MB / 0.681 GB, free: 6.512 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.5304, allocations: 230.4 kB / 0.6812 GB, free: 6.254 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.5306, allocations: 76 kB / 0.6813 GB, free: 6.18 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002268/0.5329, allocations: 1.194 MB / 0.6824 GB, free: 4.977 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.5329, allocations: 11.97 kB / 0.6824 GB, free: 4.965 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.487e-05/0.533, allocations: 32 kB / 0.6825 GB, free: 4.934 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.533, allocations: 16.88 kB / 0.6825 GB, free: 4.918 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.5353, allocations: 1.163 MB / 0.6836 GB, free: 3.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005541/0.5409, allocations: 3.148 MB / 0.6867 GB, free: 484 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003088/0.544, allocations: 1.745 MB / 0.6884 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.5441, allocations: 16.97 kB / 0.6884 GB, free: 14.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5442, allocations: 43.56 kB / 0.6885 GB, free: 14.54 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 2.094e-06/0.5442, allocations: 0 / 0.6885 GB, free: 14.54 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.02985/0.574, allocations: 8.849 MB / 0.6971 GB, free: 5.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.71e-05/0.5741, allocations: 90.11 kB / 0.6972 GB, free: 5.547 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.5756, allocations: 0.8076 MB / 0.698 GB, free: 4.723 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002096/0.5758, allocations: 41.7 kB / 0.698 GB, free: 4.676 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003622/0.5762, allocations: 0.4928 MB / 0.6985 GB, free: 4.176 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004222/0.5766, allocations: 323.2 kB / 0.6988 GB, free: 3.855 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.5767, allocations: 20 kB / 0.6988 GB, free: 3.836 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5768, allocations: 341.9 kB / 0.6992 GB, free: 3.496 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001425/0.5782, allocations: 0.6696 MB / 0.6998 GB, free: 2.824 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.5798, allocations: 0.7911 MB / 0.7006 GB, free: 2.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.5812, allocations: 0.7225 MB / 0.7013 GB, free: 1.289 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.5813, allocations: 0 / 0.7013 GB, free: 1.289 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01456/0.5958, allocations: 5.062 MB / 0.7062 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000329/0.5962, allocations: 0.7974 MB / 0.707 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.5962, allocations: 3.984 kB / 0.707 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006803/0.603, allocations: 2.233 MB / 0.7092 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006293/0.6037, allocations: 123.8 kB / 0.7093 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02419/0.6279, allocations: 10.76 MB / 0.7198 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.6295, allocations: 191.2 kB / 0.72 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.6297, allocations: 31.98 kB / 0.72 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.6298, allocations: 4 kB / 0.72 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01483/0.6446, allocations: 4.906 MB / 0.7248 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.6446, allocations: 11.94 kB / 0.7248 GB, free: 8.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007107/0.6518, allocations: 2.229 MB / 0.727 GB, free: 6.715 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006544/0.6525, allocations: 115.8 kB / 0.7271 GB, free: 6.602 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02436/0.6768, allocations: 10.75 MB / 0.7376 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.6785, allocations: 182.3 kB / 0.7378 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002076/0.6787, allocations: 35.98 kB / 0.7378 GB, free: 11.52 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007829/0.6795, allocations: 299.4 kB / 0.7381 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.6799, allocations: 118.5 kB / 0.7382 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0152/0.6951, allocations: 5.038 MB / 0.7431 GB, free: 6.047 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.6952, allocations: 15.98 kB / 0.7432 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.6952, allocations: 0 / 0.7432 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.6952, allocations: 7.984 kB / 0.7432 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0176/0.7128, allocations: 6.649 MB / 0.7497 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/0.7129, allocations: 4 kB / 0.7497 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.7136, allocations: 87.84 kB / 0.7498 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006825/0.7204, allocations: 2.176 MB / 0.7519 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002408/0.7207, allocations: 17.22 kB / 0.7519 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02172/0.7424, allocations: 9.305 MB / 0.761 GB, free: 3.504 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.7425, allocations: 4 kB / 0.761 GB, free: 3.5 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/0.7599, allocations: 6.013 MB / 0.7669 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.7604, allocations: 211.4 kB / 0.7671 GB, free: 13.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/0.7609, allocations: 17.19 kB / 0.7671 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.7623, allocations: 147.9 kB / 0.7672 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007052/0.763, allocations: 192.6 kB / 0.7674 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.7632, allocations: 27.94 kB / 0.7674 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001217/0.7644, allocations: 0.643 MB / 0.7681 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7644, allocations: 0 / 0.7681 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002434/0.7669, allocations: 0.6788 MB / 0.7687 GB, free: 11.53 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * 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 (56): * Single equations (assignments): 55 * 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.01731/0.7842, allocations: 6.601 MB / 0.7752 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01242/0.7966, allocations: 4.346 MB / 0.7794 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7967, allocations: 0 / 0.7794 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.004991/0.8017, allocations: 1.762 MB / 0.7811 GB, free: 14.77 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009517/0.8027, allocations: 86.69 kB / 0.7812 GB, free: 14.68 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02867/0.8313, allocations: 12.7 MB / 0.7936 GB, free: 1.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.8322, allocations: 1.132 MB / 0.7947 GB, free: 0.4922 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005471/0.8328, allocations: 98 kB / 0.7948 GB, free: 404 kB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2196/1.052, allocations: 425.7 kB / 0.7952 GB, free: 156.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.923e-06/1.052, allocations: 0 / 0.7952 GB, free: 156.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06291/1.115, allocations: 37.7 MB / 0.832 GB, free: 154.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001441/1.115, allocations: 206 kB / 0.8322 GB, free: 154.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.16, allocations: 0 / 0.8322 GB, free: 154.7 MB / 0.573 GB (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeII_test.fmu > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)