Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") translateModel(Annex60.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006496/0.006496, allocations: 98.45 kB / 15.73 MB, free: 6.059 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.001288/0.001288, allocations: 195.8 kB / 16.68 MB, free: 5.969 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2789/0.2789, allocations: 54.96 MB / 324.9 MB, free: 4.848 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.001719/0.001719, allocations: 71.89 kB / 456.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1334, allocations: 59.6 MB / 0.5037 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.003508/0.1369, allocations: 1.386 MB / 0.5051 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003404/0.1373, allocations: 79.75 kB / 0.5051 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.1374, allocations: 0 / 0.5051 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.771e-05/0.1375, allocations: 0 / 0.5051 GB, free: 5.598 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.469e-05/0.1375, allocations: 7.922 kB / 0.5051 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1378, allocations: 23.92 kB / 0.5052 GB, free: 5.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.927e-05/0.1379, allocations: 15.98 kB / 0.5052 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.138, allocations: 11.98 kB / 0.5052 GB, free: 5.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.613e-05/0.1381, allocations: 15.94 kB / 0.5052 GB, free: 5.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.1382, allocations: 11.92 kB / 0.5052 GB, free: 5.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.1382, allocations: 3.938 kB / 0.5052 GB, free: 5.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001116/0.1383, allocations: 19.98 kB / 0.5052 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.519e-05/0.1384, allocations: 7.984 kB / 0.5053 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.1384, allocations: 11.94 kB / 0.5053 GB, free: 5.469 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.1385, allocations: 43.88 kB / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1386, allocations: 0 / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1386, allocations: 0 / 0.5053 GB, free: 5.426 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1386, allocations: 0 / 0.5053 GB, free: 5.426 MB / 398.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.0006179/0.1392, allocations: 347.4 kB / 0.5056 GB, free: 5.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.041e-05/0.1393, allocations: 11.97 kB / 0.5056 GB, free: 5.027 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.1393, allocations: 4.844 kB / 0.5057 GB, free: 5.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1395, allocations: 164.4 kB / 0.5058 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1396, allocations: 384 / 0.5058 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.1396, allocations: 4.359 kB / 0.5058 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.1399, allocations: 61.55 kB / 0.5059 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1399, allocations: 0 / 0.5059 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1399, allocations: 7.984 kB / 0.5059 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1399, allocations: 0 / 0.5059 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001707/0.1401, allocations: 31.97 kB / 0.5059 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005165/0.1406, allocations: 256.9 kB / 0.5062 GB, free: 4.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.1408, allocations: 42.5 kB / 0.5062 GB, free: 4.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.1409, allocations: 32.89 kB / 0.5062 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.299e-05/0.141, allocations: 0 / 0.5062 GB, free: 4.328 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/0.141, allocations: 34.56 kB / 0.5063 GB, free: 4.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 2.064e-06/0.141, allocations: 0 / 0.5063 GB, free: 4.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004152/0.1414, allocations: 85.55 kB / 0.5063 GB, free: 4.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.03e-05/0.1415, allocations: 59.53 kB / 0.5064 GB, free: 4.125 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.1416, allocations: 109.8 kB / 0.5065 GB, free: 4.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.1417, allocations: 29.64 kB / 0.5065 GB, free: 3.973 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.1417, allocations: 80.14 kB / 0.5066 GB, free: 3.891 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.7e-05/0.1418, allocations: 11.84 kB / 0.5066 GB, free: 3.879 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.1418, allocations: 17.7 kB / 0.5066 GB, free: 3.855 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.142, allocations: 314.8 kB / 0.5069 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.1421, allocations: 23.98 kB / 0.507 GB, free: 3.516 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.212e-05/0.1421, allocations: 23.97 kB / 0.507 GB, free: 3.492 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1423, allocations: 36.83 kB / 0.507 GB, free: 3.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1423, allocations: 0 / 0.507 GB, free: 3.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.1425, allocations: 73.72 kB / 0.5071 GB, free: 3.375 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1425, allocations: 4 kB / 0.5071 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1426, allocations: 0 / 0.5071 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.1426, allocations: 0 / 0.5071 GB, free: 3.371 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.1427, allocations: 15.92 kB / 0.5071 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1427, allocations: 0 / 0.5071 GB, free: 3.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.1428, allocations: 4.25 kB / 0.5071 GB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1428, allocations: 3.984 kB / 0.5071 GB, free: 3.348 MB / 398.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 0.0001094/0.1429, allocations: 113.8 kB / 0.5072 GB, free: 3.227 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1429, allocations: 8 kB / 0.5072 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000247/0.1432, allocations: 77.19 kB / 0.5073 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1432, allocations: 0 / 0.5073 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1432, allocations: 0 / 0.5073 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1432, allocations: 0 / 0.5073 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1434, allocations: 169.5 kB / 0.5075 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1435, allocations: 0 / 0.5075 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.638e-05/0.1435, allocations: 12.02 kB / 0.5075 GB, free: 2.906 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1435, allocations: 4 kB / 0.5075 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1435, allocations: 3.938 kB / 0.5075 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1436, allocations: 0 / 0.5075 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1436, allocations: 0 / 0.5075 GB, free: 2.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.1438, allocations: 171.4 kB / 0.5076 GB, free: 2.715 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.777e-05/0.1439, allocations: 77.14 kB / 0.5077 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.1439, allocations: 4 kB / 0.5077 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.144, allocations: 7.984 kB / 0.5077 GB, free: 2.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.294e-05/0.144, allocations: 4 kB / 0.5077 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.144, allocations: 3.938 kB / 0.5077 GB, free: 2.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.792e-05/0.1441, allocations: 87.27 kB / 0.5078 GB, free: 2.516 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1441, allocations: 0 / 0.5078 GB, free: 2.516 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.1444, allocations: 8 kB / 0.5078 GB, free: 2.508 MB / 398.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.0001776/0.1446, allocations: 102.6 kB / 0.5079 GB, free: 2.402 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002335/0.1448, allocations: 47.83 kB / 0.508 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1448, allocations: 0 / 0.508 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.1449, allocations: 23.98 kB / 0.508 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1453, allocations: 0 / 0.508 GB, free: 2.332 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.1456, allocations: 129.6 kB / 0.5081 GB, free: 2.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.146, allocations: 0.6806 MB / 0.5088 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 2.628e-05/0.146, allocations: 0 / 0.5088 GB, free: 1.473 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.146, allocations: 11.44 kB / 0.5088 GB, free: 1.461 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.146, allocations: 0 / 0.5088 GB, free: 1.461 MB / 398.1 MB Notification: Performance of Templates: time 0.0033/0.1493, allocations: 0.5519 MB / 0.5093 GB, free: 0.9141 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.pipe 2>&1)