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.0007991/0.0007991, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.0008845/0.0008845, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.146/1.146, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6622/0.6622, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002712/0.0002713, allocations: 9.469 kB / 0.5034 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3203, allocations: 81.57 MB / 0.5831 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001094/0.3214, allocations: 1.145 MB / 0.5842 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000238/0.3216, allocations: 92.41 kB / 0.5843 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.3217, allocations: 2.531 kB / 0.5843 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.949e-05/0.3217, allocations: 0.6562 kB / 0.5843 GB, free: 3.066 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.016e-05/0.3218, allocations: 5.969 kB / 0.5843 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.3219, allocations: 22.48 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.322, allocations: 23.2 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.008e-05/0.322, allocations: 3.906 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.3221, allocations: 8.984 kB / 0.5843 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.077e-05/0.3221, allocations: 14.16 kB / 0.5844 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.006e-06/0.3221, allocations: 1.25 kB / 0.5844 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.205e-05/0.3222, allocations: 20.75 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.3222, allocations: 6.172 kB / 0.5844 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.442e-05/0.3223, allocations: 31.48 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.781e-05/0.3223, allocations: 22.66 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3223, allocations: 0 / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3224, allocations: 0.9688 kB / 0.5844 GB, free: 2.977 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.765e-06/0.3224, allocations: 0 / 0.5844 GB, free: 2.977 MB / 430.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.0002844/0.3226, allocations: 348.8 kB / 0.5848 GB, free: 2.617 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.821e-05/0.3227, allocations: 10.81 kB / 0.5848 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.3227, allocations: 1.094 kB / 0.5848 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.983e-05/0.3228, allocations: 173.7 kB / 0.5849 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.3228, allocations: 1.062 kB / 0.5849 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.3228, allocations: 0.9062 kB / 0.5849 GB, free: 2.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.323, allocations: 59.45 kB / 0.585 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.323, allocations: 4.75 kB / 0.585 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.323, allocations: 3.938 kB / 0.585 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.323, allocations: 1.188 kB / 0.585 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.3231, allocations: 45.44 kB / 0.5851 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002155/0.3234, allocations: 259 kB / 0.5853 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.3235, allocations: 46.39 kB / 0.5853 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.3236, allocations: 33.36 kB / 0.5854 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.3236, allocations: 2.625 kB / 0.5854 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.48e-05/0.3236, allocations: 36.14 kB / 0.5854 GB, free: 1.992 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3236, allocations: 0 / 0.5854 GB, free: 1.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002979/0.3239, allocations: 107.7 kB / 0.5855 GB, free: 1.945 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.64e-05/0.324, allocations: 57.05 kB / 0.5856 GB, free: 1.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.324, allocations: 104.6 kB / 0.5857 GB, free: 1.777 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.691e-06/0.324, allocations: 27.11 kB / 0.5857 GB, free: 1.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.172e-05/0.3241, allocations: 85.7 kB / 0.5858 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.3241, allocations: 5.344 kB / 0.5858 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-06/0.3241, allocations: 4 kB / 0.5858 GB, free: 1.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.209e-05/0.3241, allocations: 313.9 kB / 0.5861 GB, free: 1.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.356e-05/0.3242, allocations: 24.62 kB / 0.5861 GB, free: 1.336 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.558e-05/0.3243, allocations: 24.38 kB / 0.5861 GB, free: 1.332 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.846e-05/0.3243, allocations: 29.2 kB / 0.5862 GB, free: 1.324 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3243, allocations: 0 / 0.5862 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001596/0.3245, allocations: 84.17 kB / 0.5862 GB, free: 1.281 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.3245, allocations: 5.719 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.3245, allocations: 0.7969 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.3245, allocations: 1.156 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.3246, allocations: 10.31 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3246, allocations: 1.5 kB / 0.5863 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.3247, allocations: 16.11 kB / 0.5863 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.3247, allocations: 1 kB / 0.5863 GB, free: 1.273 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.95e-05/0.3247, allocations: 117.3 kB / 0.5864 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.3248, allocations: 2.047 kB / 0.5864 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.325, allocations: 92.59 kB / 0.5865 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.325, allocations: 5.453 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.325, allocations: 0.6562 kB / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.325, allocations: 0 / 0.5865 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.3251, allocations: 163.2 kB / 0.5866 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3251, allocations: 4.656 kB / 0.5866 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.32e-05/0.3251, allocations: 11.84 kB / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3252, allocations: 0 / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.3252, allocations: 1.359 kB / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3252, allocations: 0.8125 kB / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3252, allocations: 0 / 0.5867 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.3254, allocations: 183.6 kB / 0.5868 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.3254, allocations: 83.72 kB / 0.5869 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.066e-05/0.3254, allocations: 4.75 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.306e-05/0.3255, allocations: 8 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.3255, allocations: 3.141 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.3255, allocations: 1.75 kB / 0.5869 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.379e-05/0.3256, allocations: 85.22 kB / 0.587 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3256, allocations: 1.031 kB / 0.587 GB, free: 0.5703 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.3258, allocations: 8.094 kB / 0.587 GB, free: 0.5703 MB / 430.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 (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 8.857e-05/0.3259, allocations: 105.8 kB / 0.5871 GB, free: 484 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.3261, allocations: 47.95 kB / 0.5872 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.3261, allocations: 0.7188 kB / 0.5872 GB, free: 480 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.816e-05/0.3261, allocations: 34.58 kB / 0.5872 GB, free: 468 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3264, allocations: 9.453 kB / 0.5872 GB, free: 464 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001834/0.3266, allocations: 122.2 kB / 0.5873 GB, free: 348 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.3267, allocations: 0.6785 MB / 0.588 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.884e-05/0.3268, allocations: 1.438 kB / 0.588 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.39e-05/0.3268, allocations: 13.44 kB / 0.588 GB, free: 15.63 MB / 446.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3268, allocations: 3.938 kB / 0.588 GB, free: 15.63 MB / 446.1 MB Notification: Performance of Templates: time 0.00205/0.3288, allocations: 458.7 kB / 0.5884 GB, free: 15.57 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)