Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 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.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001133/0.001133, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001184/0.001184, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7733/0.7733, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 65 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.145, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001784/0.1468, allocations: 0.5788 MB / 0.6609 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002451/0.1471, allocations: 35.88 kB / 0.661 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.1471, allocations: 0 / 0.661 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.328e-05/0.1472, allocations: 0 / 0.661 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.086e-06/0.1472, allocations: 11.94 kB / 0.661 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.1475, allocations: 7.984 kB / 0.661 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.1476, allocations: 3.984 kB / 0.661 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.949e-05/0.1476, allocations: 15.94 kB / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.418e-05/0.1476, allocations: 0 / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.093e-05/0.1477, allocations: 0 / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.1477, allocations: 0 / 0.661 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1478, allocations: 15.98 kB / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.345e-06/0.1478, allocations: 0 / 0.661 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.235e-05/0.1479, allocations: 4 kB / 0.661 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.986e-05/0.148, allocations: 23.91 kB / 0.661 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.148, allocations: 3.984 kB / 0.6611 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.148, allocations: 0 / 0.6611 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.148, allocations: 0 / 0.6611 GB, free: 9.535 MB / 0.4981 GB 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.0003258/0.1483, allocations: 307.6 kB / 0.6613 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1484, allocations: 12.03 kB / 0.6614 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1484, allocations: 0.9375 kB / 0.6614 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.1485, allocations: 164.4 kB / 0.6615 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1486, allocations: 384 / 0.6615 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.1486, allocations: 384 / 0.6615 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.1487, allocations: 36.81 kB / 0.6616 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1487, allocations: 192 / 0.6616 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.1487, allocations: 3.938 kB / 0.6616 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1487, allocations: 0 / 0.6616 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.305e-05/0.1487, allocations: 3.938 kB / 0.6616 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.1489, allocations: 157.6 kB / 0.6617 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.973e-05/0.1489, allocations: 14.58 kB / 0.6617 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.149, allocations: 12.95 kB / 0.6617 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.739e-05/0.149, allocations: 0 / 0.6617 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.149, allocations: 30.56 kB / 0.6618 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1491, allocations: 0 / 0.6618 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000158/0.1492, allocations: 49.52 kB / 0.6618 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.1493, allocations: 51.41 kB / 0.6619 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.807e-05/0.1493, allocations: 89.86 kB / 0.6619 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1493, allocations: 29.69 kB / 0.662 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.1494, allocations: 84.27 kB / 0.6621 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1494, allocations: 0 / 0.6621 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.131e-05/0.1494, allocations: 14.06 kB / 0.6621 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1495, allocations: 314.8 kB / 0.6624 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.1496, allocations: 0 / 0.6624 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.1496, allocations: 4 kB / 0.6624 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.652e-05/0.1496, allocations: 4.859 kB / 0.6624 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1496, allocations: 4.062 kB / 0.6624 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.436e-05/0.1497, allocations: 41.62 kB / 0.6624 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1497, allocations: 4 kB / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.1497, allocations: 0 / 0.6624 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.1497, allocations: 3.938 kB / 0.6624 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.081e-05/0.1498, allocations: 4 kB / 0.6624 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.1498, allocations: 0 / 0.6624 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.393e-05/0.1498, allocations: 0 / 0.6624 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1498, allocations: 0 / 0.6624 GB, free: 7.898 MB / 0.4981 GB 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 8.211e-05/0.1499, allocations: 117.9 kB / 0.6625 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1499, allocations: 0 / 0.6625 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.1501, allocations: 44.75 kB / 0.6626 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1501, allocations: 4 kB / 0.6626 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1501, allocations: 0 / 0.6626 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.1501, allocations: 3.938 kB / 0.6626 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.804e-05/0.1502, allocations: 145.7 kB / 0.6627 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1502, allocations: 4.031 kB / 0.6627 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.336e-05/0.1502, allocations: 4 kB / 0.6627 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1502, allocations: 7.922 kB / 0.6627 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.1502, allocations: 7.938 kB / 0.6628 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1503, allocations: 0 / 0.6628 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1503, allocations: 0 / 0.6628 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.881e-05/0.1503, allocations: 61.03 kB / 0.6628 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.1504, allocations: 77.11 kB / 0.6629 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1504, allocations: 7.969 kB / 0.6629 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.1504, allocations: 0 / 0.6629 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.1504, allocations: 0 / 0.6629 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.1504, allocations: 4 kB / 0.6629 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.072e-05/0.1505, allocations: 83.28 kB / 0.663 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1505, allocations: 0 / 0.663 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002106/0.1507, allocations: 8 kB / 0.663 GB, free: 7.223 MB / 0.4981 GB 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.0001721/0.1509, allocations: 115 kB / 0.6631 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.247e-05/0.151, allocations: 8 kB / 0.6631 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.151, allocations: 0 / 0.6631 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.147e-06/0.151, allocations: 4 kB / 0.6631 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.1511, allocations: 0 / 0.6631 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001911/0.1513, allocations: 102.6 kB / 0.6632 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002394/0.1516, allocations: 0.6768 MB / 0.6639 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.669e-05/0.1516, allocations: 7.438 kB / 0.6639 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.1516, allocations: 4.125 kB / 0.6639 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of Templates: time 0.00191/0.1535, allocations: 439.7 kB / 0.6643 GB, free: 5.809 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)