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.2687/0.2687, allocations: 54.33 MB / 66.89 MB, free: 6.094 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.001291/0.001291, allocations: 182.5 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.387/1.387, allocations: 194.2 MB / 288.6 MB, free: 15.07 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001926/0.001926, allocations: 108.4 kB / 346.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.057e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.1215, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3784/0.4999, allocations: 84.73 MB / 0.5418 GB, free: 5.715 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.5002, allocations: 71.95 kB / 0.5418 GB, free: 5.645 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001085/0.5013, allocations: 472.9 kB / 0.5423 GB, free: 5.184 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5013, allocations: 0 / 0.5423 GB, free: 5.184 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.5014, allocations: 0 / 0.5423 GB, free: 5.184 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002433/0.5016, allocations: 304.6 kB / 0.5426 GB, free: 4.844 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.5017, allocations: 16.09 kB / 0.5426 GB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.5017, allocations: 3.938 kB / 0.5426 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.5018, allocations: 159.1 kB / 0.5428 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.5019, allocations: 0 / 0.5428 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.5019, allocations: 0 / 0.5428 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.547e-05/0.502, allocations: 41.64 kB / 0.5428 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.502, allocations: 0 / 0.5428 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.502, allocations: 0 / 0.5428 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.502, allocations: 0 / 0.5428 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.502, allocations: 0 / 0.5428 GB, free: 4.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.5022, allocations: 149.7 kB / 0.5429 GB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.179e-05/0.5022, allocations: 18.52 kB / 0.543 GB, free: 4.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.1e-05/0.5023, allocations: 12.95 kB / 0.543 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.5023, allocations: 0.875 kB / 0.543 GB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.5023, allocations: 30.56 kB / 0.543 GB, free: 4.305 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.5023, allocations: 0 / 0.543 GB, free: 4.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.5025, allocations: 42.27 kB / 0.543 GB, free: 4.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5025, allocations: 55.41 kB / 0.5431 GB, free: 4.191 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.162e-05/0.5025, allocations: 85 kB / 0.5432 GB, free: 4.102 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.5026, allocations: 25.7 kB / 0.5432 GB, free: 4.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.5026, allocations: 80.14 kB / 0.5433 GB, free: 3.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.5026, allocations: 9.812 kB / 0.5433 GB, free: 3.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.5026, allocations: 0 / 0.5433 GB, free: 3.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.5028, allocations: 314.8 kB / 0.5436 GB, free: 3.664 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.5028, allocations: 0 / 0.5436 GB, free: 3.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.5028, allocations: 8.031 kB / 0.5436 GB, free: 3.656 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.71e-05/0.5028, allocations: 0 / 0.5436 GB, free: 3.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5028, allocations: 0 / 0.5436 GB, free: 3.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.861e-05/0.5029, allocations: 37.69 kB / 0.5436 GB, free: 3.613 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5029, allocations: 4 kB / 0.5436 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5029, allocations: 0 / 0.5436 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5029, allocations: 0 / 0.5436 GB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.789e-05/0.503, allocations: 4 kB / 0.5436 GB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.503, allocations: 3.953 kB / 0.5436 GB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.503, allocations: 8.031 kB / 0.5436 GB, free: 3.594 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.503, allocations: 8.797 kB / 0.5437 GB, free: 3.586 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 (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 6.798e-05/0.5031, allocations: 105.7 kB / 0.5438 GB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.984e-06/0.5031, allocations: 7.922 kB / 0.5438 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.597e-05/0.5032, allocations: 40.78 kB / 0.5438 GB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-06/0.5032, allocations: 3.938 kB / 0.5438 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.5032, allocations: 4.031 kB / 0.5438 GB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5032, allocations: 7.953 kB / 0.5438 GB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.317e-05/0.5033, allocations: 147 kB / 0.544 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.5034, allocations: 0 / 0.544 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.5034, allocations: 0 / 0.544 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5034, allocations: 4 kB / 0.544 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.5034, allocations: 0 / 0.544 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5034, allocations: 0 / 0.544 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5034, allocations: 0 / 0.544 GB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.768e-05/0.5035, allocations: 73.02 kB / 0.544 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.5035, allocations: 77.11 kB / 0.5441 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.5035, allocations: 1.188 kB / 0.5441 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.045e-05/0.5036, allocations: 0 / 0.5441 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.5036, allocations: 0 / 0.5441 GB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.5036, allocations: 4 kB / 0.5441 GB, free: 3.027 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.785e-05/0.5036, allocations: 75.28 kB / 0.5442 GB, free: 2.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5036, allocations: 0 / 0.5442 GB, free: 2.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001953/0.5038, allocations: 8.031 kB / 0.5442 GB, free: 2.945 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 (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.0001532/0.504, allocations: 107.2 kB / 0.5443 GB, free: 2.832 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 5.794e-05/0.504, allocations: 4 kB / 0.5443 GB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5041, allocations: 4 kB / 0.5443 GB, free: 2.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-06/0.5041, allocations: 3.938 kB / 0.5443 GB, free: 2.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.324e-05/0.5042, allocations: 3.953 kB / 0.5443 GB, free: 2.816 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001565/0.5043, allocations: 49.12 kB / 0.5443 GB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.5046, allocations: 0.6809 MB / 0.545 GB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.435e-05/0.5046, allocations: 0 / 0.545 GB, free: 2.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.5046, allocations: 11.44 kB / 0.545 GB, free: 2.031 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5046, allocations: 0 / 0.545 GB, free: 2.031 MB / 378.7 MB Notification: Performance of Templates: time 0.00193/0.5066, allocations: 288.6 kB / 0.5453 GB, free: 1.75 MB / 378.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)