Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_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 3.2.3+maint.om/package.mo): time 0.003166/0.003166, allocations: 178.9 kB / 7.455 MB, free: 2.512 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.301/1.301, allocations: 205.2 MB / 213.1 MB, free: 13.9 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.0009138/0.0009138, allocations: 97.41 kB / 261.1 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06444/0.06444, allocations: 12.2 MB / 321.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2932/0.2932, allocations: 78.05 MB / 449.9 MB, free: 3.641 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3136/0.6068, allocations: 76.09 MB / 0.5137 GB, free: 30.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.7596, allocations: 69.23 MB / 0.5813 GB, free: 9.152 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/1.226, allocations: 100.2 MB / 0.6791 GB, free: 8.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003326/1.227, allocations: 86.58 kB / 0.6792 GB, free: 8.773 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.1121/1.339, allocations: 30.04 MB / 0.7085 GB, free: 15.89 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.688e-05/1.339, allocations: 11.94 kB / 0.7085 GB, free: 15.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006413/1.345, allocations: 0.6063 MB / 0.7091 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/1.349, allocations: 0.8825 MB / 0.71 GB, free: 14.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003661/1.349, allocations: 210.5 kB / 0.7102 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004102/1.35, allocations: 63.84 kB / 0.7103 GB, free: 14.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002836/1.353, allocations: 0.9348 MB / 0.7112 GB, free: 13.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/1.356, allocations: 1.054 MB / 0.7122 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.469e-05/1.356, allocations: 0 / 0.7122 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/1.356, allocations: 0 / 0.7122 GB, free: 12.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.395e-05/1.356, allocations: 28 kB / 0.7122 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/1.366, allocations: 4.35 MB / 0.7165 GB, free: 9.324 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/1.368, allocations: 0.6568 MB / 0.7171 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/1.369, allocations: 0.6171 MB / 0.7177 GB, free: 8.625 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/1.369, allocations: 20.97 kB / 0.7177 GB, free: 8.605 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/1.37, allocations: 46.81 kB / 0.7178 GB, free: 8.559 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 6.432e-06/1.37, allocations: 0 / 0.7178 GB, free: 8.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.02051/1.39, allocations: 4.534 MB / 0.7222 GB, free: 4.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.39, allocations: 123.7 kB / 0.7223 GB, free: 4.441 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001798/1.392, allocations: 0.8078 MB / 0.7231 GB, free: 3.844 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003003/1.392, allocations: 29.7 kB / 0.7231 GB, free: 3.805 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003627/1.393, allocations: 384.1 kB / 0.7235 GB, free: 3.484 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006784/1.393, allocations: 380.5 kB / 0.7239 GB, free: 3.148 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/1.394, allocations: 4 kB / 0.7239 GB, free: 3.145 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/1.394, allocations: 343.9 kB / 0.7242 GB, free: 2.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/1.395, allocations: 481 kB / 0.7247 GB, free: 2.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/1.396, allocations: 0.645 MB / 0.7253 GB, free: 2.105 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.398, allocations: 0.5264 MB / 0.7258 GB, free: 1.809 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/1.398, allocations: 3.938 kB / 0.7258 GB, free: 1.805 MB / 458.7 MB Notification: Performance of matching and sorting (n=141) (initialization): time 0.02085/1.418, allocations: 4.735 MB / 0.7304 GB, free: 13.68 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009277/1.419, allocations: 1.677 MB / 0.7321 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.766e-05/1.419, allocations: 4 kB / 0.7321 GB, free: 11.92 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008971/1.428, allocations: 1.825 MB / 0.7339 GB, free: 10.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.43, allocations: 174.5 kB / 0.734 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02396/1.454, allocations: 6.803 MB / 0.7407 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00272/1.457, allocations: 202.9 kB / 0.7409 GB, free: 4.074 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/1.457, allocations: 47.98 kB / 0.7409 GB, free: 4.027 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/1.457, allocations: 4 kB / 0.7409 GB, free: 4.023 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02136/1.478, allocations: 4.549 MB / 0.7454 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.908e-05/1.479, allocations: 4 kB / 0.7454 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/1.489, allocations: 1.824 MB / 0.7471 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/1.49, allocations: 155.8 kB / 0.7473 GB, free: 13.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02728/1.518, allocations: 6.802 MB / 0.7539 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002675/1.52, allocations: 183 kB / 0.7541 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/1.521, allocations: 36 kB / 0.7541 GB, free: 6.332 MB / 490.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0006029/1.521, allocations: 150 kB / 0.7543 GB, free: 6.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005632/1.522, allocations: 138.3 kB / 0.7544 GB, free: 6.043 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/1.545, allocations: 4.61 MB / 0.7589 GB, free: 1.414 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.789e-05/1.545, allocations: 15.98 kB / 0.7589 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.545, allocations: 3.906 kB / 0.7589 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-05/1.545, allocations: 11.97 kB / 0.7589 GB, free: 1.383 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/1.572, allocations: 6.141 MB / 0.7649 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/1.572, allocations: 4 kB / 0.765 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/1.573, allocations: 127.8 kB / 0.7651 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006522/1.58, allocations: 1.789 MB / 0.7668 GB, free: 9.234 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003247/1.58, allocations: 4 kB / 0.7668 GB, free: 9.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01467/1.595, allocations: 5.997 MB / 0.7727 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.595, allocations: 3.984 kB / 0.7727 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01614/1.611, allocations: 5.463 MB / 0.778 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01696/1.628, allocations: 6.65 MB / 0.7845 GB, free: 6.949 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005503/1.628, allocations: 223.1 kB / 0.7847 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002382/1.629, allocations: 4 kB / 0.7847 GB, free: 6.707 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/1.63, allocations: 143.9 kB / 0.7849 GB, free: 6.566 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00032/1.63, allocations: 116.8 kB / 0.785 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/1.63, allocations: 31.98 kB / 0.785 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0009011/1.631, allocations: 0.6123 MB / 0.7856 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003374/1.635, allocations: 0.6939 MB / 0.7863 GB, free: 5.109 MB / 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,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0004818/1.635, allocations: 136.4 kB / 0.7864 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.646, allocations: 3.716 MB / 0.79 GB, free: 1.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.646, allocations: 4.5 kB / 0.79 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00465/1.651, allocations: 1.507 MB / 0.7915 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/1.652, allocations: 104.5 kB / 0.7916 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005251/1.658, allocations: 1.829 MB / 0.7934 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.659, allocations: 1.253 MB / 0.7946 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/1.659, allocations: 0 / 0.7946 GB, free: 12.45 MB / 0.5261 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIV_test.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)