Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_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.003437/0.003437, allocations: 183.1 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.174/1.174, allocations: 205.2 MB / 213.1 MB, free: 13.84 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.0008969/0.0008966, allocations: 92.91 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-master/package.mo): time 0.06603/0.06603, allocations: 12.59 MB / 321.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3177/0.3177, allocations: 78.05 MB / 450.4 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 69.32 MB / 0.5818 GB, free: 8.754 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5395, allocations: 99.38 MB / 0.6789 GB, free: 8.988 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.5399, allocations: 91.25 kB / 0.679 GB, free: 8.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09535/0.6353, allocations: 24.54 MB / 0.7029 GB, free: 4.812 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001292/0.6355, allocations: 20 kB / 0.703 GB, free: 4.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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.008498/0.644, allocations: 1.784 MB / 0.7047 GB, free: 3.082 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.6441, allocations: 11.97 kB / 0.7047 GB, free: 3.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006466/0.6505, allocations: 0.5753 MB / 0.7053 GB, free: 2.543 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.6537, allocations: 0.7619 MB / 0.706 GB, free: 1.879 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003759/0.6541, allocations: 205.9 kB / 0.7062 GB, free: 1.652 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003981/0.6545, allocations: 43.91 kB / 0.7063 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002951/0.6575, allocations: 0.8492 MB / 0.7071 GB, free: 1.094 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.6603, allocations: 0.8503 MB / 0.7079 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/0.6603, allocations: 4 kB / 0.7079 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.6605, allocations: 0 / 0.7079 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.208e-05/0.6606, allocations: 16 kB / 0.7079 GB, free: 500 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01002/0.6706, allocations: 3.053 MB / 0.7109 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.6724, allocations: 0.6026 MB / 0.7115 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.6738, allocations: 0.5629 MB / 0.7121 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001655/0.674, allocations: 12.03 kB / 0.7121 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.6741, allocations: 40.22 kB / 0.7121 GB, free: 13.44 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 5.159e-06/0.6741, allocations: 0 / 0.7121 GB, free: 13.44 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.01496/0.6891, allocations: 4.445 MB / 0.7164 GB, free: 9.527 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.6892, allocations: 93.83 kB / 0.7165 GB, free: 9.418 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.6906, allocations: 0.7111 MB / 0.7172 GB, free: 8.879 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/0.6909, allocations: 25.7 kB / 0.7173 GB, free: 8.848 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.6912, allocations: 323.5 kB / 0.7176 GB, free: 8.574 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/0.6919, allocations: 311.5 kB / 0.7179 GB, free: 8.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.692, allocations: 0.9375 kB / 0.7179 GB, free: 8.301 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.6922, allocations: 336.1 kB / 0.7182 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009021/0.6931, allocations: 438.9 kB / 0.7186 GB, free: 7.758 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008803/0.694, allocations: 0.5448 MB / 0.7191 GB, free: 7.406 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.6949, allocations: 487.6 kB / 0.7196 GB, free: 7.137 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.6949, allocations: 0 / 0.7196 GB, free: 7.137 MB / 458.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01462/0.7095, allocations: 4.579 MB / 0.7241 GB, free: 3.121 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004501/0.71, allocations: 0.7902 MB / 0.7248 GB, free: 2.289 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.71, allocations: 3.938 kB / 0.7248 GB, free: 2.285 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006514/0.7166, allocations: 1.823 MB / 0.7266 GB, free: 0.6953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008714/0.7175, allocations: 119.3 kB / 0.7267 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/0.7351, allocations: 6.814 MB / 0.7334 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.737, allocations: 187.2 kB / 0.7336 GB, free: 11.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.7373, allocations: 31 kB / 0.7336 GB, free: 11.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.7374, allocations: 4 kB / 0.7336 GB, free: 11.36 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01474/0.7521, allocations: 4.43 MB / 0.7379 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/0.7522, allocations: 0 / 0.7379 GB, free: 7.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006208/0.7584, allocations: 1.82 MB / 0.7397 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000704/0.7591, allocations: 111.8 kB / 0.7398 GB, free: 5.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/0.7761, allocations: 6.817 MB / 0.7465 GB, free: 14.22 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.7778, allocations: 171.3 kB / 0.7466 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002384/0.7781, allocations: 31.98 kB / 0.7467 GB, free: 14.02 MB / 490.7 MB Warning: Assuming fixed start value for the following 1 variables: tGtypeII.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004409/0.7785, allocations: 120.8 kB / 0.7468 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000413/0.7789, allocations: 114.6 kB / 0.7469 GB, free: 13.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/0.793, allocations: 4.513 MB / 0.7513 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.982e-05/0.7931, allocations: 11.98 kB / 0.7513 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7931, allocations: 0 / 0.7513 GB, free: 9.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.884e-05/0.7931, allocations: 3.984 kB / 0.7513 GB, free: 9.246 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01751/0.8106, allocations: 5.911 MB / 0.7571 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.366e-05/0.8107, allocations: 0 / 0.7571 GB, free: 3.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007381/0.8115, allocations: 99.83 kB / 0.7572 GB, free: 3.152 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006021/0.8175, allocations: 1.789 MB / 0.7589 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002629/0.8178, allocations: 0 / 0.7589 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/0.8322, allocations: 6.004 MB / 0.7648 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.8323, allocations: 0 / 0.7648 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01573/0.848, allocations: 5.296 MB / 0.77 GB, free: 5.906 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007934/0.8488, allocations: 207.5 kB / 0.7702 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000543/0.8494, allocations: 4 kB / 0.7702 GB, free: 5.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.851, allocations: 139.9 kB / 0.7703 GB, free: 5.543 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.8514, allocations: 108.6 kB / 0.7704 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.8516, allocations: 27.98 kB / 0.7704 GB, free: 5.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001002/0.8526, allocations: 0.5411 MB / 0.771 GB, free: 4.859 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002499/0.8551, allocations: 0.6239 MB / 0.7716 GB, free: 4.234 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (gen.delta,gen.w,gen.e1q,tGtypeII.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0003732/0.8555, allocations: 127.1 kB / 0.7717 GB, free: 4.102 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01008/0.8656, allocations: 3.524 MB / 0.7751 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.8656, allocations: 0 / 0.7751 GB, free: 0.5586 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004295/0.8699, allocations: 1.46 MB / 0.7765 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008838/0.8708, allocations: 75.48 kB / 0.7766 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005363/0.8762, allocations: 1.636 MB / 0.7782 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009309/0.8772, allocations: 1.146 MB / 0.7793 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.895e-06/0.8772, allocations: 0 / 0.7793 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.04791/0.9251, allocations: 30.09 MB / 0.8087 GB, free: 14.03 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeII_test.pipe 2>&1)