Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 104.7 kB / 15.98 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001844/0.001844, allocations: 197.8 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.2 MB / 422.9 MB, free: 6.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.00112, allocations: 64.09 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3709, allocations: 80.19 MB / 0.5802 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003227/0.3742, allocations: 1.498 MB / 0.5817 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003121/0.3745, allocations: 90.14 kB / 0.5818 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.933e-05/0.3746, allocations: 0 / 0.5818 GB, free: 26.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.51e-05/0.3746, allocations: 3.938 kB / 0.5818 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.134e-05/0.3747, allocations: 3.281 kB / 0.5818 GB, free: 26.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.375, allocations: 17.89 kB / 0.5818 GB, free: 26.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.234e-05/0.3751, allocations: 26.98 kB / 0.5818 GB, free: 26.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3752, allocations: 10.83 kB / 0.5818 GB, free: 26.28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.287e-05/0.3753, allocations: 9.516 kB / 0.5818 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.346e-05/0.3753, allocations: 10.53 kB / 0.5818 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.3753, allocations: 2.656 kB / 0.5818 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.3755, allocations: 22.25 kB / 0.5819 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.3755, allocations: 9.312 kB / 0.5819 GB, free: 26.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.3755, allocations: 10.22 kB / 0.5819 GB, free: 26.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.3757, allocations: 25.48 kB / 0.5819 GB, free: 26.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3757, allocations: 3.188 kB / 0.5819 GB, free: 26.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3757, allocations: 3.984 kB / 0.5819 GB, free: 26.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3757, allocations: 0 / 0.5819 GB, free: 26.22 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004317/0.3761, allocations: 345.6 kB / 0.5822 GB, free: 25.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3762, allocations: 8.344 kB / 0.5823 GB, free: 25.85 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.3762, allocations: 7.656 kB / 0.5823 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.046e-05/0.3763, allocations: 166.3 kB / 0.5824 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3764, allocations: 1.656 kB / 0.5824 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.3764, allocations: 2.719 kB / 0.5824 GB, free: 25.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.3766, allocations: 51.67 kB / 0.5825 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3766, allocations: 4.125 kB / 0.5825 GB, free: 25.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3766, allocations: 4.75 kB / 0.5825 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.3766, allocations: 1.312 kB / 0.5825 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.3769, allocations: 41.83 kB / 0.5825 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.3772, allocations: 255.4 kB / 0.5828 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.3773, allocations: 47.17 kB / 0.5828 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.935e-05/0.3774, allocations: 23.19 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.708e-05/0.3775, allocations: 8.047 kB / 0.5828 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3775, allocations: 30.56 kB / 0.5829 GB, free: 25.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.3775, allocations: 1.844 kB / 0.5829 GB, free: 25.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003951/0.3779, allocations: 94.55 kB / 0.583 GB, free: 25.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.3779, allocations: 52.75 kB / 0.583 GB, free: 25.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.426e-05/0.378, allocations: 111.8 kB / 0.5831 GB, free: 24.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.378, allocations: 25.7 kB / 0.5831 GB, free: 24.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.3781, allocations: 81.27 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3781, allocations: 9.281 kB / 0.5832 GB, free: 24.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.3781, allocations: 12.09 kB / 0.5832 GB, free: 24.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.3782, allocations: 316.9 kB / 0.5835 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.994e-05/0.3783, allocations: 20.08 kB / 0.5836 GB, free: 24.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.021e-05/0.3784, allocations: 19.83 kB / 0.5836 GB, free: 24.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.3786, allocations: 47.09 kB / 0.5836 GB, free: 24.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3786, allocations: 0.625 kB / 0.5836 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002458/0.3788, allocations: 72.44 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3789, allocations: 5.25 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3789, allocations: 2.031 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3789, allocations: 0 / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.379, allocations: 7.844 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.379, allocations: 5.078 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.828e-05/0.3791, allocations: 3.281 kB / 0.5837 GB, free: 24.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-06/0.3791, allocations: 1.094 kB / 0.5837 GB, free: 24.41 MB / 446.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.121e-05/0.3792, allocations: 117 kB / 0.5838 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.3792, allocations: 1.094 kB / 0.5838 GB, free: 24.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.3795, allocations: 84.95 kB / 0.5839 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3796, allocations: 0 / 0.5839 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3796, allocations: 6.875 kB / 0.5839 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3796, allocations: 0 / 0.5839 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3797, allocations: 171.9 kB / 0.5841 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3798, allocations: 0 / 0.5841 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.3798, allocations: 8.031 kB / 0.5841 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3798, allocations: 0 / 0.5841 GB, free: 24.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3799, allocations: 5.359 kB / 0.5841 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3799, allocations: 1.469 kB / 0.5841 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3799, allocations: 0 / 0.5841 GB, free: 24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.3801, allocations: 171.2 kB / 0.5843 GB, free: 23.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.3802, allocations: 79.42 kB / 0.5843 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3802, allocations: 1.438 kB / 0.5843 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.3803, allocations: 7.391 kB / 0.5843 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.027e-05/0.3804, allocations: 3.156 kB / 0.5843 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3804, allocations: 1.094 kB / 0.5843 GB, free: 23.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.261e-05/0.3804, allocations: 84.47 kB / 0.5844 GB, free: 23.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3804, allocations: 2.625 kB / 0.5844 GB, free: 23.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003523/0.3808, allocations: 12.08 kB / 0.5844 GB, free: 23.67 MB / 446.1 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001278/0.3809, allocations: 96.03 kB / 0.5845 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3812, allocations: 41.77 kB / 0.5846 GB, free: 23.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3812, allocations: 9.281 kB / 0.5846 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3813, allocations: 20.55 kB / 0.5846 GB, free: 23.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.3817, allocations: 11.31 kB / 0.5846 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002859/0.382, allocations: 156.1 kB / 0.5848 GB, free: 23.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.3821, allocations: 0.6796 MB / 0.5854 GB, free: 22.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.3821, allocations: 11.22 kB / 0.5854 GB, free: 22.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3821, allocations: 0 / 0.5854 GB, free: 22.67 MB / 446.1 MB Notification: Performance of Templates: time 0.002359/0.3845, allocations: 0.67 MB / 0.5861 GB, free: 22.36 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)