Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006103/0.006103, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.00131/0.00131, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8168/0.8168, allocations: 132.2 MB / 422.7 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 63.91 kB / 0.5814 GB, free: 7.504 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4734, allocations: 80.19 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002333/0.4757, allocations: 0.5882 MB / 0.6603 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003328/0.4761, allocations: 34.78 kB / 0.6603 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.4761, allocations: 0 / 0.6603 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.108e-05/0.4762, allocations: 5.219 kB / 0.6603 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.4763, allocations: 4.656 kB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.4765, allocations: 12.69 kB / 0.6603 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.151e-05/0.4766, allocations: 8.047 kB / 0.6603 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.865e-05/0.4766, allocations: 10.02 kB / 0.6604 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.02e-05/0.4767, allocations: 1.641 kB / 0.6604 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.047e-05/0.4767, allocations: 1.188 kB / 0.6604 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.4767, allocations: 1.562 kB / 0.6604 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.4768, allocations: 16.19 kB / 0.6604 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.542e-05/0.4769, allocations: 6.609 kB / 0.6604 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.4769, allocations: 11.25 kB / 0.6604 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.229e-05/0.477, allocations: 21.83 kB / 0.6604 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.477, allocations: 1.031 kB / 0.6604 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.477, allocations: 0 / 0.6604 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.413e-06/0.477, allocations: 0 / 0.6604 GB, free: 9.93 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002913/0.4773, allocations: 349.3 kB / 0.6607 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.4774, allocations: 10.22 kB / 0.6608 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.649e-05/0.4774, allocations: 2.75 kB / 0.6608 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.904e-05/0.4775, allocations: 164.9 kB / 0.6609 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.037e-06/0.4775, allocations: 1.75 kB / 0.6609 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.4775, allocations: 2.438 kB / 0.6609 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.4776, allocations: 70.66 kB / 0.661 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4777, allocations: 0.8438 kB / 0.661 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4777, allocations: 3.938 kB / 0.661 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.637e-05/0.4777, allocations: 7.922 kB / 0.661 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.511e-05/0.4778, allocations: 27.41 kB / 0.661 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.4781, allocations: 261.9 kB / 0.6613 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.4781, allocations: 17.95 kB / 0.6613 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.4781, allocations: 10.36 kB / 0.6613 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.4782, allocations: 8.594 kB / 0.6613 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.478e-05/0.4782, allocations: 35.84 kB / 0.6613 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.4782, allocations: 0 / 0.6613 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000159/0.4783, allocations: 63.94 kB / 0.6614 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.927e-05/0.4784, allocations: 78.7 kB / 0.6615 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.365e-05/0.4785, allocations: 119.4 kB / 0.6616 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.4785, allocations: 30.98 kB / 0.6616 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.237e-05/0.4785, allocations: 98.34 kB / 0.6617 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.576e-06/0.4785, allocations: 10.3 kB / 0.6617 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.4786, allocations: 21.94 kB / 0.6617 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.4786, allocations: 317.5 kB / 0.662 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.108e-05/0.4787, allocations: 14.3 kB / 0.6621 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.025e-05/0.4787, allocations: 60.41 kB / 0.6621 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.811e-05/0.4788, allocations: 132.6 kB / 0.6622 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.4788, allocations: 0 / 0.6622 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001425/0.479, allocations: 120.1 kB / 0.6624 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.479, allocations: 33.41 kB / 0.6624 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.479, allocations: 2.25 kB / 0.6624 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.479, allocations: 6.609 kB / 0.6624 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.4791, allocations: 19.97 kB / 0.6624 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.4791, allocations: 2.891 kB / 0.6624 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.4792, allocations: 5.312 kB / 0.6624 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.4792, allocations: 5.984 kB / 0.6624 GB, free: 7.836 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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.684e-05/0.4793, allocations: 146.9 kB / 0.6626 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.4793, allocations: 9.516 kB / 0.6626 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.4794, allocations: 5.469 kB / 0.6626 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4794, allocations: 6.094 kB / 0.6626 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4794, allocations: 0 / 0.6626 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4794, allocations: 3.938 kB / 0.6626 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.4795, allocations: 157.4 kB / 0.6627 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4795, allocations: 0.5156 kB / 0.6627 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.4795, allocations: 1.219 kB / 0.6627 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.4795, allocations: 0.5625 kB / 0.6628 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4795, allocations: 1.688 kB / 0.6628 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4795, allocations: 480 / 0.6628 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.4795, allocations: 0.5625 kB / 0.6628 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.848e-05/0.4796, allocations: 175.5 kB / 0.6629 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.154e-05/0.4796, allocations: 83.47 kB / 0.663 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.4797, allocations: 4.547 kB / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.178e-05/0.4797, allocations: 2.016 kB / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/0.4797, allocations: 1.156 kB / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4798, allocations: 3.078 kB / 0.663 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.4798, allocations: 98.12 kB / 0.6631 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4798, allocations: 4.031 kB / 0.6631 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002403/0.48, allocations: 12.66 kB / 0.6631 GB, free: 7.09 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001528/0.4802, allocations: 111.5 kB / 0.6632 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001187/0.4803, allocations: 84.03 kB / 0.6633 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4803, allocations: 0 / 0.6633 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.071e-05/0.4804, allocations: 58.27 kB / 0.6634 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.4806, allocations: 5.844 kB / 0.6634 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.4808, allocations: 116.1 kB / 0.6635 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.4809, allocations: 0.6775 MB / 0.6641 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.237e-05/0.481, allocations: 11.75 kB / 0.6642 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.036e-05/0.481, allocations: 9 kB / 0.6642 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.481, allocations: 1.25 kB / 0.6642 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of Templates: time 0.002794/0.4838, allocations: 0.529 MB / 0.6647 GB, free: 5.883 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)