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.001052/0.001052, allocations: 90.53 kB / 15.35 MB, free: 0.7422 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.01079/0.01079, allocations: 181 kB / 16.26 MB, free: 6.605 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.843/1.843, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4438/0.4438, allocations: 55 MB / 325.7 MB, free: 0.6016 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.0006832/0.0006832, allocations: 20 kB / 397.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4624, allocations: 60.71 MB / 458 MB, free: 38.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.Polynominal): time 0.001594/0.464, allocations: 1.135 MB / 459.1 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003387/0.4644, allocations: 80.25 kB / 459.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.4644, allocations: 0 / 459.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.094e-05/0.4645, allocations: 1.312 kB / 459.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.4645, allocations: 9.797 kB / 459.2 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.4648, allocations: 13.36 kB / 459.2 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.4648, allocations: 26.69 kB / 459.2 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.4649, allocations: 4.688 kB / 459.2 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.004e-05/0.465, allocations: 6.109 kB / 459.2 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.313e-05/0.465, allocations: 11.25 kB / 459.3 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.465, allocations: 2.594 kB / 459.3 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.4651, allocations: 17.3 kB / 459.3 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.979e-05/0.4652, allocations: 8.453 kB / 459.3 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.4652, allocations: 34.42 kB / 459.3 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4653, allocations: 36.92 kB / 459.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4654, allocations: 0 / 459.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.4654, allocations: 0 / 459.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.4654, allocations: 0 / 459.4 MB, free: 37.94 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.0004276/0.4658, allocations: 346.1 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.4658, allocations: 8.688 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.38e-05/0.4659, allocations: 10.5 kB / 459.7 MB, free: 37.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.763e-05/0.466, allocations: 169 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.466, allocations: 384 / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.466, allocations: 5.656 kB / 459.9 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.4662, allocations: 60.05 kB / 459.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4662, allocations: 1.828 kB / 459.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4662, allocations: 7.719 kB / 459.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.4662, allocations: 0 / 459.9 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.4664, allocations: 45.8 kB / 460 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.4667, allocations: 266 kB / 460.3 MB, free: 37.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4668, allocations: 45.66 kB / 460.3 MB, free: 37.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.76e-05/0.4669, allocations: 33.25 kB / 460.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.467, allocations: 4.688 kB / 460.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/0.467, allocations: 33.41 kB / 460.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.467, allocations: 0.6562 kB / 460.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000364/0.4674, allocations: 112.1 kB / 460.5 MB, free: 36.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.4674, allocations: 52.69 kB / 460.5 MB, free: 36.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.353e-05/0.4675, allocations: 107.1 kB / 460.6 MB, free: 36.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.4675, allocations: 25.7 kB / 460.7 MB, free: 36.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.4676, allocations: 85.89 kB / 460.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.4676, allocations: 10.23 kB / 460.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/0.4676, allocations: 9.719 kB / 460.8 MB, free: 36.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.4677, allocations: 318.7 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.4678, allocations: 26.25 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.4679, allocations: 23.7 kB / 461.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.468, allocations: 52.08 kB / 461.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.468, allocations: 2.781 kB / 461.2 MB, free: 36.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001891/0.4682, allocations: 85.95 kB / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4683, allocations: 7.812 kB / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4683, allocations: 0 / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.4683, allocations: 0 / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.494e-05/0.4684, allocations: 13.78 kB / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4684, allocations: 0 / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.694e-05/0.4685, allocations: 6.812 kB / 461.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.4685, allocations: 0.8125 kB / 461.3 MB, free: 36.32 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.745e-05/0.4685, allocations: 117.9 kB / 461.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.4686, allocations: 4.484 kB / 461.4 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002355/0.4688, allocations: 93.47 kB / 461.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.4688, allocations: 0 / 461.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4688, allocations: 0 / 461.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.4688, allocations: 2.906 kB / 461.5 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000131/0.469, allocations: 167.5 kB / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.469, allocations: 0 / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.767e-05/0.469, allocations: 13.48 kB / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.469, allocations: 0 / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.4691, allocations: 3.938 kB / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4691, allocations: 4.031 kB / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4691, allocations: 4.25 kB / 461.7 MB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.4693, allocations: 176.7 kB / 461.9 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.4693, allocations: 81.14 kB / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4694, allocations: 3.875 kB / 461.9 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.228e-05/0.4694, allocations: 12.22 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.4695, allocations: 0 / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.4695, allocations: 0.8125 kB / 462 MB, free: 35.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.349e-05/0.4695, allocations: 92.08 kB / 462 MB, free: 35.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4695, allocations: 0 / 462 MB, free: 35.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000221/0.4698, allocations: 10 kB / 462.1 MB, free: 35.65 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 (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.0001675/0.4699, allocations: 101.2 kB / 462.2 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.4702, allocations: 50.05 kB / 462.2 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4702, allocations: 0 / 462.2 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.4703, allocations: 32.89 kB / 462.2 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.4705, allocations: 8.531 kB / 462.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.4708, allocations: 121.5 kB / 462.4 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.4709, allocations: 0.6824 MB / 463 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.357e-05/0.471, allocations: 8.125 kB / 463.1 MB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.935e-05/0.471, allocations: 8.656 kB / 463.1 MB, free: 34.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.471, allocations: 0 / 463.1 MB, free: 34.73 MB / 382.1 MB Notification: Performance of Templates: time 0.002519/0.4735, allocations: 469.8 kB / 463.5 MB, free: 34.7 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: