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.0008118/0.0008118, allocations: 84.38 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.0009073/0.0009073, 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 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4248/0.4248, allocations: 55.02 MB / 325.4 MB, free: 0.6797 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.0006226/0.0006234, allocations: 20 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4335, allocations: 60.72 MB / 457.4 MB, free: 38.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.0007183/0.4343, allocations: 274.3 kB / 457.6 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000194/0.4345, allocations: 30.52 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.106e-05/0.4346, allocations: 0.6562 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.151e-05/0.4346, allocations: 0 / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.005e-06/0.4346, allocations: 0 / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.4349, allocations: 13.81 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.445e-05/0.4349, allocations: 3.344 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.435, allocations: 0 / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.743e-05/0.435, allocations: 1.453 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.58e-05/0.4351, allocations: 9.844 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.04e-05/0.4351, allocations: 1.094 kB / 457.7 MB, free: 38.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.401e-05/0.4352, allocations: 17.62 kB / 457.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.4352, allocations: 0 / 457.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.4352, allocations: 30.33 kB / 457.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.759e-05/0.4353, allocations: 9.906 kB / 457.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4353, allocations: 1.469 kB / 457.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4353, allocations: 0 / 457.8 MB, free: 38.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.4353, allocations: 1.125 kB / 457.8 MB, free: 38.61 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.0002546/0.4356, allocations: 314.4 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.4357, allocations: 12.17 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.4357, allocations: 3.406 kB / 458.1 MB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.711e-05/0.4358, allocations: 162.7 kB / 458.2 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4358, allocations: 3.344 kB / 458.2 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.4358, allocations: 0 / 458.2 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.4359, allocations: 28.58 kB / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.4359, allocations: 4.938 kB / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-06/0.4359, allocations: 0 / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.436, allocations: 3.656 kB / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.216e-05/0.436, allocations: 6.25 kB / 458.3 MB, free: 38.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.4361, allocations: 147.8 kB / 458.4 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.334e-05/0.4362, allocations: 17.36 kB / 458.5 MB, free: 37.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/0.4362, allocations: 4.859 kB / 458.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.4362, allocations: 6.625 kB / 458.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4363, allocations: 34.09 kB / 458.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.813e-06/0.4363, allocations: 0 / 458.5 MB, free: 37.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.4364, allocations: 43.8 kB / 458.5 MB, free: 37.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.4364, allocations: 51.41 kB / 458.6 MB, free: 37.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.138e-05/0.4365, allocations: 89.86 kB / 458.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.4365, allocations: 27.95 kB / 458.7 MB, free: 37.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.445e-05/0.4365, allocations: 83.45 kB / 458.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.4365, allocations: 3 kB / 458.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.4365, allocations: 0 / 458.8 MB, free: 37.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.4366, allocations: 314.8 kB / 459.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-06/0.4366, allocations: 0 / 459.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-06/0.4366, allocations: 2.875 kB / 459.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.28e-05/0.4367, allocations: 7.25 kB / 459.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4367, allocations: 0.8125 kB / 459.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.26e-05/0.4367, allocations: 40.08 kB / 459.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.4368, allocations: 6 kB / 459.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4368, allocations: 0 / 459.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.4368, allocations: 0.5 kB / 459.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.4369, allocations: 3.375 kB / 459.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4369, allocations: 3.562 kB / 459.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.4369, allocations: 1.875 kB / 459.2 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4369, allocations: 3.344 kB / 459.2 MB, free: 37.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/0.437, allocations: 112.3 kB / 459.3 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.437, allocations: 1.156 kB / 459.3 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.4371, allocations: 50.86 kB / 459.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.4371, allocations: 0 / 459.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4372, allocations: 0 / 459.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4372, allocations: 2.312 kB / 459.3 MB, free: 36.96 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.7e-05/0.4372, allocations: 150.4 kB / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4372, allocations: 5.719 kB / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.4373, allocations: 0 / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4373, allocations: 3.656 kB / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.4373, allocations: 4.531 kB / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.4373, allocations: 0 / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4373, allocations: 0.625 kB / 459.5 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.936e-05/0.4374, allocations: 60.5 kB / 459.5 MB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.4374, allocations: 80.34 kB / 459.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.4374, allocations: 0 / 459.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.154e-05/0.4374, allocations: 0.5 kB / 459.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.938e-05/0.4375, allocations: 9.094 kB / 459.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4375, allocations: 1.375 kB / 459.6 MB, free: 36.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.574e-05/0.4375, allocations: 75.28 kB / 459.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4375, allocations: 1.219 kB / 459.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002437/0.4377, allocations: 5.438 kB / 459.7 MB, free: 36.54 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 (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.0001417/0.4379, allocations: 102.2 kB / 459.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.185e-05/0.438, allocations: 11.06 kB / 459.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.438, allocations: 0.6562 kB / 459.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.735e-06/0.438, allocations: 2.625 kB / 459.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001377/0.4382, allocations: 4.656 kB / 459.8 MB, free: 36.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.4383, allocations: 86.3 kB / 459.9 MB, free: 36.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/0.4385, allocations: 0.6724 MB / 460.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.904e-05/0.4385, allocations: 7.219 kB / 460.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.248e-05/0.4386, allocations: 7.438 kB / 460.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4386, allocations: 3.938 kB / 460.6 MB, free: 35.64 MB / 382.1 MB Notification: Performance of Templates: time 0.002721/0.4413, allocations: 277.1 kB / 460.9 MB, free: 35.61 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: