Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") [: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.001919/0.00192, allocations: 184.8 kB / 7.463 MB, free: 2.5 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.059/1.059, allocations: 221.4 MB / 229.3 MB, free: 2.988 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.0008985/0.0008985, allocations: 99.36 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3684/0.3684, allocations: 78.1 MB / 409 MB, free: 15.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.189e-06/5.6e-06, allocations: 0 / 484.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2476, allocations: 69.33 MB / 0.5408 GB, free: 21.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3554, allocations: 101 MB / 0.6393 GB, free: 3.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.3556, allocations: 83.95 kB / 0.6394 GB, free: 3.793 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07642/0.4321, allocations: 30.58 MB / 0.6693 GB, free: 4.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.572e-05/0.4322, allocations: 39.88 kB / 0.6693 GB, free: 4.941 MB / 490.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.005128/0.4373, allocations: 2.035 MB / 0.6713 GB, free: 2.859 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.4374, allocations: 8.031 kB / 0.6713 GB, free: 2.852 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003369/0.4408, allocations: 0.6145 MB / 0.6719 GB, free: 2.234 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.4425, allocations: 0.9138 MB / 0.6728 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.4428, allocations: 218.5 kB / 0.673 GB, free: 1.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.443, allocations: 56 kB / 0.6731 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1281/0.5711, allocations: 1.036 MB / 0.6741 GB, free: 138.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.5728, allocations: 1.093 MB / 0.6752 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.5728, allocations: 0 / 0.6752 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.643e-05/0.5729, allocations: 5.062 kB / 0.6752 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.5729, allocations: 31.36 kB / 0.6752 GB, free: 138.2 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005448/0.5784, allocations: 4.159 MB / 0.6792 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.5795, allocations: 0.7477 MB / 0.68 GB, free: 137.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.5803, allocations: 0.6665 MB / 0.6806 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.5805, allocations: 23.11 kB / 0.6807 GB, free: 137 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.5805, allocations: 46.53 kB / 0.6807 GB, free: 137 MB / 490.7 MB Notification: Performance of pre-optimization done (n=116): time 2.184e-06/0.5805, allocations: 2.844 kB / 0.6807 GB, free: 137 MB / 490.7 MB Notification: Performance of matching and sorting (n=116): time 0.01191/0.5924, allocations: 4.634 MB / 0.6852 GB, free: 136.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.5925, allocations: 118.3 kB / 0.6853 GB, free: 136.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009301/0.5934, allocations: 0.8383 MB / 0.6862 GB, free: 136.5 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.5935, allocations: 25.7 kB / 0.6862 GB, free: 136.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000175/0.5937, allocations: 407.4 kB / 0.6866 GB, free: 136.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003054/0.594, allocations: 395.6 kB / 0.6869 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.5941, allocations: 0 / 0.6869 GB, free: 136.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.103e-05/0.5942, allocations: 351 kB / 0.6873 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/0.5949, allocations: 0.5104 MB / 0.6878 GB, free: 135.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00077/0.5957, allocations: 0.6703 MB / 0.6884 GB, free: 135.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007765/0.5965, allocations: 0.5719 MB / 0.689 GB, free: 135.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.5965, allocations: 3.531 kB / 0.689 GB, free: 135.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.01238/0.6088, allocations: 4.85 MB / 0.6937 GB, free: 135.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000214/0.6091, allocations: 1.336 MB / 0.695 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6091, allocations: 3.812 kB / 0.695 GB, free: 133.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/0.6144, allocations: 1.822 MB / 0.6968 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/0.6153, allocations: 180.1 kB / 0.697 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/0.6289, allocations: 6.8 MB / 0.7036 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.6307, allocations: 221.5 kB / 0.7038 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.6308, allocations: 41.09 kB / 0.7039 GB, free: 132.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.6308, allocations: 3.5 kB / 0.7039 GB, free: 132.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01285/0.6437, allocations: 4.673 MB / 0.7084 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.6437, allocations: 2.156 kB / 0.7085 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.6492, allocations: 1.825 MB / 0.7102 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008685/0.6501, allocations: 166.8 kB / 0.7104 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.6633, allocations: 6.806 MB / 0.717 GB, free: 129.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.6649, allocations: 204.6 kB / 0.7172 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.665, allocations: 43.98 kB / 0.7173 GB, free: 129.2 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.0003522/0.6654, allocations: 134.3 kB / 0.7174 GB, free: 129.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.6656, allocations: 140.6 kB / 0.7175 GB, free: 129 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01211/0.6777, allocations: 4.729 MB / 0.7222 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.6778, allocations: 9.938 kB / 0.7222 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.6778, allocations: 0 / 0.7222 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.737e-05/0.6778, allocations: 9.5 kB / 0.7222 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.6918, allocations: 6.328 MB / 0.7284 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/0.6919, allocations: 4.172 kB / 0.7284 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008487/0.6927, allocations: 151.1 kB / 0.7285 GB, free: 126 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/0.6979, allocations: 1.792 MB / 0.7303 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.6981, allocations: 5.453 kB / 0.7303 GB, free: 125.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01233/0.7104, allocations: 6.009 MB / 0.7361 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.7105, allocations: 0 / 0.7361 GB, free: 122.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01322/0.7237, allocations: 5.63 MB / 0.7416 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.7241, allocations: 233.1 kB / 0.7418 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002671/0.7243, allocations: 7.469 kB / 0.7419 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.7256, allocations: 157.6 kB / 0.742 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.7259, allocations: 124.7 kB / 0.7421 GB, free: 117.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.792e-05/0.726, allocations: 31.23 kB / 0.7422 GB, free: 117.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007277/0.7267, allocations: 0.6419 MB / 0.7428 GB, free: 117.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001763/0.7285, allocations: 0.7063 MB / 0.7435 GB, free: 116.4 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.0002487/0.7288, allocations: 143.3 kB / 0.7436 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008764/0.7375, allocations: 3.856 MB / 0.7474 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.7376, allocations: 0 / 0.7474 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003682/0.7412, allocations: 1.552 MB / 0.7489 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007098/0.742, allocations: 127.5 kB / 0.749 GB, free: 111.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.7462, allocations: 1.964 MB / 0.7509 GB, free: 109.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000738/0.747, allocations: 1.286 MB / 0.7522 GB, free: 108.4 MB / 490.7 MB Notification: Performance of SimCode: time 6.91e-07/0.747, allocations: 0 / 0.7522 GB, free: 108.4 MB / 490.7 MB Notification: Performance of Templates: time 0.03689/0.7839, allocations: 34.03 MB / 0.7854 GB, free: 80.47 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)