Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.001201, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 148.9 MB, free: 12.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 222.9 MB / 403.3 MB, free: 7.074 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009737/0.0009737, allocations: 110 kB / 484.3 MB, free: 8.707 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009884/0.0009885, allocations: 51.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1413, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002695/0.144, allocations: 1.491 MB / 0.6416 GB, free: 5.27 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002636/0.1443, allocations: 100.6 kB / 0.6417 GB, free: 5.168 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.1443, allocations: 0 / 0.6417 GB, free: 5.168 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.315e-05/0.1444, allocations: 3.984 kB / 0.6417 GB, free: 5.164 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.857e-05/0.1444, allocations: 7.938 kB / 0.6417 GB, free: 5.156 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1446, allocations: 11.98 kB / 0.6417 GB, free: 5.145 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.773e-05/0.1447, allocations: 27.88 kB / 0.6418 GB, free: 5.117 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.7e-05/0.1447, allocations: 3.984 kB / 0.6418 GB, free: 5.113 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.116e-05/0.1448, allocations: 12 kB / 0.6418 GB, free: 5.102 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.058e-05/0.1448, allocations: 11.92 kB / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.1448, allocations: 0 / 0.6418 GB, free: 5.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.303e-05/0.1449, allocations: 23.98 kB / 0.6418 GB, free: 5.066 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.187e-05/0.1449, allocations: 3.984 kB / 0.6418 GB, free: 5.062 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.145, allocations: 15.92 kB / 0.6418 GB, free: 5.047 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 8.585e-05/0.1451, allocations: 23.91 kB / 0.6419 GB, free: 5.023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1451, allocations: 0 / 0.6419 GB, free: 5.023 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1451, allocations: 3.984 kB / 0.6419 GB, free: 5.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1451, allocations: 0 / 0.6419 GB, free: 5.02 MB / 442.7 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.0003926/0.1455, allocations: 351.7 kB / 0.6422 GB, free: 4.625 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.1455, allocations: 15.97 kB / 0.6422 GB, free: 4.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.1455, allocations: 4.844 kB / 0.6422 GB, free: 4.605 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1457, allocations: 160.4 kB / 0.6424 GB, free: 4.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.1457, allocations: 4.375 kB / 0.6424 GB, free: 4.406 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1457, allocations: 4.375 kB / 0.6424 GB, free: 4.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1459, allocations: 50.23 kB / 0.6424 GB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.1459, allocations: 192 / 0.6424 GB, free: 4.348 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.1459, allocations: 7.938 kB / 0.6424 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.1459, allocations: 0 / 0.6424 GB, free: 4.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.1461, allocations: 39.95 kB / 0.6425 GB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.1463, allocations: 252.9 kB / 0.6427 GB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1465, allocations: 54.42 kB / 0.6428 GB, free: 3.941 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.1466, allocations: 20.91 kB / 0.6428 GB, free: 3.918 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.1466, allocations: 11.92 kB / 0.6428 GB, free: 3.906 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1466, allocations: 30.56 kB / 0.6428 GB, free: 3.867 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1466, allocations: 0 / 0.6428 GB, free: 3.867 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.147, allocations: 97.58 kB / 0.6429 GB, free: 3.766 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.147, allocations: 51.41 kB / 0.643 GB, free: 3.703 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.771e-05/0.1471, allocations: 109.8 kB / 0.6431 GB, free: 3.586 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1471, allocations: 25.7 kB / 0.6431 GB, free: 3.555 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/0.1472, allocations: 88.14 kB / 0.6432 GB, free: 3.465 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.1472, allocations: 7.891 kB / 0.6432 GB, free: 3.457 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1473, allocations: 13.72 kB / 0.6432 GB, free: 3.438 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1474, allocations: 318.8 kB / 0.6435 GB, free: 3.117 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.1474, allocations: 20.02 kB / 0.6435 GB, free: 3.098 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.007e-05/0.1475, allocations: 15.98 kB / 0.6435 GB, free: 3.082 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1477, allocations: 44.81 kB / 0.6436 GB, free: 3.035 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1477, allocations: 0 / 0.6436 GB, free: 3.035 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001928/0.1479, allocations: 81.59 kB / 0.6437 GB, free: 2.949 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.1479, allocations: 4 kB / 0.6437 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1479, allocations: 4 kB / 0.6437 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1479, allocations: 0 / 0.6437 GB, free: 2.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.463e-05/0.148, allocations: 4 kB / 0.6437 GB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.148, allocations: 0 / 0.6437 GB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.1481, allocations: 11.92 kB / 0.6437 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/0.1481, allocations: 0 / 0.6437 GB, free: 2.926 MB / 442.7 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 6.344e-05/0.1482, allocations: 119.1 kB / 0.6438 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.1482, allocations: 0 / 0.6438 GB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1484, allocations: 89.02 kB / 0.6439 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1484, allocations: 0 / 0.6439 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1484, allocations: 0 / 0.6439 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.1484, allocations: 0 / 0.6439 GB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1486, allocations: 165.6 kB / 0.644 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.1486, allocations: 0 / 0.644 GB, free: 2.496 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.1487, allocations: 8.031 kB / 0.644 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1487, allocations: 0 / 0.644 GB, free: 2.488 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/0.1487, allocations: 7.984 kB / 0.6441 GB, free: 2.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1487, allocations: 3.938 kB / 0.6441 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1487, allocations: 0 / 0.6441 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004905/0.1492, allocations: 0.7318 MB / 0.6448 GB, free: 1.688 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.938e-05/0.1492, allocations: 77.11 kB / 0.6448 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1492, allocations: 0 / 0.6448 GB, free: 1.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.1493, allocations: 7.984 kB / 0.6449 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.04e-05/0.1493, allocations: 8 kB / 0.6449 GB, free: 1.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.1494, allocations: 4.188 kB / 0.6449 GB, free: 1.574 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.281e-05/0.1494, allocations: 91.2 kB / 0.645 GB, free: 1.484 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1494, allocations: 4 kB / 0.645 GB, free: 1.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003003/0.1497, allocations: 11.91 kB / 0.645 GB, free: 1.469 MB / 442.7 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.000123/0.1498, allocations: 99.25 kB / 0.6451 GB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001896/0.15, allocations: 43.89 kB / 0.6451 GB, free: 1.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.1501, allocations: 4 kB / 0.6451 GB, free: 1.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.19e-05/0.1501, allocations: 20.05 kB / 0.6451 GB, free: 1.293 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.1504, allocations: 5.688 kB / 0.6451 GB, free: 1.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003256/0.1507, allocations: 222.3 kB / 0.6453 GB, free: 1.035 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.151, allocations: 0.677 MB / 0.646 GB, free: 340 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.308e-05/0.151, allocations: 0 / 0.646 GB, free: 340 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.151, allocations: 15.38 kB / 0.646 GB, free: 328 kB / 442.7 MB Notification: Performance of SimCode: time 2.2e-07/0.151, allocations: 4.062 kB / 0.646 GB, free: 324 kB / 442.7 MB Notification: Performance of Templates: time 0.002393/0.1534, allocations: 487.6 kB / 0.6465 GB, free: 15.84 MB / 458.7 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)