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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 198 kB / 16.79 MB, free: 6.809 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.329/1.329, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.078/1.078, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 60.69 kB / 0.5053 GB, free: 5.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1463, allocations: 80.93 MB / 0.5843 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002368/0.1487, allocations: 1.485 MB / 0.5858 GB, free: 3.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.149, allocations: 96.66 kB / 0.5859 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.1491, allocations: 0 / 0.5859 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.221e-05/0.1491, allocations: 0 / 0.5859 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.079e-05/0.1492, allocations: 7.922 kB / 0.5859 GB, free: 3.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1494, allocations: 19.98 kB / 0.5859 GB, free: 3.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.992e-05/0.1494, allocations: 23.86 kB / 0.5859 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.101e-05/0.1495, allocations: 8 kB / 0.5859 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.3e-05/0.1495, allocations: 11.98 kB / 0.586 GB, free: 3.32 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.547e-05/0.1496, allocations: 15.92 kB / 0.586 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.1496, allocations: 0 / 0.586 GB, free: 3.305 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.1497, allocations: 15.98 kB / 0.586 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.398e-05/0.1497, allocations: 3.938 kB / 0.586 GB, free: 3.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.234e-05/0.1497, allocations: 15.88 kB / 0.586 GB, free: 3.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.78e-05/0.1498, allocations: 27.94 kB / 0.586 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1498, allocations: 0 / 0.586 GB, free: 3.242 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.1498, allocations: 0 / 0.586 GB, free: 3.242 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1499, allocations: 0 / 0.586 GB, free: 3.242 MB / 494.1 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.0004111/0.1503, allocations: 351.7 kB / 0.5864 GB, free: 2.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.1503, allocations: 15.97 kB / 0.5864 GB, free: 2.832 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.1503, allocations: 4.938 kB / 0.5864 GB, free: 2.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.1505, allocations: 164.3 kB / 0.5865 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1505, allocations: 4.375 kB / 0.5865 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.745e-06/0.1505, allocations: 384 / 0.5865 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1506, allocations: 50.23 kB / 0.5866 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1507, allocations: 192 / 0.5866 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.1507, allocations: 7.938 kB / 0.5866 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1507, allocations: 0 / 0.5866 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.1509, allocations: 43.89 kB / 0.5866 GB, free: 2.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/0.1512, allocations: 253 kB / 0.5869 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1513, allocations: 46.5 kB / 0.5869 GB, free: 2.168 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.1514, allocations: 24.89 kB / 0.587 GB, free: 2.141 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1514, allocations: 4 kB / 0.587 GB, free: 2.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.1515, allocations: 30.56 kB / 0.587 GB, free: 2.098 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.335e-06/0.1515, allocations: 3.984 kB / 0.587 GB, free: 2.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003588/0.1518, allocations: 93.67 kB / 0.5871 GB, free: 1.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.1519, allocations: 51.41 kB / 0.5871 GB, free: 1.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.152, allocations: 105.8 kB / 0.5872 GB, free: 1.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.152, allocations: 25.7 kB / 0.5873 GB, free: 1.789 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.152, allocations: 88.05 kB / 0.5873 GB, free: 1.699 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.152, allocations: 4 kB / 0.5873 GB, free: 1.695 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.1521, allocations: 17.7 kB / 0.5874 GB, free: 1.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1522, allocations: 310.9 kB / 0.5877 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.038e-05/0.1523, allocations: 23.98 kB / 0.5877 GB, free: 1.336 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.692e-05/0.1524, allocations: 15.98 kB / 0.5877 GB, free: 1.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.1525, allocations: 44.81 kB / 0.5877 GB, free: 1.273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1526, allocations: 3.938 kB / 0.5877 GB, free: 1.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002049/0.1528, allocations: 77.56 kB / 0.5878 GB, free: 1.188 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1528, allocations: 4 kB / 0.5878 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1528, allocations: 4 kB / 0.5878 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1528, allocations: 0 / 0.5878 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.1529, allocations: 7.984 kB / 0.5878 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1529, allocations: 0 / 0.5878 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.153, allocations: 7.938 kB / 0.5878 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.153, allocations: 3.938 kB / 0.5878 GB, free: 1.16 MB / 494.1 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 8.077e-05/0.1531, allocations: 129.7 kB / 0.588 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.1531, allocations: 0 / 0.588 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.1533, allocations: 81.12 kB / 0.588 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.1534, allocations: 0 / 0.588 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1534, allocations: 0 / 0.588 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1534, allocations: 256 / 0.588 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.1535, allocations: 165.6 kB / 0.5882 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1535, allocations: 8.031 kB / 0.5882 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.1536, allocations: 7.984 kB / 0.5882 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.1536, allocations: 0 / 0.5882 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.1536, allocations: 4 kB / 0.5882 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1536, allocations: 0 / 0.5882 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1536, allocations: 0 / 0.5882 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.1539, allocations: 175.3 kB / 0.5884 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.014e-05/0.1539, allocations: 81.11 kB / 0.5885 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.1539, allocations: 0 / 0.5885 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.154, allocations: 7.984 kB / 0.5885 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.779e-05/0.1541, allocations: 0 / 0.5885 GB, free: 420 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.1541, allocations: 0 / 0.5885 GB, free: 420 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.1541, allocations: 91.27 kB / 0.5886 GB, free: 328 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1541, allocations: 0 / 0.5886 GB, free: 328 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1544, allocations: 8 kB / 0.5886 GB, free: 320 kB / 494.1 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.0001283/0.1545, allocations: 99.28 kB / 0.5887 GB, free: 212 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.1547, allocations: 39.95 kB / 0.5887 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1547, allocations: 0 / 0.5887 GB, free: 172 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.31e-05/0.1548, allocations: 23.98 kB / 0.5887 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1551, allocations: 5.812 kB / 0.5887 GB, free: 144 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.1554, allocations: 164.5 kB / 0.5889 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.1557, allocations: 0.677 MB / 0.5895 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.1557, allocations: 11.44 kB / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1557, allocations: 0 / 0.5896 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of Templates: time 0.001881/0.1576, allocations: 0.6594 MB / 0.5902 GB, free: 14.58 MB / 0.4981 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)