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.001847/0.001847, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9043/0.9043, allocations: 130.7 MB / 138.7 MB, free: 3.492 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008515/0.0008513, allocations: 92.05 kB / 473.9 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.375e-05/2.387e-05, allocations: 8 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 81.57 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1408/0.5473, allocations: 110.3 MB / 0.7359 GB, free: 440 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.5477, allocations: 71.95 kB / 0.736 GB, free: 368 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003253/0.551, allocations: 0.7836 MB / 0.7367 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.058e-06/0.551, allocations: 0 / 0.7367 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.5511, allocations: 3.938 kB / 0.7367 GB, free: 15.57 MB / 0.5261 GB 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.0004311/0.5515, allocations: 338.5 kB / 0.7371 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/0.5516, allocations: 12.02 kB / 0.7371 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.5516, allocations: 3.906 kB / 0.7371 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.5518, allocations: 176.2 kB / 0.7373 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.5518, allocations: 1.219 kB / 0.7373 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.5518, allocations: 0 / 0.7373 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/0.552, allocations: 12 kB / 0.7373 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.5521, allocations: 37.69 kB / 0.7373 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.5521, allocations: 0 / 0.7373 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.5521, allocations: 3.984 kB / 0.7373 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5521, allocations: 4 kB / 0.7373 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.5527, allocations: 256.8 kB / 0.7376 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.5528, allocations: 34.5 kB / 0.7376 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.5528, allocations: 8.922 kB / 0.7376 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.922e-05/0.5529, allocations: 4 kB / 0.7376 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5529, allocations: 42.25 kB / 0.7376 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.5529, allocations: 0 / 0.7376 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002501/0.5532, allocations: 50.53 kB / 0.7377 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.5532, allocations: 51.41 kB / 0.7377 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.826e-05/0.5533, allocations: 93 kB / 0.7378 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.5534, allocations: 25.7 kB / 0.7378 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.5534, allocations: 92.16 kB / 0.7379 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.5535, allocations: 7.844 kB / 0.7379 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.5535, allocations: 0 / 0.7379 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.5537, allocations: 322.7 kB / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.437e-05/0.5537, allocations: 4 kB / 0.7383 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.308e-05/0.5537, allocations: 8 kB / 0.7383 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.038e-05/0.5538, allocations: 15.92 kB / 0.7383 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5538, allocations: 0 / 0.7383 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001297/0.5539, allocations: 45.78 kB / 0.7383 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.554, allocations: 8 kB / 0.7383 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.554, allocations: 0 / 0.7383 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.554, allocations: 0 / 0.7383 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.5542, allocations: 8 kB / 0.7383 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5542, allocations: 11.92 kB / 0.7383 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.5543, allocations: 8 kB / 0.7384 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.5543, allocations: 0 / 0.7384 GB, free: 13.73 MB / 0.5261 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 () * 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 9.782e-05/0.5544, allocations: 112.9 kB / 0.7385 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.5545, allocations: 0 / 0.7385 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.5546, allocations: 57.58 kB / 0.7385 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5547, allocations: 0 / 0.7385 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.5547, allocations: 4 kB / 0.7385 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.5547, allocations: 0 / 0.7385 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.5549, allocations: 142.2 kB / 0.7387 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.5549, allocations: 0 / 0.7387 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.555, allocations: 12.03 kB / 0.7387 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.555, allocations: 0 / 0.7387 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.555, allocations: 4 kB / 0.7387 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.555, allocations: 3.984 kB / 0.7387 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.555, allocations: 3.984 kB / 0.7387 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.5553, allocations: 147.4 kB / 0.7388 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.5553, allocations: 85.06 kB / 0.7389 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.5553, allocations: 0 / 0.7389 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.5555, allocations: 14.89 kB / 0.7389 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.057e-05/0.5555, allocations: 4 kB / 0.7389 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.5555, allocations: 0 / 0.7389 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.056e-05/0.5556, allocations: 83.28 kB / 0.739 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/0.5556, allocations: 0 / 0.739 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003651/0.556, allocations: 8 kB / 0.739 GB, free: 12.98 MB / 0.5261 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 () * 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.0001888/0.5562, allocations: 104.9 kB / 0.7391 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.5563, allocations: 20 kB / 0.7391 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5563, allocations: 0 / 0.7391 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.458e-05/0.5564, allocations: 12 kB / 0.7391 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5566, allocations: 2.297 kB / 0.7391 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.5569, allocations: 67.88 kB / 0.7392 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5572, allocations: 0.6884 MB / 0.7399 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.294e-05/0.5573, allocations: 4.125 kB / 0.7399 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.5573, allocations: 7.438 kB / 0.7399 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of SimCode: time 3.31e-07/0.5573, allocations: 4 kB / 0.7399 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of Templates: time 0.002906/0.5602, allocations: 426 kB / 0.7403 GB, free: 11.61 MB / 0.5261 GB 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)