Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001366/0.001366, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001457/0.001457, allocations: 196 kB / 16.91 MB, free: 6.191 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.335/1.335, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7896/0.7896, allocations: 135.1 MB / 425.9 MB, free: 4.367 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.00137, allocations: 63.91 kB / 0.5055 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4067, allocations: 80.92 MB / 0.5845 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001767/0.4085, allocations: 0.6432 MB / 0.5852 GB, free: 24.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002184/0.4087, allocations: 41.62 kB / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.755e-05/0.4087, allocations: 0 / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.169e-05/0.4088, allocations: 0 / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.375e-05/0.4088, allocations: 1.969 kB / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.409, allocations: 10.62 kB / 0.5852 GB, free: 24.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.349e-05/0.4091, allocations: 7.672 kB / 0.5852 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.4092, allocations: 1.531 kB / 0.5852 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.4092, allocations: 2.656 kB / 0.5852 GB, free: 24.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.744e-05/0.4092, allocations: 9.203 kB / 0.5852 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.4093, allocations: 3.938 kB / 0.5852 GB, free: 24.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.401e-05/0.4094, allocations: 20.45 kB / 0.5853 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.4094, allocations: 4.031 kB / 0.5853 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.079e-05/0.4094, allocations: 5.375 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.014e-05/0.4095, allocations: 11.48 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.4095, allocations: 10.17 kB / 0.5853 GB, free: 24.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4095, allocations: 0 / 0.5853 GB, free: 24.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.4095, allocations: 0 / 0.5853 GB, free: 24.54 MB / 446.1 MB 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.0002901/0.4098, allocations: 348.1 kB / 0.5856 GB, free: 24.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4099, allocations: 13.16 kB / 0.5856 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.4099, allocations: 6.656 kB / 0.5856 GB, free: 24.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.466e-05/0.41, allocations: 163.5 kB / 0.5858 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.41, allocations: 2.969 kB / 0.5858 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.41, allocations: 1.5 kB / 0.5858 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.4101, allocations: 62.86 kB / 0.5859 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.4101, allocations: 0.75 kB / 0.5859 GB, free: 23.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.4102, allocations: 3.938 kB / 0.5859 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.4102, allocations: 5.844 kB / 0.5859 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.841e-05/0.4102, allocations: 29.05 kB / 0.5859 GB, free: 23.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002857/0.4105, allocations: 264.5 kB / 0.5861 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.971e-05/0.4106, allocations: 17.45 kB / 0.5862 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.4106, allocations: 10.86 kB / 0.5862 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-06/0.4106, allocations: 4.547 kB / 0.5862 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.4106, allocations: 32.91 kB / 0.5862 GB, free: 23.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4107, allocations: 0 / 0.5862 GB, free: 23.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.4108, allocations: 67.53 kB / 0.5863 GB, free: 23.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4109, allocations: 78.42 kB / 0.5863 GB, free: 23.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/0.4109, allocations: 123.6 kB / 0.5865 GB, free: 23.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.047e-06/0.4109, allocations: 25.7 kB / 0.5865 GB, free: 23.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.411, allocations: 98.52 kB / 0.5866 GB, free: 23.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.769e-06/0.411, allocations: 13.34 kB / 0.5866 GB, free: 23.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.411, allocations: 26.11 kB / 0.5866 GB, free: 23.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.629e-05/0.4111, allocations: 316.9 kB / 0.5869 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.4111, allocations: 12.64 kB / 0.5869 GB, free: 22.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.4112, allocations: 59.31 kB / 0.587 GB, free: 22.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.853e-05/0.4113, allocations: 131.7 kB / 0.5871 GB, free: 22.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.4113, allocations: 5.266 kB / 0.5871 GB, free: 22.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000128/0.4114, allocations: 122.8 kB / 0.5872 GB, free: 22.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4114, allocations: 33.17 kB / 0.5873 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.4114, allocations: 2.406 kB / 0.5873 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.4115, allocations: 3.469 kB / 0.5873 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.4115, allocations: 9.594 kB / 0.5873 GB, free: 22.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4116, allocations: 10.62 kB / 0.5873 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.65e-05/0.4116, allocations: 13.11 kB / 0.5873 GB, free: 22.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.4116, allocations: 5.375 kB / 0.5873 GB, free: 22.4 MB / 446.1 MB 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.233e-05/0.4117, allocations: 146.5 kB / 0.5875 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.4117, allocations: 2.625 kB / 0.5875 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.959e-06/0.4118, allocations: 5.906 kB / 0.5875 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.4118, allocations: 0 / 0.5875 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4118, allocations: 3.984 kB / 0.5875 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4118, allocations: 4.375 kB / 0.5875 GB, free: 22.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001017/0.4119, allocations: 153.5 kB / 0.5876 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4119, allocations: 3.984 kB / 0.5876 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.533e-06/0.4119, allocations: 1.5 kB / 0.5876 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.4119, allocations: 0 / 0.5876 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4119, allocations: 5.406 kB / 0.5876 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.4119, allocations: 0 / 0.5876 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4119, allocations: 3.984 kB / 0.5876 GB, free: 22.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.636e-05/0.412, allocations: 176.2 kB / 0.5878 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.138e-05/0.4121, allocations: 77.11 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.4121, allocations: 3.406 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.4121, allocations: 1.281 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.4122, allocations: 1.25 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.4122, allocations: 2.188 kB / 0.5879 GB, free: 21.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.647e-05/0.4122, allocations: 96.38 kB / 0.588 GB, free: 21.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4122, allocations: 3.938 kB / 0.588 GB, free: 21.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.4125, allocations: 14.19 kB / 0.588 GB, free: 21.67 MB / 446.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): 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.0001414/0.4126, allocations: 107.6 kB / 0.5881 GB, free: 21.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.4127, allocations: 87.75 kB / 0.5882 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4128, allocations: 1.375 kB / 0.5882 GB, free: 21.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.995e-05/0.4128, allocations: 59.53 kB / 0.5882 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.413, allocations: 6.406 kB / 0.5882 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.4132, allocations: 139.6 kB / 0.5884 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.4133, allocations: 0.677 MB / 0.589 GB, free: 20.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.383e-05/0.4134, allocations: 10.84 kB / 0.589 GB, free: 20.58 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4134, allocations: 0 / 0.589 GB, free: 20.58 MB / 446.1 MB Notification: Performance of Templates: time 0.002073/0.4154, allocations: 0.67 MB / 0.5897 GB, free: 20.28 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)