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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008395, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005297/0.005297, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3955/0.3955, allocations: 55.01 MB / 325.8 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006294/0.0006297, allocations: 12 kB / 397.3 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4087, allocations: 60.71 MB / 458 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.0007027/0.4095, allocations: 277 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002653/0.4098, allocations: 37.78 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.189e-05/0.4098, allocations: 0 / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.57e-05/0.4098, allocations: 0 / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.691e-06/0.4098, allocations: 0.6875 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002548/0.4101, allocations: 9.281 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.201e-05/0.4101, allocations: 3.672 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.4102, allocations: 0.7188 kB / 458.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.938e-05/0.4102, allocations: 7.188 kB / 458.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.401e-05/0.4103, allocations: 2.406 kB / 458.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.4103, allocations: 0.5625 kB / 458.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.4104, allocations: 23.27 kB / 458.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.4104, allocations: 0.8438 kB / 458.3 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.4104, allocations: 28.75 kB / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.446e-05/0.4105, allocations: 19.11 kB / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4105, allocations: 3.281 kB / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4106, allocations: 0 / 458.4 MB, free: 38.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.4106, allocations: 0 / 458.4 MB, free: 38.2 MB / 382.1 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.0002973/0.4109, allocations: 310.7 kB / 458.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4109, allocations: 5.844 kB / 458.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.411, allocations: 4.781 kB / 458.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.369e-05/0.411, allocations: 164 kB / 458.9 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.4111, allocations: 0.9844 kB / 458.9 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4111, allocations: 1.031 kB / 458.9 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.4112, allocations: 40.56 kB / 458.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.4112, allocations: 0.5 kB / 458.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4112, allocations: 0.9844 kB / 458.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4113, allocations: 0.625 kB / 458.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.856e-05/0.4113, allocations: 6.781 kB / 458.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.4114, allocations: 145.7 kB / 459.1 MB, free: 37.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.637e-05/0.4115, allocations: 18.02 kB / 459.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.837e-05/0.4115, allocations: 9.641 kB / 459.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.4116, allocations: 2.906 kB / 459.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4116, allocations: 43.5 kB / 459.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.4116, allocations: 0 / 459.1 MB, free: 37.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.4118, allocations: 39.27 kB / 459.2 MB, free: 37.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.4118, allocations: 54.25 kB / 459.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.577e-05/0.4119, allocations: 90.98 kB / 459.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.4119, allocations: 25.7 kB / 459.3 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.971e-05/0.4119, allocations: 82.95 kB / 459.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.4119, allocations: 3 kB / 459.4 MB, free: 37.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.412, allocations: 9.719 kB / 459.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.412, allocations: 313.9 kB / 459.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.021e-05/0.412, allocations: 0 / 459.7 MB, free: 36.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.573e-06/0.4121, allocations: 3.938 kB / 459.7 MB, free: 36.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.596e-05/0.4121, allocations: 8.641 kB / 459.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.4121, allocations: 0.5625 kB / 459.7 MB, free: 36.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.303e-05/0.4122, allocations: 41.83 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.4122, allocations: 10 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4122, allocations: 0 / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4122, allocations: 0.5938 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.733e-05/0.4123, allocations: 3.688 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.4123, allocations: 2.469 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.369e-05/0.4123, allocations: 1.25 kB / 459.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4123, allocations: 7.312 kB / 459.8 MB, free: 36.68 MB / 382.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 (1): * Single equations (assignments): 1 * 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.985e-05/0.4124, allocations: 108.6 kB / 459.9 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.374e-06/0.4124, allocations: 3.938 kB / 459.9 MB, free: 36.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.4125, allocations: 46.92 kB / 460 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4126, allocations: 0 / 460 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4126, allocations: 1 kB / 460 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4126, allocations: 1.312 kB / 460 MB, free: 36.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.644e-05/0.4127, allocations: 152.4 kB / 460.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4127, allocations: 0 / 460.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.709e-05/0.4127, allocations: 6.312 kB / 460.1 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4127, allocations: 4.531 kB / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4127, allocations: 0.7188 kB / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.4127, allocations: 0 / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4127, allocations: 2.562 kB / 460.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.895e-05/0.4128, allocations: 63.38 kB / 460.2 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.198e-05/0.4128, allocations: 82.05 kB / 460.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.4128, allocations: 0.8125 kB / 460.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.279e-05/0.4129, allocations: 1.031 kB / 460.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.216e-05/0.4129, allocations: 1.312 kB / 460.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.4129, allocations: 3.062 kB / 460.3 MB, free: 36.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.064e-05/0.4129, allocations: 76.78 kB / 460.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4129, allocations: 0 / 460.4 MB, free: 36.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002129/0.4131, allocations: 7.5 kB / 460.4 MB, free: 36.09 MB / 382.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 (1): * Single equations (assignments): 1 * 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.0001366/0.4133, allocations: 104.5 kB / 460.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.4133, allocations: 5.844 kB / 460.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4134, allocations: 2.781 kB / 460.5 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.394e-06/0.4134, allocations: 3.938 kB / 460.5 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001472/0.4135, allocations: 4.641 kB / 460.5 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001847/0.4137, allocations: 89.28 kB / 460.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001286/0.4139, allocations: 0.6692 MB / 461.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.349e-05/0.4139, allocations: 7.719 kB / 461.2 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.4139, allocations: 10.66 kB / 461.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4139, allocations: 0 / 461.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Templates: time 0.0024/0.4163, allocations: 277.9 kB / 461.5 MB, free: 35.18 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: