Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") [: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.2749/0.2749, allocations: 54.4 MB / 61.68 MB, free: 1.824 MB / 50.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001281/0.001282, allocations: 184.4 kB / 75.38 MB, free: 10.61 MB / 66.85 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.2 MB / 283.2 MB, free: 9.395 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001664/0.001664, allocations: 102.9 kB / 341.2 MB, free: 2.262 MB / 258.8 MB Notification: Performance of FrontEnd - loaded program: time 7.223e-06/7.263e-06, allocations: 0 / 405 MB, free: 2.512 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 57.64 MB / 462.6 MB, free: 8.785 MB / 386.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2668/0.3755, allocations: 83.99 MB / 0.5338 GB, free: 15.71 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001845/0.3757, allocations: 75.95 kB / 0.5339 GB, free: 15.64 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.0008923/0.3766, allocations: 153.9 kB / 0.534 GB, free: 15.5 MB / 386.8 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.3766, allocations: 2.469 kB / 0.534 GB, free: 15.5 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001367/0.3768, allocations: 306.3 kB / 0.5343 GB, free: 15.16 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3768, allocations: 11.97 kB / 0.5343 GB, free: 15.14 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.375e-05/0.3768, allocations: 3.594 kB / 0.5343 GB, free: 15.14 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.558e-05/0.3769, allocations: 159.1 kB / 0.5345 GB, free: 14.95 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3769, allocations: 7.984 kB / 0.5345 GB, free: 14.94 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.3769, allocations: 7.719 kB / 0.5345 GB, free: 14.94 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.092e-05/0.377, allocations: 0 / 0.5345 GB, free: 14.94 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.842e-05/0.377, allocations: 29.7 kB / 0.5345 GB, free: 14.9 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.377, allocations: 0 / 0.5345 GB, free: 14.9 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.377, allocations: 0.9375 kB / 0.5345 GB, free: 14.9 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.377, allocations: 0 / 0.5345 GB, free: 14.9 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.937e-05/0.3771, allocations: 131.9 kB / 0.5346 GB, free: 14.74 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 2.344e-05/0.3772, allocations: 15.08 kB / 0.5347 GB, free: 14.71 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.338e-05/0.3772, allocations: 9.859 kB / 0.5347 GB, free: 14.7 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.309e-05/0.3772, allocations: 3.984 kB / 0.5347 GB, free: 14.7 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.609e-05/0.3772, allocations: 35.09 kB / 0.5347 GB, free: 14.66 MB / 386.8 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3773, allocations: 2.062 kB / 0.5347 GB, free: 14.66 MB / 386.8 MB Notification: Performance of matching and sorting (n=1): time 0.0001346/0.3774, allocations: 33.7 kB / 0.5347 GB, free: 14.62 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.461e-05/0.3774, allocations: 53.16 kB / 0.5348 GB, free: 14.55 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.665e-05/0.3774, allocations: 85 kB / 0.5349 GB, free: 14.46 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-06/0.3774, allocations: 26.23 kB / 0.5349 GB, free: 14.43 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.096e-05/0.3775, allocations: 81.27 kB / 0.535 GB, free: 14.35 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.138e-05/0.3775, allocations: 3.906 kB / 0.535 GB, free: 14.35 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.3775, allocations: 0 / 0.535 GB, free: 14.35 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.3775, allocations: 315.8 kB / 0.5353 GB, free: 14.03 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.943e-06/0.3776, allocations: 4.969 kB / 0.5353 GB, free: 14.03 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.13e-06/0.3776, allocations: 3.984 kB / 0.5353 GB, free: 14.02 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.222e-05/0.3776, allocations: 0.75 kB / 0.5353 GB, free: 14.02 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.3776, allocations: 0 / 0.5353 GB, free: 14.02 MB / 386.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.07e-05/0.3777, allocations: 38.3 kB / 0.5353 GB, free: 13.98 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.3777, allocations: 6.562 kB / 0.5353 GB, free: 13.98 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3777, allocations: 0 / 0.5353 GB, free: 13.98 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.3777, allocations: 0 / 0.5353 GB, free: 13.98 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.077e-05/0.3778, allocations: 4.75 kB / 0.5353 GB, free: 13.97 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.3778, allocations: 5.078 kB / 0.5353 GB, free: 13.97 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.3778, allocations: 3.938 kB / 0.5353 GB, free: 13.96 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.3778, allocations: 3.906 kB / 0.5353 GB, free: 13.96 MB / 386.8 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 (1): * Single equations (assignments): 1 * 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 3.664e-05/0.3779, allocations: 107.1 kB / 0.5354 GB, free: 13.85 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-06/0.3779, allocations: 0 / 0.5354 GB, free: 13.85 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.378, allocations: 46.53 kB / 0.5355 GB, free: 13.8 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.378, allocations: 1.031 kB / 0.5355 GB, free: 13.8 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.378, allocations: 1.875 kB / 0.5355 GB, free: 13.8 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.378, allocations: 0 / 0.5355 GB, free: 13.8 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.111e-05/0.3781, allocations: 130.5 kB / 0.5356 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3781, allocations: 7.656 kB / 0.5356 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.3781, allocations: 4 kB / 0.5356 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3781, allocations: 5.656 kB / 0.5356 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/0.3781, allocations: 0 / 0.5356 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.3781, allocations: 0 / 0.5356 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3781, allocations: 3.984 kB / 0.5356 GB, free: 13.63 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.51e-05/0.3782, allocations: 57.67 kB / 0.5357 GB, free: 13.56 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.547e-05/0.3782, allocations: 77.11 kB / 0.5358 GB, free: 13.46 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.3782, allocations: 0 / 0.5358 GB, free: 13.46 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.3782, allocations: 0.9688 kB / 0.5358 GB, free: 13.46 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.003e-05/0.3783, allocations: 3.984 kB / 0.5358 GB, free: 13.46 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.3783, allocations: 8.781 kB / 0.5358 GB, free: 13.45 MB / 386.8 MB Notification: Performance of sort global known variables: time 1.118e-05/0.3783, allocations: 75.28 kB / 0.5358 GB, free: 13.38 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0002056/0.3785, allocations: 5.25 kB / 0.5359 GB, free: 13.38 MB / 386.8 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 (1): * Single equations (assignments): 1 * 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.00013/0.3786, allocations: 108.1 kB / 0.536 GB, free: 13.27 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 4.355e-05/0.3787, allocations: 3.938 kB / 0.536 GB, free: 13.26 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.3787, allocations: 6.594 kB / 0.536 GB, free: 13.26 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 4.759e-06/0.3787, allocations: 3.75 kB / 0.536 GB, free: 13.26 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.822e-05/0.3788, allocations: 3.906 kB / 0.536 GB, free: 13.25 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001233/0.3789, allocations: 44.06 kB / 0.536 GB, free: 13.19 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.379, allocations: 0.6829 MB / 0.5367 GB, free: 12.48 MB / 386.8 MB Notification: Performance of SimCode: time 2.7e-07/0.379, allocations: 0 / 0.5367 GB, free: 12.48 MB / 386.8 MB Notification: Performance of Templates: time 0.0017/0.3807, allocations: 312.8 kB / 0.537 GB, free: 12.22 MB / 386.8 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)