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.001119/0.001119, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.757/0.757, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 65.56 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4182, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.003196/0.4214, allocations: 1.422 MB / 0.5815 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.4218, allocations: 102.8 kB / 0.5816 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.4218, allocations: 1.281 kB / 0.5816 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.65e-05/0.4219, allocations: 0.7969 kB / 0.5816 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.742e-05/0.4219, allocations: 5.953 kB / 0.5816 GB, free: 3.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.4222, allocations: 15.33 kB / 0.5816 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.088e-05/0.4223, allocations: 28.64 kB / 0.5816 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.313e-05/0.4224, allocations: 4.375 kB / 0.5816 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.461e-05/0.4224, allocations: 9.531 kB / 0.5816 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.154e-05/0.4225, allocations: 13.08 kB / 0.5816 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.4225, allocations: 2.438 kB / 0.5817 GB, free: 3.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.98e-05/0.4226, allocations: 26.89 kB / 0.5817 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.299e-05/0.4227, allocations: 2.125 kB / 0.5817 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.4227, allocations: 15.92 kB / 0.5817 GB, free: 3.406 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.4229, allocations: 38.08 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.4229, allocations: 0 / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4229, allocations: 0.625 kB / 0.5817 GB, free: 3.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.4229, allocations: 0 / 0.5817 GB, free: 3.391 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.0004722/0.4234, allocations: 349 kB / 0.5821 GB, free: 3.023 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4234, allocations: 10.27 kB / 0.5821 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4235, allocations: 6.25 kB / 0.5821 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.4236, allocations: 167.4 kB / 0.5822 GB, free: 2.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.4236, allocations: 5.172 kB / 0.5822 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.4236, allocations: 3.125 kB / 0.5822 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.4238, allocations: 55.02 kB / 0.5823 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4239, allocations: 192 / 0.5823 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.4239, allocations: 3.938 kB / 0.5823 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4239, allocations: 8.719 kB / 0.5823 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001968/0.4241, allocations: 36.05 kB / 0.5823 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.4246, allocations: 251.5 kB / 0.5826 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4247, allocations: 44.89 kB / 0.5826 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.4248, allocations: 28.8 kB / 0.5827 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.4249, allocations: 2.672 kB / 0.5827 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.658e-05/0.4249, allocations: 39.94 kB / 0.5827 GB, free: 2.395 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.4249, allocations: 0 / 0.5827 GB, free: 2.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003966/0.4253, allocations: 88.55 kB / 0.5828 GB, free: 2.352 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.4254, allocations: 57.41 kB / 0.5828 GB, free: 2.285 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.4254, allocations: 105.4 kB / 0.5829 GB, free: 2.184 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.087e-06/0.4254, allocations: 25.7 kB / 0.583 GB, free: 2.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.193e-05/0.4255, allocations: 86.91 kB / 0.583 GB, free: 2.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.4255, allocations: 5.688 kB / 0.583 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.4255, allocations: 12.53 kB / 0.5831 GB, free: 2.047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.013e-05/0.4256, allocations: 316.5 kB / 0.5834 GB, free: 1.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.109e-05/0.4257, allocations: 19.81 kB / 0.5834 GB, free: 1.727 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.266e-05/0.4258, allocations: 20.16 kB / 0.5834 GB, free: 1.723 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.4259, allocations: 44.8 kB / 0.5834 GB, free: 1.707 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.426, allocations: 0 / 0.5834 GB, free: 1.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000201/0.4262, allocations: 74.73 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4262, allocations: 8.344 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4262, allocations: 0.9375 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4262, allocations: 0 / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.349e-05/0.4263, allocations: 9.359 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4263, allocations: 0 / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.886e-05/0.4264, allocations: 7.062 kB / 0.5835 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4264, allocations: 1.281 kB / 0.5835 GB, free: 1.664 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.878e-05/0.4265, allocations: 116.9 kB / 0.5837 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.4265, allocations: 9.969 kB / 0.5837 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.4267, allocations: 83.14 kB / 0.5837 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.4267, allocations: 0.8125 kB / 0.5837 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4267, allocations: 1.219 kB / 0.5837 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4267, allocations: 0.7031 kB / 0.5837 GB, free: 1.484 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.4269, allocations: 167.3 kB / 0.5839 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4269, allocations: 0 / 0.5839 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.4269, allocations: 13.11 kB / 0.5839 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.427, allocations: 0.5625 kB / 0.5839 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.503e-06/0.427, allocations: 0 / 0.5839 GB, free: 1.281 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.427, allocations: 5.219 kB / 0.5839 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.427, allocations: 0.6875 kB / 0.5839 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.4272, allocations: 177 kB / 0.5841 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.11e-05/0.4272, allocations: 85.78 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.4273, allocations: 1.578 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.707e-05/0.4273, allocations: 6.172 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.4274, allocations: 2.422 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.4274, allocations: 1.594 kB / 0.5842 GB, free: 1.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.78e-05/0.4274, allocations: 87.12 kB / 0.5843 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4274, allocations: 0 / 0.5843 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.4277, allocations: 7.031 kB / 0.5843 GB, free: 0.9492 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 (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.000152/0.4278, allocations: 102.9 kB / 0.5844 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4281, allocations: 42.83 kB / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.4281, allocations: 0 / 0.5844 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.397e-05/0.4282, allocations: 22.8 kB / 0.5844 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.4285, allocations: 11.62 kB / 0.5844 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.4288, allocations: 123.7 kB / 0.5846 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.4289, allocations: 0.6779 MB / 0.5852 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.454e-05/0.429, allocations: 2.031 kB / 0.5852 GB, free: 20 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.429, allocations: 8.656 kB / 0.5852 GB, free: 12 kB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.429, allocations: 0.8125 kB / 0.5852 GB, free: 12 kB / 430.1 MB Notification: Performance of Templates: time 0.002836/0.4318, allocations: 0.5342 MB / 0.5858 GB, free: 15.94 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)