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.0009698/0.0009698, allocations: 174.6 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.351/1.351, allocations: 205.2 MB / 218.5 MB, free: 9.215 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.0008478/0.0008478, allocations: 82.61 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07375/0.07375, allocations: 12.19 MB / 326.9 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.2694/0.2694, allocations: 78.02 MB / 455.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.354e-05, allocations: 4 kB / 0.5213 GB, free: 24.11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 69.25 MB / 0.5889 GB, free: 2.934 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4038/0.524, allocations: 103.3 MB / 0.6898 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5243, allocations: 92.19 kB / 0.6899 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07935/0.6037, allocations: 30.44 MB / 0.7196 GB, free: 3.277 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6037, allocations: 0 / 0.7196 GB, free: 3.277 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001478/0.6039, allocations: 24 kB / 0.7196 GB, free: 3.254 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.005603/0.6095, allocations: 1.983 MB / 0.7216 GB, free: 1.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6095, allocations: 15.98 kB / 0.7216 GB, free: 1.344 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003209/0.6099, allocations: 164.2 kB / 0.7218 GB, free: 1.246 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.6132, allocations: 0.5945 MB / 0.7223 GB, free: 0.6914 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001796/0.615, allocations: 0.9132 MB / 0.7232 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.6152, allocations: 249 kB / 0.7235 GB, free: 15.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001664/0.6154, allocations: 100.2 kB / 0.7236 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.6174, allocations: 1.232 MB / 0.7248 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.6174, allocations: 0 / 0.7248 GB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6175, allocations: 38.81 kB / 0.7248 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.6175, allocations: 32 kB / 0.7248 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.6193, allocations: 1.094 MB / 0.7259 GB, free: 14.03 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00631/0.6256, allocations: 4.306 MB / 0.7301 GB, free: 10.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002542/0.6282, allocations: 1.718 MB / 0.7318 GB, free: 9.227 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009304/0.6292, allocations: 0.6988 MB / 0.7325 GB, free: 8.852 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.6293, allocations: 21.86 kB / 0.7325 GB, free: 8.832 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.6293, allocations: 57.06 kB / 0.7325 GB, free: 8.777 MB / 474.7 MB Notification: Performance of pre-optimization done (n=116): time 4.688e-06/0.6293, allocations: 0 / 0.7325 GB, free: 8.777 MB / 474.7 MB Notification: Performance of matching and sorting (n=116): time 0.01277/0.6421, allocations: 4.425 MB / 0.7369 GB, free: 4.965 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.669e-05/0.6422, allocations: 123.7 kB / 0.737 GB, free: 4.82 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.6437, allocations: 0.934 MB / 0.7379 GB, free: 4.113 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002538/0.6439, allocations: 45.02 kB / 0.7379 GB, free: 4.078 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.6443, allocations: 0.615 MB / 0.7385 GB, free: 3.734 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/0.6447, allocations: 416.7 kB / 0.7389 GB, free: 3.375 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.6448, allocations: 21.06 kB / 0.739 GB, free: 3.371 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.6449, allocations: 345.2 kB / 0.7393 GB, free: 3.047 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000854/0.6458, allocations: 0.5197 MB / 0.7398 GB, free: 2.758 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009582/0.6468, allocations: 0.684 MB / 0.7405 GB, free: 2.277 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.6477, allocations: 0.5905 MB / 0.741 GB, free: 1.93 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/0.6477, allocations: 3.953 kB / 0.741 GB, free: 1.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01284/0.6605, allocations: 4.679 MB / 0.7456 GB, free: 13.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005173/0.6611, allocations: 1.34 MB / 0.7469 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/0.6611, allocations: 4 kB / 0.7469 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005637/0.6668, allocations: 1.808 MB / 0.7487 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.6678, allocations: 183.7 kB / 0.7489 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0153/0.6831, allocations: 7.715 MB / 0.7564 GB, free: 2.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.6849, allocations: 238.8 kB / 0.7566 GB, free: 2.594 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.685, allocations: 39.98 kB / 0.7567 GB, free: 2.555 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.685, allocations: 15.38 kB / 0.7567 GB, free: 2.543 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01256/0.6976, allocations: 4.507 MB / 0.7611 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.6977, allocations: 4 kB / 0.7611 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005487/0.7032, allocations: 1.812 MB / 0.7628 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009247/0.7041, allocations: 171.7 kB / 0.763 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01491/0.719, allocations: 7.684 MB / 0.7705 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.7208, allocations: 222.9 kB / 0.7707 GB, free: 4.004 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.7209, allocations: 39.98 kB / 0.7708 GB, free: 3.965 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.0003648/0.7213, allocations: 178.3 kB / 0.7709 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002743/0.7216, allocations: 142.2 kB / 0.7711 GB, free: 3.645 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01277/0.7344, allocations: 4.561 MB / 0.7755 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.7344, allocations: 12 kB / 0.7755 GB, free: 15.06 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.7345, allocations: 3.953 kB / 0.7755 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.541e-05/0.7345, allocations: 7.969 kB / 0.7756 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/0.7495, allocations: 6.418 MB / 0.7818 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.7496, allocations: 0 / 0.7818 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008841/0.7505, allocations: 151.8 kB / 0.782 GB, free: 8.352 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/0.7557, allocations: 1.738 MB / 0.7837 GB, free: 6.609 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002106/0.7559, allocations: 20 kB / 0.7837 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01282/0.7687, allocations: 6.674 MB / 0.7902 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.7688, allocations: 4 kB / 0.7902 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/0.783, allocations: 5.437 MB / 0.7955 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/0.7836, allocations: 227 kB / 0.7957 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.7838, allocations: 27.98 kB / 0.7958 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.7851, allocations: 163.9 kB / 0.7959 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006196/0.7857, allocations: 212.6 kB / 0.7961 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.383e-05/0.7858, allocations: 27.98 kB / 0.7961 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009697/0.7868, allocations: 0.7177 MB / 0.7968 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7868, allocations: 0 / 0.7968 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001956/0.7887, allocations: 0.7916 MB / 0.7976 GB, free: 8.133 MB / 0.5261 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.01448/0.8032, allocations: 6.038 MB / 0.8035 GB, free: 2.055 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.8135, allocations: 4.006 MB / 0.8074 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.8136, allocations: 0 / 0.8074 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004309/0.8179, allocations: 1.618 MB / 0.809 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/0.819, allocations: 136.8 kB / 0.8091 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004082/0.823, allocations: 2.178 MB / 0.8113 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007207/0.8238, allocations: 1.253 MB / 0.8125 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008754/0.8247, allocations: 239.8 kB / 0.8127 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005906/0.8253, allocations: 0.5305 MB / 0.8132 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of SimCode: time 8.01e-07/0.8253, allocations: 0 / 0.8132 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07146/0.8967, allocations: 44.75 MB / 0.8569 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.897, allocations: 181.7 kB / 0.8571 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.171/4.068, allocations: 3.375 kB / 0.8571 GB, free: 11.07 MB / 0.5886 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)