Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") translateModel(Annex60.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 91.14 kB / 15.06 MB, free: 1.098 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.001357/0.001357, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.461/0.461, allocations: 55.01 MB / 325.4 MB, free: 0.6211 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.0006283/0.0006283, allocations: 12 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4332, allocations: 60.72 MB / 457.4 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.001469/0.4347, allocations: 1.127 MB / 458.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002462/0.435, allocations: 73.42 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.4351, allocations: 0 / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.4351, allocations: 0 / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.4352, allocations: 10.53 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.4354, allocations: 12.83 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.4354, allocations: 19.72 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.4355, allocations: 12.09 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.228e-05/0.4356, allocations: 2.969 kB / 458.6 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.871e-05/0.4356, allocations: 14.03 kB / 458.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.4357, allocations: 3.969 kB / 458.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.4357, allocations: 12.7 kB / 458.6 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.4358, allocations: 13.2 kB / 458.7 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.98e-05/0.4358, allocations: 26.8 kB / 458.7 MB, free: 38.03 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.785e-05/0.4359, allocations: 25.33 kB / 458.7 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4359, allocations: 0 / 458.7 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4359, allocations: 4.031 kB / 458.7 MB, free: 38.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.4359, allocations: 0.5625 kB / 458.7 MB, free: 38.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003843/0.4363, allocations: 337.8 kB / 459 MB, free: 37.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.4364, allocations: 11.22 kB / 459.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.266e-05/0.4364, allocations: 8.094 kB / 459.1 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.694e-05/0.4365, allocations: 171.5 kB / 459.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4365, allocations: 0 / 459.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.279e-05/0.4365, allocations: 5.531 kB / 459.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4367, allocations: 60.83 kB / 459.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4367, allocations: 2.812 kB / 459.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4368, allocations: 2.938 kB / 459.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.4368, allocations: 0 / 459.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.4369, allocations: 45.11 kB / 459.3 MB, free: 37.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.4373, allocations: 258 kB / 459.6 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.4374, allocations: 47.34 kB / 459.6 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.131e-05/0.4375, allocations: 34.73 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.745e-05/0.4375, allocations: 6.219 kB / 459.7 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.463e-05/0.4376, allocations: 32.59 kB / 459.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.041e-06/0.4376, allocations: 0 / 459.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003411/0.4379, allocations: 108.8 kB / 459.8 MB, free: 37.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.438, allocations: 54.03 kB / 459.9 MB, free: 37.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.846e-05/0.438, allocations: 106.4 kB / 460 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.807e-06/0.4381, allocations: 25.7 kB / 460 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.4381, allocations: 87.92 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.4381, allocations: 2.531 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.4381, allocations: 5.969 kB / 460.1 MB, free: 36.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.4382, allocations: 315.5 kB / 460.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.4383, allocations: 27.02 kB / 460.4 MB, free: 36.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.017e-05/0.4384, allocations: 29.52 kB / 460.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.4385, allocations: 19.91 kB / 460.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4385, allocations: 2.688 kB / 460.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.4387, allocations: 87.05 kB / 460.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4387, allocations: 6.438 kB / 460.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4387, allocations: 0 / 460.6 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4387, allocations: 3.953 kB / 460.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4389, allocations: 13.72 kB / 460.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4389, allocations: 0 / 460.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.708e-05/0.4389, allocations: 8.672 kB / 460.6 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.4389, allocations: 3.281 kB / 460.6 MB, free: 36.44 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 (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 7.601e-05/0.439, allocations: 113.7 kB / 460.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.439, allocations: 0 / 460.7 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002236/0.4393, allocations: 90.86 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4393, allocations: 0 / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4393, allocations: 7.266 kB / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4393, allocations: 0 / 460.8 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.4395, allocations: 165.9 kB / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4395, allocations: 1.062 kB / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.244e-05/0.4395, allocations: 11.41 kB / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4395, allocations: 0 / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.4395, allocations: 4.406 kB / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4396, allocations: 0.9375 kB / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4396, allocations: 1.531 kB / 461 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.4398, allocations: 186.5 kB / 461.2 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.4398, allocations: 81.08 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4398, allocations: 2.484 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.4399, allocations: 8.172 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.44, allocations: 1.219 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.44, allocations: 7.188 kB / 461.3 MB, free: 35.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.731e-05/0.44, allocations: 88.23 kB / 461.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.44, allocations: 0.9844 kB / 461.4 MB, free: 35.78 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.4403, allocations: 9.719 kB / 461.4 MB, free: 35.78 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 (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 0.0001259/0.4404, allocations: 96.97 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.4406, allocations: 52.3 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4406, allocations: 3.625 kB / 461.5 MB, free: 35.69 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.4407, allocations: 29.34 kB / 461.5 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.441, allocations: 7.078 kB / 461.6 MB, free: 35.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.4413, allocations: 122.6 kB / 461.7 MB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.4414, allocations: 0.6781 MB / 462.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.296e-05/0.4414, allocations: 6.156 kB / 462.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.652e-05/0.4414, allocations: 7.438 kB / 462.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4414, allocations: 0 / 462.4 MB, free: 34.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002659/0.4441, allocations: 460.9 kB / 462.8 MB, free: 34.85 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe 2>&1) Environment - environmentSimulation: