Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGTypeVI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003098/0.003098, allocations: 181.6 kB / 7.457 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.4 MB / 229.3 MB, free: 3.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009235/0.0009234, allocations: 95.97 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4526/0.4526, allocations: 78.06 MB / 408.9 MB, free: 15.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1569/0.6095, allocations: 75.49 MB / 484.4 MB, free: 4.355 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.9675, allocations: 69.36 MB / 0.5408 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/1.107, allocations: 101 MB / 0.6394 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.107, allocations: 83.95 kB / 0.6395 GB, free: 3.77 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.09323/1.201, allocations: 32.67 MB / 0.6714 GB, free: 2.828 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/1.201, allocations: 8 kB / 0.6714 GB, free: 2.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/1.205, allocations: 0.6145 MB / 0.672 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/1.207, allocations: 0.9216 MB / 0.6729 GB, free: 1.227 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/1.207, allocations: 210.5 kB / 0.6731 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/1.208, allocations: 60 kB / 0.6731 GB, free: 0.9297 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2194/1.427, allocations: 1.033 MB / 0.6742 GB, free: 138.1 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/1.43, allocations: 1.09 MB / 0.6752 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.829e-05/1.43, allocations: 1.594 kB / 0.6752 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/1.43, allocations: 4.875 kB / 0.6752 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/1.43, allocations: 26.56 kB / 0.6753 GB, free: 138 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006829/1.437, allocations: 4.169 MB / 0.6793 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001199/1.438, allocations: 0.7453 MB / 0.6801 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000888/1.439, allocations: 0.6647 MB / 0.6807 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/1.439, allocations: 21.56 kB / 0.6807 GB, free: 136.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/1.439, allocations: 45.28 kB / 0.6808 GB, free: 136.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 3.938e-06/1.439, allocations: 9.656 kB / 0.6808 GB, free: 136.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01336/1.453, allocations: 4.624 MB / 0.6853 GB, free: 136.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/1.453, allocations: 119.8 kB / 0.6854 GB, free: 136.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001561/1.454, allocations: 0.8462 MB / 0.6862 GB, free: 136.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003805/1.455, allocations: 25.7 kB / 0.6863 GB, free: 136.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/1.455, allocations: 399.3 kB / 0.6866 GB, free: 136.1 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004798/1.455, allocations: 395.2 kB / 0.687 GB, free: 135.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/1.456, allocations: 0 / 0.687 GB, free: 135.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/1.456, allocations: 354 kB / 0.6874 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008354/1.456, allocations: 0.505 MB / 0.6878 GB, free: 135.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/1.457, allocations: 0.6731 MB / 0.6885 GB, free: 135.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009515/1.458, allocations: 0.571 MB / 0.6891 GB, free: 135.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/1.458, allocations: 3.594 kB / 0.6891 GB, free: 135.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01407/1.472, allocations: 4.855 MB / 0.6938 GB, free: 134.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004586/1.473, allocations: 1.329 MB / 0.6951 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/1.473, allocations: 3.938 kB / 0.6951 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/1.479, allocations: 1.817 MB / 0.6969 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/1.48, allocations: 188.4 kB / 0.6971 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01618/1.497, allocations: 6.797 MB / 0.7037 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002333/1.499, allocations: 224 kB / 0.7039 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/1.499, allocations: 39.91 kB / 0.7039 GB, free: 131.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.499, allocations: 4.375 kB / 0.704 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01467/1.514, allocations: 4.675 MB / 0.7085 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.477e-05/1.514, allocations: 3.094 kB / 0.7085 GB, free: 131.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006644/1.521, allocations: 1.83 MB / 0.7103 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.522, allocations: 165.5 kB / 0.7105 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0152/1.537, allocations: 6.802 MB / 0.7171 GB, free: 128.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/1.539, allocations: 204.2 kB / 0.7173 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.539, allocations: 40.67 kB / 0.7173 GB, free: 128.8 MB / 490.7 MB 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.0004382/1.539, allocations: 140.9 kB / 0.7175 GB, free: 128.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/1.54, allocations: 144.4 kB / 0.7176 GB, free: 128.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/1.553, allocations: 4.729 MB / 0.7222 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.553, allocations: 14.12 kB / 0.7222 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.553, allocations: 0 / 0.7222 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.614e-05/1.553, allocations: 3.609 kB / 0.7222 GB, free: 127.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.569, allocations: 6.326 MB / 0.7284 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.508e-05/1.569, allocations: 0.75 kB / 0.7284 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001044/1.57, allocations: 153.3 kB / 0.7286 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005962/1.576, allocations: 1.787 MB / 0.7303 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003378/1.577, allocations: 7.031 kB / 0.7303 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/1.59, allocations: 6.007 MB / 0.7362 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/1.59, allocations: 0 / 0.7362 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01505/1.605, allocations: 5.64 MB / 0.7417 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01523/1.621, allocations: 6.875 MB / 0.7484 GB, free: 111.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/1.621, allocations: 235.9 kB / 0.7486 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002332/1.621, allocations: 0 / 0.7486 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.623, allocations: 163.4 kB / 0.7488 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003018/1.623, allocations: 124.6 kB / 0.7489 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.644e-05/1.623, allocations: 31.38 kB / 0.7489 GB, free: 111.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.000786/1.624, allocations: 0.6346 MB / 0.7496 GB, free: 110.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003211/1.627, allocations: 0.7263 MB / 0.7503 GB, free: 110.1 MB / 490.7 MB 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.0002862/1.627, allocations: 134.8 kB / 0.7504 GB, free: 109.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0098/1.637, allocations: 3.869 MB / 0.7542 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.637, allocations: 0 / 0.7542 GB, free: 106.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004395/1.642, allocations: 1.557 MB / 0.7557 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.643, allocations: 116.9 kB / 0.7558 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/1.648, allocations: 1.963 MB / 0.7577 GB, free: 103.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009611/1.649, allocations: 1.313 MB / 0.759 GB, free: 102.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.363e-06/1.649, allocations: 0 / 0.759 GB, free: 102.1 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeVI_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)