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.0009528/0.0009528, allocations: 100 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.507/1.507, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4181/0.4181, allocations: 54.97 MB / 325.3 MB, free: 0.7305 MB / 254.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.0005698/0.0005701, allocations: 16 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4236, allocations: 60.72 MB / 457.3 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.001475/0.4251, allocations: 1.118 MB / 458.4 MB, free: 38.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002363/0.4253, allocations: 78.06 kB / 458.5 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.4254, allocations: 0.5625 kB / 458.5 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.695e-05/0.4254, allocations: 0.8438 kB / 458.5 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.326e-05/0.4255, allocations: 4.188 kB / 458.5 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.4257, allocations: 19.77 kB / 458.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.031e-05/0.4258, allocations: 15.2 kB / 458.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.148e-05/0.4259, allocations: 5.656 kB / 458.5 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.4259, allocations: 12.88 kB / 458.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.901e-05/0.426, allocations: 6.781 kB / 458.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.426, allocations: 2.75 kB / 458.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.402e-05/0.4261, allocations: 16.31 kB / 458.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.4261, allocations: 8.312 kB / 458.6 MB, free: 38.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.049e-05/0.4262, allocations: 29.64 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.311e-05/0.4262, allocations: 23.06 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4263, allocations: 0 / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4263, allocations: 1.25 kB / 458.6 MB, free: 38.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.4263, allocations: 0 / 458.6 MB, free: 38.36 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003537/0.4266, allocations: 343 kB / 459 MB, free: 38.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.4267, allocations: 9.359 kB / 459 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.4267, allocations: 7.094 kB / 459 MB, free: 38.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.396e-05/0.4268, allocations: 172.2 kB / 459.2 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.4268, allocations: 3.75 kB / 459.2 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.4269, allocations: 5.344 kB / 459.2 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.427, allocations: 58.58 kB / 459.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.4271, allocations: 0 / 459.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4271, allocations: 0 / 459.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.4271, allocations: 1 kB / 459.2 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.4273, allocations: 54.44 kB / 459.3 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.4275, allocations: 255.8 kB / 459.5 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.4277, allocations: 50.27 kB / 459.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.4277, allocations: 1.406 kB / 459.6 MB, free: 37.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4277, allocations: 33.59 kB / 459.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4278, allocations: 0 / 459.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003473/0.4281, allocations: 110.9 kB / 459.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.258e-05/0.4281, allocations: 52 kB / 459.8 MB, free: 37.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.787e-05/0.4282, allocations: 104.3 kB / 459.9 MB, free: 37.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.944e-06/0.4282, allocations: 30.27 kB / 459.9 MB, free: 37.22 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.4283, allocations: 91.97 kB / 460 MB, free: 37.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.256e-05/0.4283, allocations: 0 / 460 MB, free: 37.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.4283, allocations: 0 / 460 MB, free: 37.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.636e-05/0.4283, allocations: 315.9 kB / 460.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.242e-05/0.4284, allocations: 25 kB / 460.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-05/0.4285, allocations: 22.55 kB / 460.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.792e-05/0.4286, allocations: 28.23 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.4286, allocations: 3.031 kB / 460.4 MB, free: 36.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/0.4288, allocations: 84.66 kB / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.4288, allocations: 6.906 kB / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4288, allocations: 3.188 kB / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4289, allocations: 0 / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.429, allocations: 16.03 kB / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.429, allocations: 5.047 kB / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.588e-05/0.429, allocations: 5.688 kB / 460.5 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.429, allocations: 0 / 460.5 MB, free: 36.78 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.4291, allocations: 116.8 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.4291, allocations: 4.219 kB / 460.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002165/0.4293, allocations: 89.27 kB / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.4294, allocations: 0 / 460.7 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4294, allocations: 6.484 kB / 460.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4294, allocations: 0 / 460.7 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.4295, allocations: 162.2 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.4295, allocations: 4.531 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.4296, allocations: 8.031 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.4296, allocations: 1.219 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.4296, allocations: 4.531 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.4296, allocations: 1.094 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.4296, allocations: 1 kB / 460.9 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.4298, allocations: 187 kB / 461.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.322e-05/0.4298, allocations: 77.11 kB / 461.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.4299, allocations: 0 / 461.1 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.54e-05/0.4299, allocations: 13.56 kB / 461.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.43, allocations: 3.906 kB / 461.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.43, allocations: 3.938 kB / 461.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.279e-05/0.43, allocations: 89.25 kB / 461.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.61e-07/0.43, allocations: 0 / 461.3 MB, free: 36.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002247/0.4303, allocations: 14.31 kB / 461.3 MB, free: 36.12 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001305/0.4304, allocations: 95.5 kB / 461.4 MB, free: 36.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4306, allocations: 54.33 kB / 461.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4307, allocations: 0 / 461.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.4307, allocations: 24.55 kB / 461.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002008/0.431, allocations: 11.95 kB / 461.4 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002699/0.4312, allocations: 121.9 kB / 461.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.4314, allocations: 0.6833 MB / 462.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.441e-05/0.4314, allocations: 1 kB / 462.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.014e-05/0.4314, allocations: 10.09 kB / 462.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4314, allocations: 0 / 462.3 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Templates: time 0.002716/0.4342, allocations: 464.8 kB / 462.7 MB, free: 35.19 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.Polynominal.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: