Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_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.002944/0.002944, allocations: 182.6 kB / 7.458 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.285/1.285, 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.0009616/0.0009617, allocations: 103.6 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4585/0.4585, allocations: 78.06 MB / 409 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2019/0.6605, allocations: 75.49 MB / 484.4 MB, free: 4.348 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/1.053, allocations: 69.35 MB / 0.5408 GB, free: 21.55 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/1.195, allocations: 98.54 MB / 0.637 GB, free: 6.277 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/1.195, allocations: 83.94 kB / 0.6371 GB, free: 6.195 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.08792/1.283, allocations: 30.09 MB / 0.6665 GB, free: 7.859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.283, allocations: 12 kB / 0.6665 GB, free: 7.848 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004248/1.287, allocations: 0.599 MB / 0.6671 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/1.289, allocations: 0.8463 MB / 0.6679 GB, free: 6.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/1.29, allocations: 206.5 kB / 0.6681 GB, free: 6.113 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/1.29, allocations: 59.91 kB / 0.6682 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00182/1.292, allocations: 0.9139 MB / 0.6691 GB, free: 5.141 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/1.294, allocations: 1.021 MB / 0.6701 GB, free: 4.078 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/1.294, allocations: 3.938 kB / 0.6701 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/1.294, allocations: 0 / 0.6701 GB, free: 4.074 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.648e-05/1.294, allocations: 27.98 kB / 0.6701 GB, free: 4.047 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2539/1.548, allocations: 4.124 MB / 0.6741 GB, free: 140.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/1.549, allocations: 0.6392 MB / 0.6748 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/1.55, allocations: 0.61 MB / 0.6753 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001321/1.55, allocations: 30.7 kB / 0.6754 GB, free: 140.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/1.55, allocations: 45.03 kB / 0.6754 GB, free: 140.5 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.035e-06/1.55, allocations: 0 / 0.6754 GB, free: 140.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01326/1.563, allocations: 4.503 MB / 0.6798 GB, free: 140.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/1.564, allocations: 114.5 kB / 0.6799 GB, free: 140.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.565, allocations: 0.7751 MB / 0.6807 GB, free: 140.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002605/1.565, allocations: 28.23 kB / 0.6807 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000257/1.565, allocations: 378.9 kB / 0.6811 GB, free: 140 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004002/1.566, allocations: 359.8 kB / 0.6814 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.097e-05/1.566, allocations: 3 kB / 0.6814 GB, free: 139.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.96e-05/1.566, allocations: 341 kB / 0.6817 GB, free: 139.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/1.567, allocations: 473.9 kB / 0.6822 GB, free: 139.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008584/1.568, allocations: 0.631 MB / 0.6828 GB, free: 139.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008311/1.569, allocations: 0.5204 MB / 0.6833 GB, free: 139.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.569, allocations: 0 / 0.6833 GB, free: 139.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01344/1.582, allocations: 4.697 MB / 0.6879 GB, free: 138.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004538/1.582, allocations: 1.499 MB / 0.6894 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/1.583, allocations: 3.281 kB / 0.6894 GB, free: 137.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005882/1.588, allocations: 1.818 MB / 0.6911 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/1.589, allocations: 164.1 kB / 0.6913 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01538/1.605, allocations: 6.798 MB / 0.6979 GB, free: 135.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/1.607, allocations: 200.1 kB / 0.6981 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001963/1.607, allocations: 42.73 kB / 0.6982 GB, free: 135.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/1.607, allocations: 3.531 kB / 0.6982 GB, free: 135.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01521/1.622, allocations: 4.525 MB / 0.7026 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-05/1.623, allocations: 3.406 kB / 0.7026 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006285/1.629, allocations: 1.824 MB / 0.7044 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/1.63, allocations: 151.7 kB / 0.7045 GB, free: 135.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/1.645, allocations: 6.798 MB / 0.7112 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001886/1.647, allocations: 180.7 kB / 0.7113 GB, free: 133.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.647, allocations: 42.81 kB / 0.7114 GB, free: 133.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.0004399/1.648, allocations: 131.7 kB / 0.7115 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002651/1.648, allocations: 135.8 kB / 0.7116 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/1.661, allocations: 4.604 MB / 0.7161 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.734e-05/1.661, allocations: 10.88 kB / 0.7161 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.661, allocations: 0 / 0.7161 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.708e-05/1.661, allocations: 3.656 kB / 0.7161 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/1.677, allocations: 6.087 MB / 0.7221 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.677, allocations: 0 / 0.7221 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008329/1.678, allocations: 125.3 kB / 0.7222 GB, free: 130.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00557/1.684, allocations: 1.791 MB / 0.724 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002683/1.684, allocations: 4 kB / 0.724 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/1.699, allocations: 5.992 MB / 0.7298 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/1.699, allocations: 5.312 kB / 0.7298 GB, free: 127.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01672/1.716, allocations: 5.417 MB / 0.7351 GB, free: 124.1 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01582/1.732, allocations: 6.583 MB / 0.7415 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005481/1.732, allocations: 225.2 kB / 0.7418 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002285/1.732, allocations: 0 / 0.7418 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.734, allocations: 137.2 kB / 0.7419 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/1.734, allocations: 115.9 kB / 0.742 GB, free: 118 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.23e-05/1.734, allocations: 35.91 kB / 0.742 GB, free: 118 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007831/1.735, allocations: 0.587 MB / 0.7426 GB, free: 117.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003265/1.738, allocations: 0.6795 MB / 0.7433 GB, free: 116.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.000354/1.738, allocations: 131.5 kB / 0.7434 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009698/1.748, allocations: 3.681 MB / 0.747 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/1.748, allocations: 0 / 0.747 GB, free: 113.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004421/1.753, allocations: 1.49 MB / 0.7484 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/1.754, allocations: 91.95 kB / 0.7485 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/1.759, allocations: 1.75 MB / 0.7502 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008121/1.76, allocations: 1.238 MB / 0.7514 GB, free: 109.3 MB / 490.7 MB Notification: Performance of SimCode: time 9.42e-07/1.76, allocations: 0 / 0.7514 GB, free: 109.3 MB / 490.7 MB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSAT_TG_TGTypeIII_test.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)