Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_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.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_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.001071/0.001071, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.0008522/0.0008524, allocations: 85.8 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0622/0.0622, allocations: 12.18 MB / 326.8 MB, free: 12.89 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2758/0.2758, allocations: 78.02 MB / 455.6 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.646e-05, allocations: 7.984 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.123, allocations: 69.24 MB / 0.5889 GB, free: 2.938 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.5082, allocations: 98.54 MB / 0.6852 GB, free: 1.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.5085, allocations: 81.89 kB / 0.6853 GB, free: 1.707 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06027/0.5687, allocations: 23.78 MB / 0.7085 GB, free: 13.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.5688, allocations: 3.984 kB / 0.7085 GB, free: 13.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.916e-05/0.5688, allocations: 16 kB / 0.7085 GB, free: 13.58 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.004211/0.5731, allocations: 1.676 MB / 0.7101 GB, free: 11.96 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5731, allocations: 11.98 kB / 0.7101 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000193/0.5733, allocations: 122.4 kB / 0.7103 GB, free: 11.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003768/0.5771, allocations: 0.545 MB / 0.7108 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.5787, allocations: 0.7013 MB / 0.7115 GB, free: 10.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/0.5789, allocations: 260.3 kB / 0.7117 GB, free: 10.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001412/0.5791, allocations: 69.94 kB / 0.7118 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.5805, allocations: 0.908 MB / 0.7127 GB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.5806, allocations: 0 / 0.7127 GB, free: 9.863 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.34e-05/0.5807, allocations: 28.19 kB / 0.7127 GB, free: 9.859 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.5807, allocations: 20 kB / 0.7127 GB, free: 9.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001308/0.582, allocations: 0.8371 MB / 0.7135 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004578/0.5866, allocations: 3.083 MB / 0.7166 GB, free: 6.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.5887, allocations: 1.428 MB / 0.718 GB, free: 5.695 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.5895, allocations: 0.5841 MB / 0.7185 GB, free: 5.383 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.5896, allocations: 15.84 kB / 0.7185 GB, free: 5.371 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.5896, allocations: 42.22 kB / 0.7186 GB, free: 5.328 MB / 458.7 MB Notification: Performance of pre-optimization done (n=92): time 2.735e-06/0.5896, allocations: 4 kB / 0.7186 GB, free: 5.324 MB / 458.7 MB Notification: Performance of matching and sorting (n=92): time 0.0123/0.6019, allocations: 4.208 MB / 0.7227 GB, free: 1.672 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.602, allocations: 75.58 kB / 0.7228 GB, free: 1.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009702/0.603, allocations: 0.6951 MB / 0.7234 GB, free: 1.043 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.6032, allocations: 40.27 kB / 0.7235 GB, free: 1.008 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002628/0.6034, allocations: 462.4 kB / 0.7239 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/0.6038, allocations: 325.8 kB / 0.7242 GB, free: 472 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-05/0.6038, allocations: 17.5 kB / 0.7242 GB, free: 468 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.6039, allocations: 340 kB / 0.7246 GB, free: 136 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000702/0.6046, allocations: 452.4 kB / 0.725 GB, free: 15.89 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/0.6054, allocations: 0.5382 MB / 0.7255 GB, free: 15.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.6061, allocations: 486.6 kB / 0.726 GB, free: 15.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.6061, allocations: 4 kB / 0.726 GB, free: 15.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01258/0.6187, allocations: 4.358 MB / 0.7303 GB, free: 11.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.6188, allocations: 4 kB / 0.7303 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.6188, allocations: 4 kB / 0.7303 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005622/0.6244, allocations: 1.8 MB / 0.732 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.6251, allocations: 126.8 kB / 0.7321 GB, free: 9.816 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01482/0.64, allocations: 7.706 MB / 0.7397 GB, free: 4.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.6414, allocations: 183.1 kB / 0.7398 GB, free: 4.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.342e-05/0.6414, allocations: 28 kB / 0.7399 GB, free: 3.988 MB / 474.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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.0002129/0.6417, allocations: 144.9 kB / 0.74 GB, free: 3.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6419, allocations: 110.6 kB / 0.7401 GB, free: 3.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.6543, allocations: 4.334 MB / 0.7443 GB, free: 15.38 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6544, allocations: 12 kB / 0.7444 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.6544, allocations: 0 / 0.7444 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/0.6544, allocations: 3.984 kB / 0.7444 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/0.6687, allocations: 5.903 MB / 0.7501 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.6687, allocations: 3.953 kB / 0.7501 GB, free: 9.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.6694, allocations: 95.83 kB / 0.7502 GB, free: 9.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005272/0.6747, allocations: 1.742 MB / 0.7519 GB, free: 7.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001795/0.6749, allocations: 19.94 kB / 0.7519 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/0.6881, allocations: 6.681 MB / 0.7585 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6882, allocations: 0 / 0.7585 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.702, allocations: 5.058 MB / 0.7634 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004294/0.7025, allocations: 207.5 kB / 0.7636 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.7026, allocations: 16 kB / 0.7636 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.7036, allocations: 131.9 kB / 0.7637 GB, free: 11.19 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005999/0.7042, allocations: 196.4 kB / 0.7639 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-05/0.7043, allocations: 20 kB / 0.7639 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006846/0.705, allocations: 0.5592 MB / 0.7645 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.3e-07/0.705, allocations: 0 / 0.7645 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001138/0.7062, allocations: 419.6 kB / 0.7649 GB, free: 9.996 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen.delta,gen.w,gen.e1q,tGTypeI.xg1,tGTypeI.xg2,tGTypeI.xg3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 54 * 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.0138/0.72, allocations: 5.657 MB / 0.7704 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005345/0.7253, allocations: 2.05 MB / 0.7724 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.7254, allocations: 0 / 0.7724 GB, free: 2.23 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004277/0.7297, allocations: 1.501 MB / 0.7739 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000714/0.7304, allocations: 71.39 kB / 0.774 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003229/0.7337, allocations: 1.684 MB / 0.7756 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005615/0.7342, allocations: 1.076 MB / 0.7766 GB, free: 13.81 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002797/0.7345, allocations: 73.66 kB / 0.7767 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.735, allocations: 387.3 kB / 0.7771 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of SimCode: time 8.91e-07/0.735, allocations: 0 / 0.7771 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04862/0.7836, allocations: 28.99 MB / 0.8054 GB, free: 464 kB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.7839, allocations: 172.5 kB / 0.8056 GB, free: 236 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.635/3.419, allocations: 0 / 0.8056 GB, free: 236 kB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeI_test.pipe 2>&1)