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.008959/0.008959, allocations: 101.4 kB / 15.73 MB, free: 6.059 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.001663/0.001663, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.568/1.568, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2809/0.2809, allocations: 54.96 MB / 324.9 MB, free: 4.836 MB / 270.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.001645/0.001645, allocations: 71.88 kB / 456.2 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1535, allocations: 59.59 MB / 0.5037 GB, free: 7.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.002744/0.1564, allocations: 1.413 MB / 0.5051 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003214/0.1567, allocations: 75.75 kB / 0.5052 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.232e-05/0.1567, allocations: 0 / 0.5052 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 7.702e-05/0.1568, allocations: 7.938 kB / 0.5052 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.153e-05/0.1569, allocations: 0 / 0.5052 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.1572, allocations: 19.92 kB / 0.5052 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.858e-05/0.1573, allocations: 23.92 kB / 0.5052 GB, free: 5.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1574, allocations: 12 kB / 0.5052 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.1575, allocations: 7.922 kB / 0.5052 GB, free: 5.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.1575, allocations: 15.92 kB / 0.5052 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1575, allocations: 4 kB / 0.5052 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.1576, allocations: 19.97 kB / 0.5053 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1577, allocations: 8 kB / 0.5053 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.1577, allocations: 7.938 kB / 0.5053 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.1579, allocations: 39.83 kB / 0.5053 GB, free: 5.406 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1579, allocations: 0 / 0.5053 GB, free: 5.406 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1579, allocations: 0 / 0.5053 GB, free: 5.406 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1579, allocations: 4 kB / 0.5053 GB, free: 5.402 MB / 398.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.0004845/0.1584, allocations: 347.3 kB / 0.5057 GB, free: 5.016 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.1584, allocations: 11.97 kB / 0.5057 GB, free: 5.004 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.1585, allocations: 4.938 kB / 0.5057 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1586, allocations: 168.3 kB / 0.5058 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1586, allocations: 384 / 0.5058 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.1586, allocations: 4.375 kB / 0.5058 GB, free: 4.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1588, allocations: 57.61 kB / 0.5059 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1589, allocations: 3.984 kB / 0.5059 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-06/0.1589, allocations: 0 / 0.5059 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1589, allocations: 0 / 0.5059 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.1591, allocations: 39.95 kB / 0.5059 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1594, allocations: 264.8 kB / 0.5062 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.1596, allocations: 42.55 kB / 0.5062 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.1597, allocations: 20.91 kB / 0.5062 GB, free: 4.305 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.376e-05/0.1597, allocations: 8 kB / 0.5062 GB, free: 4.297 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.1597, allocations: 30.56 kB / 0.5063 GB, free: 4.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1597, allocations: 0 / 0.5063 GB, free: 4.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003754/0.1601, allocations: 93.58 kB / 0.5064 GB, free: 4.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.1602, allocations: 55.39 kB / 0.5064 GB, free: 4.094 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/0.1603, allocations: 101.9 kB / 0.5065 GB, free: 3.984 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1603, allocations: 25.7 kB / 0.5065 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.1603, allocations: 92.06 kB / 0.5066 GB, free: 3.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1604, allocations: 7.953 kB / 0.5066 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.1604, allocations: 9.719 kB / 0.5066 GB, free: 3.836 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1605, allocations: 322.9 kB / 0.507 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/0.1606, allocations: 19.97 kB / 0.507 GB, free: 3.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.1607, allocations: 15.98 kB / 0.507 GB, free: 3.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.1608, allocations: 40.83 kB / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1608, allocations: 0 / 0.507 GB, free: 3.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.161, allocations: 77.66 kB / 0.5071 GB, free: 3.352 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1611, allocations: 4 kB / 0.5071 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1611, allocations: 0 / 0.5071 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1611, allocations: 0 / 0.5071 GB, free: 3.348 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.1612, allocations: 12.23 kB / 0.5071 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1612, allocations: 0 / 0.5071 GB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.05e-05/0.1613, allocations: 19.88 kB / 0.5071 GB, free: 3.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1613, allocations: 0 / 0.5071 GB, free: 3.316 MB / 398.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 0.0001192/0.1614, allocations: 121.8 kB / 0.5073 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1614, allocations: 0 / 0.5073 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.1617, allocations: 73.17 kB / 0.5073 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1617, allocations: 7.938 kB / 0.5073 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1617, allocations: 0 / 0.5073 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.1617, allocations: 0 / 0.5073 GB, free: 3.098 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001605/0.1619, allocations: 169.5 kB / 0.5075 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1619, allocations: 4.031 kB / 0.5075 GB, free: 2.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.315e-05/0.1619, allocations: 7.984 kB / 0.5075 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1619, allocations: 0 / 0.5075 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.162, allocations: 0 / 0.5075 GB, free: 2.871 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.162, allocations: 4 kB / 0.5075 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.162, allocations: 0 / 0.5075 GB, free: 2.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.1622, allocations: 167.5 kB / 0.5077 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.1623, allocations: 89.05 kB / 0.5078 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1623, allocations: 0 / 0.5078 GB, free: 2.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.1624, allocations: 4 kB / 0.5078 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.1624, allocations: 3.984 kB / 0.5078 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.1624, allocations: 0 / 0.5078 GB, free: 2.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.634e-05/0.1625, allocations: 87.28 kB / 0.5078 GB, free: 2.488 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1625, allocations: 7.875 kB / 0.5078 GB, free: 2.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002196/0.1627, allocations: 8 kB / 0.5079 GB, free: 2.473 MB / 398.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.0001361/0.1629, allocations: 103.3 kB / 0.508 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1631, allocations: 39.91 kB / 0.508 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1631, allocations: 0 / 0.508 GB, free: 2.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.704e-05/0.1632, allocations: 23.97 kB / 0.508 GB, free: 2.301 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1635, allocations: 4 kB / 0.508 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.1639, allocations: 125.5 kB / 0.5081 GB, free: 2.148 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1642, allocations: 0.6844 MB / 0.5088 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.346e-05/0.1642, allocations: 192 / 0.5088 GB, free: 1.438 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.272e-05/0.1642, allocations: 11.44 kB / 0.5088 GB, free: 1.426 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1642, allocations: 0 / 0.5088 GB, free: 1.426 MB / 398.1 MB Notification: Performance of Templates: time 0.002989/0.1672, allocations: 0.5359 MB / 0.5093 GB, free: 0.8945 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile (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)