Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") translateModel(Annex60.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00966/0.00966, allocations: 102.9 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 196.5 kB / 16.68 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.391/1.391, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4047/0.4047, allocations: 54.95 MB / 324.8 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 73.02 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1385, allocations: 59.59 MB / 0.5037 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.Polynomial): time 0.001767/0.1403, allocations: 0.5376 MB / 0.5043 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002748/0.1406, allocations: 38.38 kB / 0.5043 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.1407, allocations: 1.312 kB / 0.5043 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.178e-05/0.1407, allocations: 0 / 0.5043 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.384e-06/0.1407, allocations: 0 / 0.5043 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.141, allocations: 9.797 kB / 0.5043 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.758e-05/0.1411, allocations: 5.281 kB / 0.5043 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.1412, allocations: 9.688 kB / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.146e-05/0.1412, allocations: 5.422 kB / 0.5043 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.244e-05/0.1413, allocations: 0 / 0.5043 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.1413, allocations: 1.25 kB / 0.5043 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.1414, allocations: 15.7 kB / 0.5043 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.228e-06/0.1414, allocations: 0 / 0.5043 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.1414, allocations: 0 / 0.5043 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1416, allocations: 22.94 kB / 0.5044 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1416, allocations: 1.062 kB / 0.5044 GB, free: 9.312 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1416, allocations: 0 / 0.5044 GB, free: 9.312 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1416, allocations: 0 / 0.5044 GB, free: 9.312 MB / 382.1 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.0003089/0.1419, allocations: 312.3 kB / 0.5047 GB, free: 8.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.142, allocations: 8.281 kB / 0.5047 GB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.657e-05/0.142, allocations: 6.391 kB / 0.5047 GB, free: 8.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.913e-05/0.1421, allocations: 164.3 kB / 0.5048 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1421, allocations: 384 / 0.5048 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1421, allocations: 1.781 kB / 0.5048 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1422, allocations: 35.86 kB / 0.5049 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1422, allocations: 4 kB / 0.5049 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1423, allocations: 0 / 0.5049 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.1423, allocations: 4 kB / 0.5049 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.831e-05/0.1423, allocations: 2.531 kB / 0.5049 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.1425, allocations: 151.1 kB / 0.505 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.1425, allocations: 15.95 kB / 0.505 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.854e-05/0.1426, allocations: 6.203 kB / 0.505 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.1426, allocations: 10.66 kB / 0.5051 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.1426, allocations: 38.56 kB / 0.5051 GB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1427, allocations: 0 / 0.5051 GB, free: 8.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001854/0.1428, allocations: 35.66 kB / 0.5051 GB, free: 8.398 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1429, allocations: 51.41 kB / 0.5052 GB, free: 8.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.384e-05/0.143, allocations: 91.08 kB / 0.5053 GB, free: 8.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.143, allocations: 25.7 kB / 0.5053 GB, free: 8.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.143, allocations: 84.08 kB / 0.5054 GB, free: 8.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.601e-05/0.143, allocations: 5.359 kB / 0.5054 GB, free: 8.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.696e-05/0.1431, allocations: 11.12 kB / 0.5054 GB, free: 8.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.1432, allocations: 320.3 kB / 0.5057 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.1432, allocations: 1.625 kB / 0.5057 GB, free: 7.781 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.1432, allocations: 3.938 kB / 0.5057 GB, free: 7.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.1432, allocations: 12.34 kB / 0.5057 GB, free: 7.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1432, allocations: 0 / 0.5057 GB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.992e-05/0.1433, allocations: 35.08 kB / 0.5057 GB, free: 7.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1433, allocations: 5.906 kB / 0.5057 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1433, allocations: 4.094 kB / 0.5057 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.1434, allocations: 1.5 kB / 0.5057 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.1435, allocations: 1.469 kB / 0.5057 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.1435, allocations: 0 / 0.5057 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.591e-05/0.1435, allocations: 1.531 kB / 0.5057 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.712e-05/0.1435, allocations: 0 / 0.5057 GB, free: 7.727 MB / 382.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 (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 8.374e-05/0.1436, allocations: 115.2 kB / 0.5059 GB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.1436, allocations: 9.406 kB / 0.5059 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.1437, allocations: 46.11 kB / 0.5059 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1438, allocations: 3.984 kB / 0.5059 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1438, allocations: 1.344 kB / 0.5059 GB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1438, allocations: 3.984 kB / 0.5059 GB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.346e-05/0.1439, allocations: 147 kB / 0.5061 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.1439, allocations: 0 / 0.5061 GB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.809e-05/0.1439, allocations: 6.406 kB / 0.5061 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1439, allocations: 0 / 0.5061 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.1439, allocations: 1.312 kB / 0.5061 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.1439, allocations: 4.031 kB / 0.5061 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1439, allocations: 0 / 0.5061 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.588e-05/0.144, allocations: 59.56 kB / 0.5061 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.144, allocations: 86.86 kB / 0.5062 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.144, allocations: 0 / 0.5062 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.077e-05/0.1441, allocations: 0 / 0.5062 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.04e-05/0.1441, allocations: 5.938 kB / 0.5062 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.1441, allocations: 4.031 kB / 0.5062 GB, free: 7.164 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.153e-05/0.1441, allocations: 77.06 kB / 0.5063 GB, free: 7.09 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1441, allocations: 0 / 0.5063 GB, free: 7.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002136/0.1443, allocations: 7.641 kB / 0.5063 GB, free: 7.086 MB / 382.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 (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.0001704/0.1445, allocations: 102.4 kB / 0.5064 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.262e-05/0.1446, allocations: 4 kB / 0.5064 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1446, allocations: 0 / 0.5064 GB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.02e-05/0.1446, allocations: 10.75 kB / 0.5064 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.1448, allocations: 9.156 kB / 0.5064 GB, free: 6.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.145, allocations: 89.08 kB / 0.5065 GB, free: 6.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.1451, allocations: 0.6703 MB / 0.5072 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.339e-05/0.1452, allocations: 1.375 kB / 0.5072 GB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1452, allocations: 12.88 kB / 0.5072 GB, free: 6.164 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1452, allocations: 0 / 0.5072 GB, free: 6.164 MB / 382.1 MB Notification: Performance of Templates: time 0.002761/0.148, allocations: 281.8 kB / 0.5074 GB, free: 6.016 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)