Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.TGTypeVI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_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.005584/0.005584, 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 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008164/0.0008164, allocations: 94.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06525/0.06525, allocations: 12.21 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4118/0.4118, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005095, allocations: 16.88 kB / 0.528 GB, free: 35.39 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1362, allocations: 69.25 MB / 0.5956 GB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.5945, allocations: 103.4 MB / 0.6966 GB, free: 99.42 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.5948, allocations: 85.19 kB / 0.6967 GB, free: 99.42 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07588/0.6707, allocations: 30.55 MB / 0.7265 GB, free: 84.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6708, allocations: 0 / 0.7265 GB, free: 84.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.725e-05/0.6709, allocations: 28 kB / 0.7265 GB, free: 84.64 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00533/0.6762, allocations: 2.256 MB / 0.7287 GB, free: 82.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.6763, allocations: 11.98 kB / 0.7288 GB, free: 82.31 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002109/0.6765, allocations: 172.4 kB / 0.7289 GB, free: 82.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.6795, allocations: 0.5992 MB / 0.7295 GB, free: 81.54 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/0.6812, allocations: 0.9334 MB / 0.7304 GB, free: 80.55 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001862/0.6814, allocations: 262.4 kB / 0.7307 GB, free: 80.26 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.6816, allocations: 104 kB / 0.7308 GB, free: 80.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/0.6839, allocations: 1.495 MB / 0.7322 GB, free: 78.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.6839, allocations: 4 kB / 0.7322 GB, free: 78.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.684, allocations: 44 kB / 0.7323 GB, free: 78.56 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.6841, allocations: 24 kB / 0.7323 GB, free: 78.54 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.6865, allocations: 1.425 MB / 0.7337 GB, free: 77.11 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006117/0.6926, allocations: 4.309 MB / 0.7379 GB, free: 72.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.6958, allocations: 2.053 MB / 0.7399 GB, free: 70.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001098/0.6959, allocations: 21.86 kB / 0.7399 GB, free: 70.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.696, allocations: 51.52 kB / 0.74 GB, free: 70.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=116): time 3.597e-06/0.696, allocations: 0 / 0.74 GB, free: 70.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=116): time 0.0253/0.7213, allocations: 8.478 MB / 0.7482 GB, free: 61.88 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.7214, allocations: 115.8 kB / 0.7484 GB, free: 61.75 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.7231, allocations: 0.9671 MB / 0.7493 GB, free: 60.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.7233, allocations: 45.7 kB / 0.7493 GB, free: 60.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000336/0.7237, allocations: 0.615 MB / 0.7499 GB, free: 60.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.7241, allocations: 406 kB / 0.7503 GB, free: 59.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.312e-05/0.7241, allocations: 20 kB / 0.7504 GB, free: 59.68 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.7242, allocations: 353.9 kB / 0.7507 GB, free: 59.33 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.7256, allocations: 0.7794 MB / 0.7514 GB, free: 58.55 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.7271, allocations: 0.9533 MB / 0.7524 GB, free: 57.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.7285, allocations: 0.8432 MB / 0.7532 GB, free: 56.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.7285, allocations: 4 kB / 0.7532 GB, free: 56.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01361/0.7421, allocations: 5.405 MB / 0.7585 GB, free: 51.28 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.7425, allocations: 1.34 MB / 0.7598 GB, free: 49.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.7425, allocations: 7.938 kB / 0.7598 GB, free: 49.85 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006236/0.7487, allocations: 2.233 MB / 0.762 GB, free: 47.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.75, allocations: 179.8 kB / 0.7622 GB, free: 47.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02124/0.7712, allocations: 10.76 MB / 0.7727 GB, free: 36.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.7731, allocations: 238.9 kB / 0.7729 GB, free: 36.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.871e-05/0.7732, allocations: 39.98 kB / 0.7729 GB, free: 36.26 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.7732, allocations: 4 kB / 0.7729 GB, free: 36.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/0.7864, allocations: 5.202 MB / 0.778 GB, free: 31.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.7864, allocations: 4 kB / 0.778 GB, free: 31.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006051/0.7925, allocations: 2.231 MB / 0.7802 GB, free: 28.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009882/0.7935, allocations: 179.7 kB / 0.7804 GB, free: 28.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.8143, allocations: 10.76 MB / 0.7909 GB, free: 17.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.8161, allocations: 219 kB / 0.7911 GB, free: 17.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.881e-05/0.8162, allocations: 39.98 kB / 0.7911 GB, free: 17.48 MB / 474.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.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: 15 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.realToBoolean.y,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0008804/0.8171, allocations: 381.3 kB / 0.7915 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002543/0.8173, allocations: 142.2 kB / 0.7916 GB, free: 16.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/0.8306, allocations: 5.283 MB / 0.7968 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.8306, allocations: 12 kB / 0.7968 GB, free: 11.66 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.8306, allocations: 3.953 kB / 0.7968 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-05/0.8307, allocations: 7.969 kB / 0.7968 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.8463, allocations: 7.14 MB / 0.8038 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.8463, allocations: 0 / 0.8038 GB, free: 4.371 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008646/0.8472, allocations: 151.8 kB / 0.8039 GB, free: 4.223 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005708/0.8529, allocations: 2.16 MB / 0.806 GB, free: 2.059 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002085/0.8532, allocations: 20 kB / 0.806 GB, free: 2.039 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02028/0.8734, allocations: 9.3 MB / 0.8151 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8735, allocations: 0 / 0.8151 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01703/0.8905, allocations: 6.421 MB / 0.8214 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/0.8913, allocations: 242.9 kB / 0.8216 GB, free: 1.895 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.8915, allocations: 20 kB / 0.8217 GB, free: 1.875 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/0.8928, allocations: 175.8 kB / 0.8218 GB, free: 1.703 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006978/0.8935, allocations: 212.6 kB / 0.822 GB, free: 1.492 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.673e-05/0.8936, allocations: 27.98 kB / 0.822 GB, free: 1.465 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001281/0.8949, allocations: 0.7548 MB / 0.8228 GB, free: 0.707 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8949, allocations: 0 / 0.8228 GB, free: 0.707 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002429/0.8973, allocations: 0.784 MB / 0.8236 GB, free: 15.92 MB / 0.4949 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,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.derivative.x,tGTypeVI.transferFunction.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 (79): * Single equations (assignments): 78 * 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.01725/0.9146, allocations: 7.021 MB / 0.8304 GB, free: 8.867 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01265/0.9273, allocations: 4.744 MB / 0.835 GB, free: 4.102 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9273, allocations: 0.5 kB / 0.835 GB, free: 4.102 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005366/0.9327, allocations: 1.892 MB / 0.8369 GB, free: 2.191 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.9345, allocations: 145.1 kB / 0.837 GB, free: 2.047 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03046/0.965, allocations: 15.44 MB / 0.8521 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009529/0.966, allocations: 1.254 MB / 0.8533 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000738/0.9667, allocations: 151.7 kB / 0.8535 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.9675, allocations: 0.5383 MB / 0.854 GB, free: 252 kB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.9675, allocations: 0 / 0.854 GB, free: 252 kB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07602/1.044, allocations: 42.74 MB / 0.8957 GB, free: 5.641 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/1.044, allocations: 202.7 kB / 0.8959 GB, free: 5.402 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.373/4.417, allocations: 0 / 0.8959 GB, free: 5.402 MB / 0.5574 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)