Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear") translateModel(Annex60.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear") [: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/Annex60 1.0.0/package.mo): time 0.2637/0.2637, allocations: 54.39 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001206/0.001206, allocations: 190.3 kB / 75.37 MB, free: 1.574 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.246/1.246, allocations: 194.2 MB / 283.2 MB, free: 3.508 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001681/0.001681, allocations: 113.2 kB / 341.3 MB, free: 9.391 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.985e-06/8.005e-06, allocations: 0 / 404.9 MB, free: 27.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1431, allocations: 57.65 MB / 462.6 MB, free: 1.992 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.5366, allocations: 84.66 MB / 0.5344 GB, free: 12.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5369, allocations: 63.22 kB / 0.5345 GB, free: 12.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.003318/0.5402, allocations: 0.763 MB / 0.5352 GB, free: 11.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.5402, allocations: 4 kB / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004939/0.5407, allocations: 378.3 kB / 0.5356 GB, free: 11.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.5408, allocations: 15.91 kB / 0.5356 GB, free: 11.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.281e-05/0.5409, allocations: 15.78 kB / 0.5356 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.541, allocations: 170.9 kB / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.541, allocations: 0 / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.5411, allocations: 0 / 0.5358 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001325/0.5412, allocations: 30.73 kB / 0.5358 GB, free: 11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.5413, allocations: 52.17 kB / 0.5359 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.5413, allocations: 0 / 0.5359 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.5414, allocations: 1.625 kB / 0.5359 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5414, allocations: 4 kB / 0.5359 GB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005921/0.542, allocations: 310.3 kB / 0.5362 GB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.605e-05/0.5421, allocations: 40.31 kB / 0.5362 GB, free: 10.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.5421, allocations: 26.88 kB / 0.5362 GB, free: 10.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002193/0.5424, allocations: 111.6 kB / 0.5363 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.5424, allocations: 30.56 kB / 0.5364 GB, free: 10.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.5424, allocations: 0 / 0.5364 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002938/0.5427, allocations: 83.33 kB / 0.5364 GB, free: 10.31 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/0.5427, allocations: 55.34 kB / 0.5365 GB, free: 10.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.5429, allocations: 117.3 kB / 0.5366 GB, free: 10.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.5429, allocations: 26.47 kB / 0.5366 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.5429, allocations: 91.77 kB / 0.5367 GB, free: 10.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.543, allocations: 7.891 kB / 0.5367 GB, free: 10 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.543, allocations: 0 / 0.5367 GB, free: 10 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.5431, allocations: 318.5 kB / 0.537 GB, free: 9.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.5431, allocations: 15.61 kB / 0.537 GB, free: 9.672 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.5432, allocations: 15.25 kB / 0.5371 GB, free: 9.664 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.5433, allocations: 25.73 kB / 0.5371 GB, free: 9.645 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5433, allocations: 0 / 0.5371 GB, free: 9.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001684/0.5435, allocations: 80.5 kB / 0.5372 GB, free: 9.566 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.5435, allocations: 8 kB / 0.5372 GB, free: 9.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/0.5435, allocations: 4 kB / 0.5372 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.073e-06/0.5435, allocations: 0 / 0.5372 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.5436, allocations: 20.98 kB / 0.5372 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.5437, allocations: 3.906 kB / 0.5372 GB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.636e-05/0.5438, allocations: 23.98 kB / 0.5372 GB, free: 9.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.5438, allocations: 3.984 kB / 0.5372 GB, free: 9.504 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.204e-05/0.5439, allocations: 104.9 kB / 0.5373 GB, free: 9.395 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.5439, allocations: 7.906 kB / 0.5373 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000218/0.5441, allocations: 92.28 kB / 0.5374 GB, free: 9.301 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5442, allocations: 3.984 kB / 0.5374 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.5442, allocations: 0 / 0.5374 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.5442, allocations: 4 kB / 0.5374 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001682/0.5444, allocations: 158.9 kB / 0.5376 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5444, allocations: 0 / 0.5376 GB, free: 9.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.5445, allocations: 23.98 kB / 0.5376 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.5445, allocations: 3.938 kB / 0.5376 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.5445, allocations: 0 / 0.5376 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5445, allocations: 0 / 0.5376 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.5445, allocations: 0 / 0.5376 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001964/0.5447, allocations: 182 kB / 0.5378 GB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.5448, allocations: 84.95 kB / 0.5379 GB, free: 8.801 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.5448, allocations: 11.98 kB / 0.5379 GB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5449, allocations: 19.98 kB / 0.5379 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.647e-05/0.545, allocations: 0 / 0.5379 GB, free: 8.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.545, allocations: 4 kB / 0.5379 GB, free: 8.766 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.274e-05/0.5451, allocations: 100.3 kB / 0.538 GB, free: 8.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.5453, allocations: 19.91 kB / 0.538 GB, free: 8.656 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.5454, allocations: 99.23 kB / 0.5381 GB, free: 8.547 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.5455, allocations: 35.23 kB / 0.5381 GB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.5455, allocations: 0 / 0.5381 GB, free: 8.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.782e-05/0.5456, allocations: 23.25 kB / 0.5382 GB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.5457, allocations: 10.38 kB / 0.5382 GB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/0.546, allocations: 95.12 kB / 0.5383 GB, free: 8.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003139/0.5463, allocations: 0.7032 MB / 0.5389 GB, free: 7.656 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5463, allocations: 0 / 0.5389 GB, free: 7.656 MB / 378.7 MB Notification: Performance of Templates: time 0.002332/0.5486, allocations: 0.7494 MB / 0.5397 GB, free: 6.922 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)