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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 182.8 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.6925/0.6925, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.42/1.42, allocations: 222.9 MB / 403.4 MB, free: 7.051 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.0009435/0.0009435, allocations: 103.7 kB / 484.3 MB, free: 8.668 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000971/0.000971, allocations: 55.92 kB / 0.5619 GB, free: 71.01 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1356, allocations: 80.2 MB / 0.6402 GB, free: 6.738 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001701/0.1373, allocations: 0.6363 MB / 0.6408 GB, free: 6.098 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.1376, allocations: 43.88 kB / 0.6408 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.117e-05/0.1376, allocations: 0 / 0.6408 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.643e-05/0.1376, allocations: 0 / 0.6408 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.999e-06/0.1376, allocations: 0 / 0.6408 GB, free: 6.055 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.1379, allocations: 7.984 kB / 0.6409 GB, free: 6.047 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.401e-05/0.1379, allocations: 8 kB / 0.6409 GB, free: 6.039 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.138, allocations: 0 / 0.6409 GB, free: 6.039 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.721e-05/0.138, allocations: 4 kB / 0.6409 GB, free: 6.035 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.138, allocations: 7.969 kB / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.138, allocations: 0 / 0.6409 GB, free: 6.027 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001107/0.1382, allocations: 19.98 kB / 0.6409 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.1382, allocations: 0 / 0.6409 GB, free: 6.008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.661e-05/0.1382, allocations: 3.938 kB / 0.6409 GB, free: 6.004 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.614e-05/0.1383, allocations: 11.98 kB / 0.6409 GB, free: 5.992 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.1383, allocations: 4 kB / 0.6409 GB, free: 5.988 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1383, allocations: 0 / 0.6409 GB, free: 5.988 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1383, allocations: 0 / 0.6409 GB, free: 5.988 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000288/0.1386, allocations: 319.5 kB / 0.6412 GB, free: 5.625 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1386, allocations: 8.031 kB / 0.6412 GB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.605e-05/0.1387, allocations: 0.9375 kB / 0.6412 GB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.1388, allocations: 164.4 kB / 0.6414 GB, free: 5.418 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.244e-06/0.1388, allocations: 8.312 kB / 0.6414 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1388, allocations: 4.359 kB / 0.6414 GB, free: 5.406 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.901e-05/0.1389, allocations: 30.25 kB / 0.6414 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.183e-06/0.1389, allocations: 192 / 0.6414 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1389, allocations: 3.938 kB / 0.6414 GB, free: 5.367 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.854e-06/0.1389, allocations: 4 kB / 0.6414 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.859e-05/0.1389, allocations: 0 / 0.6414 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001233/0.1391, allocations: 149.7 kB / 0.6416 GB, free: 5.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/0.1391, allocations: 22.55 kB / 0.6416 GB, free: 5.137 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.1391, allocations: 4.859 kB / 0.6416 GB, free: 5.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.1392, allocations: 8.047 kB / 0.6416 GB, free: 5.121 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1392, allocations: 34.56 kB / 0.6416 GB, free: 5.078 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.1392, allocations: 0 / 0.6416 GB, free: 5.078 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.1393, allocations: 37.64 kB / 0.6417 GB, free: 5.035 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.1394, allocations: 59.47 kB / 0.6417 GB, free: 4.965 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.619e-05/0.1394, allocations: 89.86 kB / 0.6418 GB, free: 4.867 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1394, allocations: 29.7 kB / 0.6418 GB, free: 4.832 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.193e-05/0.1395, allocations: 80.14 kB / 0.6419 GB, free: 4.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1395, allocations: 7.844 kB / 0.6419 GB, free: 4.742 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.1395, allocations: 13.7 kB / 0.6419 GB, free: 4.723 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.729e-05/0.1396, allocations: 314.8 kB / 0.6422 GB, free: 4.406 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.1396, allocations: 4 kB / 0.6422 GB, free: 4.402 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.1396, allocations: 4 kB / 0.6423 GB, free: 4.398 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.45e-05/0.1397, allocations: 8.859 kB / 0.6423 GB, free: 4.387 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1397, allocations: 0 / 0.6423 GB, free: 4.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.435e-05/0.1397, allocations: 33.64 kB / 0.6423 GB, free: 4.348 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.1398, allocations: 8.781 kB / 0.6423 GB, free: 4.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1398, allocations: 4 kB / 0.6423 GB, free: 4.336 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.1398, allocations: 7.922 kB / 0.6423 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.1398, allocations: 0 / 0.6423 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1399, allocations: 0 / 0.6423 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.1399, allocations: 8.094 kB / 0.6423 GB, free: 4.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1399, allocations: 0 / 0.6423 GB, free: 4.32 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 (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 5.988e-05/0.14, allocations: 111.2 kB / 0.6424 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.092e-06/0.14, allocations: 0 / 0.6424 GB, free: 4.203 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.235e-05/0.1401, allocations: 44.75 kB / 0.6425 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.1401, allocations: 0 / 0.6425 GB, free: 4.152 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1401, allocations: 4.031 kB / 0.6425 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1401, allocations: 0 / 0.6425 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.108e-05/0.1402, allocations: 141.7 kB / 0.6426 GB, free: 3.961 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1402, allocations: 4 kB / 0.6426 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.1402, allocations: 7.922 kB / 0.6426 GB, free: 3.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1402, allocations: 3.938 kB / 0.6426 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.1402, allocations: 3.938 kB / 0.6426 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1402, allocations: 0 / 0.6426 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1402, allocations: 4 kB / 0.6426 GB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1405, allocations: 0.6045 MB / 0.6432 GB, free: 3.273 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.522e-05/0.1406, allocations: 77.11 kB / 0.6433 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.1406, allocations: 4 kB / 0.6433 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.1406, allocations: 0 / 0.6433 GB, free: 3.176 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.1406, allocations: 3.984 kB / 0.6433 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-06/0.1406, allocations: 0 / 0.6433 GB, free: 3.172 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.384e-05/0.1407, allocations: 79.31 kB / 0.6434 GB, free: 3.094 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.1407, allocations: 0 / 0.6434 GB, free: 3.094 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002927/0.141, allocations: 11.94 kB / 0.6434 GB, free: 3.082 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 (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.0001439/0.1411, allocations: 99.23 kB / 0.6435 GB, free: 2.977 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.805e-05/0.1412, allocations: 4 kB / 0.6435 GB, free: 2.973 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1412, allocations: 0 / 0.6435 GB, free: 2.973 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.869e-06/0.1412, allocations: 11.94 kB / 0.6435 GB, free: 2.961 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1413, allocations: 3.938 kB / 0.6435 GB, free: 2.957 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002119/0.1416, allocations: 187 kB / 0.6437 GB, free: 2.738 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002114/0.1418, allocations: 0.6692 MB / 0.6443 GB, free: 2.043 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.1418, allocations: 4 kB / 0.6443 GB, free: 2.039 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.072e-05/0.1418, allocations: 7.438 kB / 0.6443 GB, free: 2.031 MB / 442.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1418, allocations: 4 kB / 0.6443 GB, free: 2.027 MB / 442.7 MB Notification: Performance of Templates: time 0.001895/0.1437, allocations: 289.8 kB / 0.6446 GB, free: 1.746 MB / 442.7 MB 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)