Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 180.1 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6147/0.6147, allocations: 133.5 MB / 141.4 MB, free: 15.73 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.126/1.126, allocations: 221.3 MB / 395 MB, free: 10.23 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.0008858/0.0008859, allocations: 98.27 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 7.905e-06/7.995e-06, allocations: 1.594 kB / 0.5528 GB, free: 88.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 82.3 MB / 0.6332 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.4487, allocations: 110.5 MB / 0.7411 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001658/0.4489, allocations: 69.16 kB / 0.7412 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.001901/0.4508, allocations: 0.4913 MB / 0.7417 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.4509, allocations: 0 / 0.7417 GB, free: 10.68 MB / 0.4948 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.0003041/0.4512, allocations: 340.2 kB / 0.742 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.884e-05/0.4512, allocations: 8.453 kB / 0.742 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.4513, allocations: 7.875 kB / 0.742 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4514, allocations: 163.7 kB / 0.7422 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.4514, allocations: 0.75 kB / 0.7422 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.4514, allocations: 4.438 kB / 0.7422 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.392e-05/0.4515, allocations: 18.91 kB / 0.7422 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.331e-05/0.4515, allocations: 43.55 kB / 0.7422 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.4516, allocations: 0 / 0.7422 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.4516, allocations: 0.6094 kB / 0.7422 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.4516, allocations: 0 / 0.7422 GB, free: 26.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.4519, allocations: 257.6 kB / 0.7425 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.452, allocations: 31.78 kB / 0.7425 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.368e-05/0.452, allocations: 16.2 kB / 0.7425 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.4521, allocations: 0.6562 kB / 0.7425 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.4521, allocations: 38.66 kB / 0.7426 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4521, allocations: 0 / 0.7426 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001637/0.4523, allocations: 50.66 kB / 0.7426 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.4523, allocations: 55.95 kB / 0.7427 GB, free: 25.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.583e-05/0.4524, allocations: 97.05 kB / 0.7428 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.4524, allocations: 26.22 kB / 0.7428 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.4524, allocations: 83.72 kB / 0.7429 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.4524, allocations: 12.34 kB / 0.7429 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.4524, allocations: 0 / 0.7429 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.519e-05/0.4525, allocations: 316.5 kB / 0.7432 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.685e-05/0.4525, allocations: 12.25 kB / 0.7432 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.357e-05/0.4526, allocations: 8.469 kB / 0.7432 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.642e-05/0.4526, allocations: 5.141 kB / 0.7432 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4526, allocations: 0 / 0.7432 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.74e-05/0.4527, allocations: 49.81 kB / 0.7432 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.4527, allocations: 3.75 kB / 0.7432 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4527, allocations: 0 / 0.7432 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4528, allocations: 4.609 kB / 0.7433 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.4528, allocations: 18.42 kB / 0.7433 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.4529, allocations: 0 / 0.7433 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.4529, allocations: 10.28 kB / 0.7433 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.4529, allocations: 3.938 kB / 0.7433 GB, free: 25.1 MB / 0.5105 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 5.39e-05/0.453, allocations: 101.5 kB / 0.7434 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.453, allocations: 15.64 kB / 0.7434 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.4532, allocations: 49.88 kB / 0.7434 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4532, allocations: 4.297 kB / 0.7434 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.4532, allocations: 3.844 kB / 0.7435 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4532, allocations: 0 / 0.7435 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.4533, allocations: 135.4 kB / 0.7436 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4533, allocations: 0 / 0.7436 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.871e-05/0.4534, allocations: 18.72 kB / 0.7436 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4534, allocations: 4.656 kB / 0.7436 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4534, allocations: 0 / 0.7436 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.4534, allocations: 0 / 0.7436 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4534, allocations: 0.75 kB / 0.7436 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001118/0.4535, allocations: 150.1 kB / 0.7437 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.4536, allocations: 77.91 kB / 0.7438 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4536, allocations: 0 / 0.7438 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.479e-05/0.4537, allocations: 18.14 kB / 0.7438 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.502e-05/0.4537, allocations: 5.625 kB / 0.7438 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4537, allocations: 3.875 kB / 0.7438 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.063e-05/0.4538, allocations: 83.59 kB / 0.7439 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001991/0.454, allocations: 12.53 kB / 0.7439 GB, free: 24.46 MB / 0.5105 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.0001122/0.4541, allocations: 114.5 kB / 0.744 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.288e-05/0.4542, allocations: 15.14 kB / 0.7441 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.4542, allocations: 3.844 kB / 0.7441 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.896e-05/0.4542, allocations: 8.453 kB / 0.7441 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.4543, allocations: 8.266 kB / 0.7441 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.4545, allocations: 60.55 kB / 0.7441 GB, free: 24.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/0.4548, allocations: 0.6933 MB / 0.7448 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of SimCode: time 3e-07/0.4548, allocations: 4.125 kB / 0.7448 GB, free: 23.58 MB / 0.5105 GB Notification: Performance of Templates: time 0.002014/0.4568, allocations: 0.5116 MB / 0.7453 GB, free: 23.54 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)