Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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 3.2.3+maint.om/package.mo): time 0.003405/0.003409, allocations: 176.3 kB / 7.445 MB, free: 2.316 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.318/1.318, allocations: 205.2 MB / 213.1 MB, free: 13.92 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.0008551/0.000855, allocations: 92.75 kB / 261.1 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07534/0.07534, allocations: 12.59 MB / 321.6 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2888/0.2888, allocations: 78.05 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.625e-06/7.655e-06, allocations: 3.938 kB / 0.5141 GB, free: 29.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1315, allocations: 69.34 MB / 0.5818 GB, free: 8.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3624/0.494, allocations: 100.1 MB / 0.6796 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4943, allocations: 84.44 kB / 0.6797 GB, free: 8.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.07184/0.5661, allocations: 27.38 MB / 0.7065 GB, free: 1.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001292/0.5663, allocations: 28.88 kB / 0.7065 GB, free: 1.793 MB / 442.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.006003/0.5723, allocations: 1.926 MB / 0.7084 GB, free: 15.95 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.5724, allocations: 11.97 kB / 0.7084 GB, free: 15.94 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004008/0.5764, allocations: 0.5997 MB / 0.709 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.5786, allocations: 0.8505 MB / 0.7098 GB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002548/0.5789, allocations: 206.5 kB / 0.71 GB, free: 14.42 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002928/0.5792, allocations: 59.91 kB / 0.7101 GB, free: 14.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001896/0.5811, allocations: 0.9308 MB / 0.711 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.5829, allocations: 1.012 MB / 0.712 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.5829, allocations: 4 kB / 0.712 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.583, allocations: 3.938 kB / 0.712 GB, free: 13.05 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5831, allocations: 24 kB / 0.712 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007404/0.5905, allocations: 4.128 MB / 0.716 GB, free: 9.664 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5917, allocations: 0.6407 MB / 0.7166 GB, free: 9.305 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000884/0.5926, allocations: 0.6098 MB / 0.7172 GB, free: 8.984 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.5927, allocations: 16.98 kB / 0.7172 GB, free: 8.969 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.5927, allocations: 47.38 kB / 0.7173 GB, free: 8.922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=107): time 2.815e-06/0.5928, allocations: 0 / 0.7173 GB, free: 8.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.01385/0.6066, allocations: 4.505 MB / 0.7217 GB, free: 4.969 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.6067, allocations: 115.8 kB / 0.7218 GB, free: 4.828 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.6084, allocations: 0.775 MB / 0.7226 GB, free: 4.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002723/0.6086, allocations: 25.7 kB / 0.7226 GB, free: 4.219 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.609, allocations: 378.2 kB / 0.7229 GB, free: 3.898 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006655/0.6097, allocations: 366.3 kB / 0.7233 GB, free: 3.578 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.6098, allocations: 0 / 0.7233 GB, free: 3.578 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.61, allocations: 348.7 kB / 0.7236 GB, free: 3.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009068/0.6109, allocations: 474.1 kB / 0.7241 GB, free: 3.004 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.6119, allocations: 0.6235 MB / 0.7247 GB, free: 2.562 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009728/0.6129, allocations: 0.5165 MB / 0.7252 GB, free: 2.273 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6129, allocations: 3.938 kB / 0.7252 GB, free: 2.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01437/0.6273, allocations: 4.704 MB / 0.7298 GB, free: 14.17 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005673/0.6279, allocations: 1.501 MB / 0.7313 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.6279, allocations: 4 kB / 0.7313 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006104/0.6341, allocations: 1.812 MB / 0.733 GB, free: 11.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/0.635, allocations: 171.4 kB / 0.7332 GB, free: 10.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.6513, allocations: 6.803 MB / 0.7398 GB, free: 5.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001809/0.6531, allocations: 199 kB / 0.74 GB, free: 4.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.6534, allocations: 39.98 kB / 0.7401 GB, free: 4.801 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.6534, allocations: 7.906 kB / 0.7401 GB, free: 4.793 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01422/0.6676, allocations: 4.514 MB / 0.7445 GB, free: 280 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.6677, allocations: 4 kB / 0.7445 GB, free: 276 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006136/0.6738, allocations: 1.824 MB / 0.7463 GB, free: 14.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/0.6749, allocations: 151.8 kB / 0.7464 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.6913, allocations: 6.81 MB / 0.7531 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001689/0.693, allocations: 171.2 kB / 0.7532 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002807/0.6933, allocations: 39.91 kB / 0.7533 GB, free: 7.141 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.0005684/0.6939, allocations: 141.1 kB / 0.7534 GB, free: 7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004845/0.6944, allocations: 130.4 kB / 0.7535 GB, free: 6.871 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01395/0.7083, allocations: 4.601 MB / 0.758 GB, free: 2.254 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.7084, allocations: 15.98 kB / 0.758 GB, free: 2.238 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.7084, allocations: 7.906 kB / 0.758 GB, free: 2.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/0.7085, allocations: 3.984 kB / 0.758 GB, free: 2.227 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01683/0.7253, allocations: 6.074 MB / 0.764 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.7254, allocations: 0 / 0.764 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.7263, allocations: 131.8 kB / 0.7641 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005878/0.7322, allocations: 1.785 MB / 0.7658 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003033/0.7325, allocations: 8 kB / 0.7658 GB, free: 10.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01461/0.7471, allocations: 5.993 MB / 0.7717 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.7472, allocations: 3.984 kB / 0.7717 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01573/0.7629, allocations: 5.424 MB / 0.777 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005824/0.7636, allocations: 215.2 kB / 0.7772 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005622/0.7641, allocations: 7.906 kB / 0.7772 GB, free: 14.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.7657, allocations: 135.9 kB / 0.7773 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004308/0.7662, allocations: 124.7 kB / 0.7775 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/0.7664, allocations: 27.98 kB / 0.7775 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001065/0.7675, allocations: 0.5837 MB / 0.7781 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00268/0.7702, allocations: 0.6783 MB / 0.7787 GB, free: 12.79 MB / 0.5105 GB 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.0004165/0.7706, allocations: 131.1 kB / 0.7788 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01079/0.7814, allocations: 3.68 MB / 0.7824 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.7814, allocations: 0 / 0.7824 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004712/0.7862, allocations: 1.5 MB / 0.7839 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.7874, allocations: 87.86 kB / 0.784 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005896/0.7933, allocations: 1.747 MB / 0.7857 GB, free: 5.574 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001212/0.7946, allocations: 1.221 MB / 0.7869 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.7946, allocations: 0 / 0.7869 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of Templates: time 0.05525/0.8498, allocations: 31.91 MB / 0.818 GB, free: 4.379 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)