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.0009908/0.0009907, allocations: 92.16 kB / 16.02 MB, free: 80 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.001718/0.001718, allocations: 173 kB / 16.92 MB, free: 6.652 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.328/1.328, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9143/0.9143, allocations: 135.3 MB / 427.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 12 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1383, allocations: 82.3 MB / 0.5886 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001459/0.1398, allocations: 1.156 MB / 0.5897 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003056/0.1402, allocations: 98.31 kB / 0.5898 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.871e-05/0.1402, allocations: 0 / 0.5898 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.1402, allocations: 4 kB / 0.5898 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.249e-05/0.1403, allocations: 3.938 kB / 0.5898 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.1405, allocations: 11.98 kB / 0.5898 GB, free: 1.352 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.511e-05/0.1405, allocations: 35.84 kB / 0.5899 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.165e-05/0.1406, allocations: 4 kB / 0.5899 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.377e-05/0.1406, allocations: 3.984 kB / 0.5899 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.1407, allocations: 11.94 kB / 0.5899 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.35e-05/0.1407, allocations: 4 kB / 0.5899 GB, free: 1.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.1408, allocations: 19.98 kB / 0.5899 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.1408, allocations: 3.984 kB / 0.5899 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.1409, allocations: 37.64 kB / 0.59 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.329e-05/0.141, allocations: 23.94 kB / 0.59 GB, free: 1.203 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.066e-05/0.141, allocations: 4 kB / 0.59 GB, free: 1.199 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.141, allocations: 3.938 kB / 0.59 GB, free: 1.195 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.141, allocations: 0 / 0.59 GB, free: 1.195 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.0003996/0.1414, allocations: 347.7 kB / 0.5903 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1414, allocations: 15.97 kB / 0.5903 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.1415, allocations: 0.9375 kB / 0.5903 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.1416, allocations: 168.3 kB / 0.5905 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.1416, allocations: 384 / 0.5905 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-06/0.1416, allocations: 8.312 kB / 0.5905 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.1418, allocations: 54.23 kB / 0.5906 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.961e-06/0.1418, allocations: 192 / 0.5906 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1418, allocations: 11.94 kB / 0.5906 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1418, allocations: 0 / 0.5906 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.142, allocations: 47.95 kB / 0.5906 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002993/0.1423, allocations: 252.9 kB / 0.5909 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1425, allocations: 50.5 kB / 0.5909 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.1426, allocations: 32.89 kB / 0.5909 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.1426, allocations: 0 / 0.5909 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.1426, allocations: 34.56 kB / 0.591 GB, free: 28 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.1426, allocations: 0 / 0.591 GB, free: 28 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003758/0.143, allocations: 109.7 kB / 0.5911 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.1431, allocations: 51.41 kB / 0.5911 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.1431, allocations: 105.8 kB / 0.5912 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1432, allocations: 25.7 kB / 0.5913 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.1432, allocations: 88.14 kB / 0.5913 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.1432, allocations: 3.906 kB / 0.5913 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.116e-05/0.1432, allocations: 9.719 kB / 0.5913 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.1434, allocations: 318.8 kB / 0.5917 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.495e-05/0.1435, allocations: 24.02 kB / 0.5917 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.1435, allocations: 23.98 kB / 0.5917 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1437, allocations: 56.88 kB / 0.5918 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1437, allocations: 0 / 0.5918 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002089/0.1439, allocations: 93.44 kB / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.144, allocations: 4 kB / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.144, allocations: 0 / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.144, allocations: 0 / 0.5918 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.054e-05/0.1441, allocations: 8 kB / 0.5919 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.1441, allocations: 4 kB / 0.5919 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.1441, allocations: 16.17 kB / 0.5919 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1442, allocations: 4 kB / 0.5919 GB, free: 15.04 MB / 0.4981 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 () * 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.302e-05/0.1442, allocations: 117.8 kB / 0.592 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1443, allocations: 3.984 kB / 0.592 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.1445, allocations: 93.11 kB / 0.5921 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1445, allocations: 4.031 kB / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1445, allocations: 3.938 kB / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1445, allocations: 0 / 0.5921 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.1447, allocations: 169.5 kB / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1447, allocations: 0 / 0.5923 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.817e-05/0.1448, allocations: 8 kB / 0.5923 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.1448, allocations: 0 / 0.5923 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.1448, allocations: 7.984 kB / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1448, allocations: 0 / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1448, allocations: 0 / 0.5923 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.145, allocations: 179.5 kB / 0.5924 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1451, allocations: 81.02 kB / 0.5925 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1451, allocations: 4.031 kB / 0.5925 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.883e-05/0.1452, allocations: 15.92 kB / 0.5925 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.1452, allocations: 0 / 0.5925 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.1452, allocations: 0 / 0.5925 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.95e-05/0.1453, allocations: 87.28 kB / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1453, allocations: 0 / 0.5926 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000234/0.1455, allocations: 11.98 kB / 0.5926 GB, free: 14.16 MB / 0.4981 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 () * 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.0001326/0.1457, allocations: 99.25 kB / 0.5927 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.1459, allocations: 55.95 kB / 0.5928 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1459, allocations: 0 / 0.5928 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.324e-05/0.146, allocations: 24.05 kB / 0.5928 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.1463, allocations: 13.66 kB / 0.5928 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.1465, allocations: 146.3 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1467, allocations: 0.677 MB / 0.5936 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.076e-05/0.1468, allocations: 11.38 kB / 0.5936 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.1468, allocations: 0 / 0.5936 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of Templates: time 0.001784/0.1486, allocations: 0.6773 MB / 0.5943 GB, free: 12.41 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)