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.001171/0.00117, allocations: 180.9 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.571/1.571, allocations: 205.3 MB / 213.4 MB, free: 13.78 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.001009/0.001009, allocations: 92.08 kB / 261.4 MB, free: 13.46 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.09599/0.09599, allocations: 12.19 MB / 321.5 MB, free: 1.195 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3283/0.3283, allocations: 78.07 MB / 450.3 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.947e-05, allocations: 4 kB / 0.5142 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 69.24 MB / 0.5819 GB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5354/0.7203, allocations: 102.6 MB / 0.6821 GB, free: 6.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.7206, allocations: 91.8 kB / 0.6822 GB, free: 6.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07809/0.7987, allocations: 30.08 MB / 0.7115 GB, free: 13.46 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.7988, allocations: 0 / 0.7115 GB, free: 13.46 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.469e-05/0.7989, allocations: 28 kB / 0.7116 GB, free: 13.43 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.005258/0.8041, allocations: 1.984 MB / 0.7135 GB, free: 11.55 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.8042, allocations: 8.031 kB / 0.7135 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/0.8076, allocations: 0.5961 MB / 0.7141 GB, free: 10.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.8093, allocations: 0.9115 MB / 0.715 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002369/0.8095, allocations: 210.3 kB / 0.7152 GB, free: 9.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001492/0.8097, allocations: 60 kB / 0.7152 GB, free: 9.922 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001711/0.8114, allocations: 1.035 MB / 0.7162 GB, free: 9.289 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.8132, allocations: 1.09 MB / 0.7173 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.8132, allocations: 0 / 0.7173 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/0.8133, allocations: 0 / 0.7173 GB, free: 8.488 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.8134, allocations: 28 kB / 0.7173 GB, free: 8.461 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006426/0.8198, allocations: 4.141 MB / 0.7214 GB, free: 5.176 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.8224, allocations: 1.68 MB / 0.723 GB, free: 3.809 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008695/0.8233, allocations: 0.6779 MB / 0.7237 GB, free: 3.438 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.8234, allocations: 22.17 kB / 0.7237 GB, free: 3.418 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.8234, allocations: 49.94 kB / 0.7238 GB, free: 3.367 MB / 458.7 MB Notification: Performance of pre-optimization done (n=116): time 5.17e-06/0.8234, allocations: 0 / 0.7238 GB, free: 3.367 MB / 458.7 MB Notification: Performance of matching and sorting (n=116): time 0.01291/0.8364, allocations: 4.37 MB / 0.728 GB, free: 15.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.8365, allocations: 116.1 kB / 0.7281 GB, free: 15.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.8379, allocations: 0.8472 MB / 0.729 GB, free: 14.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.8381, allocations: 25.7 kB / 0.729 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.8385, allocations: 0.6218 MB / 0.7296 GB, free: 14.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/0.8389, allocations: 392.7 kB / 0.73 GB, free: 14.09 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.839, allocations: 0 / 0.73 GB, free: 14.09 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8392, allocations: 352.2 kB / 0.7303 GB, free: 13.76 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000791/0.84, allocations: 0.496 MB / 0.7308 GB, free: 13.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008969/0.8409, allocations: 0.6663 MB / 0.7314 GB, free: 13.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.8418, allocations: 0.5644 MB / 0.732 GB, free: 12.72 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.8418, allocations: 4 kB / 0.732 GB, free: 12.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01357/0.8554, allocations: 4.565 MB / 0.7364 GB, free: 8.793 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006225/0.8561, allocations: 1.334 MB / 0.7377 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.8561, allocations: 8 kB / 0.7378 GB, free: 7.391 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00568/0.8618, allocations: 1.753 MB / 0.7395 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.8628, allocations: 179.7 kB / 0.7396 GB, free: 5.684 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01524/0.878, allocations: 7.492 MB / 0.747 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001981/0.8801, allocations: 214.9 kB / 0.7472 GB, free: 13.86 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.8802, allocations: 39.94 kB / 0.7472 GB, free: 13.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8802, allocations: 8 kB / 0.7472 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/0.8933, allocations: 4.379 MB / 0.7515 GB, free: 9.422 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.8934, allocations: 4 kB / 0.7515 GB, free: 9.418 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005524/0.8989, allocations: 1.765 MB / 0.7532 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009158/0.8999, allocations: 167.7 kB / 0.7534 GB, free: 7.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.9153, allocations: 7.473 MB / 0.7607 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.9172, allocations: 190.9 kB / 0.7608 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9173, allocations: 43.98 kB / 0.7609 GB, free: 15.65 MB / 0.4948 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start ) "State of block" type: Real tGTypeVI.integrator5.y:VARIABLE(start = tGTypeVI.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator.y:VARIABLE(start = tGTypeVI.integrator.y_start ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(start = tGTypeVI.integrator3.y_start ) "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 () * 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.0004293/0.9177, allocations: 139.6 kB / 0.761 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01294/0.9307, allocations: 4.368 MB / 0.7653 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007258/0.9315, allocations: 138.3 kB / 0.7654 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.945, allocations: 4.466 MB / 0.7698 GB, free: 6.516 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.9451, allocations: 12 kB / 0.7698 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.9451, allocations: 0 / 0.7698 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.938e-05/0.9452, allocations: 3.984 kB / 0.7698 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01577/0.9609, allocations: 6.197 MB / 0.7759 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.961, allocations: 0 / 0.7759 GB, free: 184 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009063/0.9619, allocations: 151.8 kB / 0.776 GB, free: 32 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005398/0.9673, allocations: 1.722 MB / 0.7777 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.9675, allocations: 11.92 kB / 0.7777 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0135/0.981, allocations: 6.547 MB / 0.7841 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.9811, allocations: 0 / 0.7841 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01442/0.9955, allocations: 5.338 MB / 0.7893 GB, free: 2.262 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/0.9961, allocations: 231.1 kB / 0.7895 GB, free: 2.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/0.9964, allocations: 3.984 kB / 0.7895 GB, free: 2.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.9977, allocations: 147.9 kB / 0.7897 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006237/0.9983, allocations: 212.9 kB / 0.7899 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.654e-05/0.9984, allocations: 31.98 kB / 0.7899 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009262/0.9993, allocations: 0.6448 MB / 0.7905 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9993, allocations: 0 / 0.7905 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00216/1.001, allocations: 0.7095 MB / 0.7912 GB, free: 276 kB / 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,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 () * 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.01486/1.016, allocations: 5.924 MB / 0.797 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01046/1.027, allocations: 3.87 MB / 0.8008 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.027, allocations: 0 / 0.8008 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004367/1.031, allocations: 1.561 MB / 0.8023 GB, free: 4.844 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/1.032, allocations: 122.6 kB / 0.8024 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004126/1.036, allocations: 2.089 MB / 0.8045 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/1.037, allocations: 1.261 MB / 0.8057 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0009016/1.038, allocations: 231.5 kB / 0.8059 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006603/1.039, allocations: 0.5305 MB / 0.8064 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/1.039, allocations: 0 / 0.8064 GB, free: 0.5273 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/1.122, allocations: 41.8 MB / 0.8473 GB, free: 6.746 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/1.122, allocations: 139.2 kB / 0.8474 GB, free: 6.551 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.818/4.94, allocations: 0 / 0.8474 GB, free: 6.551 MB / 0.573 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)