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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2903/0.2903, allocations: 55.01 MB / 69.96 MB, free: 8.727 MB / 58.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00112/0.00112, allocations: 191.4 kB / 83.98 MB, free: 10.89 MB / 74.74 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.59/1.59, allocations: 194.4 MB / 292.3 MB, free: 3.613 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.00159/0.00159, allocations: 115.8 kB / 350.7 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003467, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1174, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3827/0.5001, allocations: 84.82 MB / 0.5482 GB, free: 4.586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.5004, allocations: 72.02 kB / 0.5483 GB, free: 4.543 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001039/0.5014, allocations: 471.7 kB / 0.5487 GB, free: 4.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5015, allocations: 7.656 kB / 0.5487 GB, free: 4.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.5015, allocations: 0 / 0.5487 GB, free: 4.102 MB / 362.7 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.0001938/0.5017, allocations: 318.1 kB / 0.549 GB, free: 3.746 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.5017, allocations: 11.56 kB / 0.549 GB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.5018, allocations: 0 / 0.549 GB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.268e-05/0.5018, allocations: 163.1 kB / 0.5492 GB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5019, allocations: 0 / 0.5492 GB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.5019, allocations: 3.938 kB / 0.5492 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.651e-05/0.502, allocations: 29.66 kB / 0.5492 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.502, allocations: 0 / 0.5492 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.502, allocations: 0 / 0.5492 GB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.502, allocations: 5.25 kB / 0.5492 GB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.058e-05/0.502, allocations: 8.234 kB / 0.5492 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001072/0.5022, allocations: 141.7 kB / 0.5494 GB, free: 3.305 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.1e-05/0.5022, allocations: 22.61 kB / 0.5494 GB, free: 3.273 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.728e-05/0.5022, allocations: 3.938 kB / 0.5494 GB, free: 3.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.5023, allocations: 33.62 kB / 0.5494 GB, free: 3.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.5023, allocations: 4.062 kB / 0.5494 GB, free: 3.227 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.5024, allocations: 41.62 kB / 0.5495 GB, free: 3.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5024, allocations: 51.41 kB / 0.5495 GB, free: 3.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.451e-05/0.5025, allocations: 89.12 kB / 0.5496 GB, free: 3.023 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.5025, allocations: 25.7 kB / 0.5496 GB, free: 2.992 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.563e-05/0.5025, allocations: 80.14 kB / 0.5497 GB, free: 2.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.5025, allocations: 7.344 kB / 0.5497 GB, free: 2.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.5026, allocations: 0 / 0.5497 GB, free: 2.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.198e-05/0.5026, allocations: 314.8 kB / 0.55 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.478e-06/0.5026, allocations: 0 / 0.55 GB, free: 2.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.481e-06/0.5026, allocations: 3.938 kB / 0.55 GB, free: 2.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.673e-05/0.5027, allocations: 8.062 kB / 0.55 GB, free: 2.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5027, allocations: 0 / 0.55 GB, free: 2.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.131e-05/0.5027, allocations: 33.69 kB / 0.5501 GB, free: 2.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5027, allocations: 4 kB / 0.5501 GB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5027, allocations: 7.828 kB / 0.5501 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.5028, allocations: 0 / 0.5501 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.85e-05/0.5028, allocations: 0 / 0.5501 GB, free: 2.531 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.5028, allocations: 4.828 kB / 0.5501 GB, free: 2.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.283e-05/0.5028, allocations: 3.938 kB / 0.5501 GB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.5029, allocations: 4 kB / 0.5501 GB, free: 2.52 MB / 362.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 () * Number of clocked 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 4.612e-05/0.5029, allocations: 112.8 kB / 0.5502 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.5029, allocations: 0 / 0.5502 GB, free: 2.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.703e-05/0.503, allocations: 51.58 kB / 0.5502 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.503, allocations: 0 / 0.5502 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.503, allocations: 7.812 kB / 0.5502 GB, free: 2.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.503, allocations: 3.953 kB / 0.5502 GB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.612e-05/0.5031, allocations: 145.7 kB / 0.5504 GB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.5031, allocations: 4 kB / 0.5504 GB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.559e-05/0.5031, allocations: 4 kB / 0.5504 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5031, allocations: 0 / 0.5504 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.5032, allocations: 0 / 0.5504 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.5032, allocations: 0 / 0.5504 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5032, allocations: 0 / 0.5504 GB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.777e-05/0.5032, allocations: 67.95 kB / 0.5505 GB, free: 2.062 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.5033, allocations: 81.14 kB / 0.5505 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.067e-05/0.5033, allocations: 0 / 0.5505 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.095e-05/0.5033, allocations: 0 / 0.5505 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.224e-05/0.5033, allocations: 4 kB / 0.5505 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.5033, allocations: 0 / 0.5505 GB, free: 1.961 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.464e-05/0.5033, allocations: 75.28 kB / 0.5506 GB, free: 1.887 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5033, allocations: 0 / 0.5506 GB, free: 1.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002126/0.5036, allocations: 11.38 kB / 0.5506 GB, free: 1.879 MB / 362.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 () * Number of clocked 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.0001235/0.5037, allocations: 107.2 kB / 0.5507 GB, free: 1.762 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.032e-05/0.5038, allocations: 4 kB / 0.5507 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5038, allocations: 0 / 0.5507 GB, free: 1.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.944e-06/0.5038, allocations: 4 kB / 0.5507 GB, free: 1.754 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.187e-05/0.5039, allocations: 4.828 kB / 0.5507 GB, free: 1.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001615/0.504, allocations: 83.12 kB / 0.5508 GB, free: 1.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.5042, allocations: 0.6731 MB / 0.5515 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.433e-05/0.5042, allocations: 4.125 kB / 0.5515 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.5042, allocations: 10.88 kB / 0.5515 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5042, allocations: 4 kB / 0.5515 GB, free: 0.9297 MB / 362.7 MB Notification: Performance of Templates: time 0.001924/0.5061, allocations: 264.4 kB / 0.5517 GB, free: 0.6797 MB / 362.7 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)