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.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001362/0.001362, allocations: 196.8 kB / 16.14 MB, free: 6.695 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7811/0.7811, allocations: 132.2 MB / 422.2 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.75 kB / 0.5011 GB, free: 4.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.4523, allocations: 80.21 MB / 0.5794 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001666/0.454, allocations: 0.6348 MB / 0.5801 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002644/0.4543, allocations: 44.12 kB / 0.5801 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.35e-05/0.4543, allocations: 1.5 kB / 0.5801 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.4544, allocations: 4 kB / 0.5801 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.921e-05/0.4544, allocations: 1.641 kB / 0.5801 GB, free: 4.117 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.4546, allocations: 8.969 kB / 0.5801 GB, free: 4.113 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.436e-05/0.4546, allocations: 11.59 kB / 0.5801 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.131e-05/0.4547, allocations: 2.062 kB / 0.5801 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.004e-05/0.4547, allocations: 2.141 kB / 0.5801 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.774e-05/0.4547, allocations: 6.219 kB / 0.5801 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.4547, allocations: 0 / 0.5801 GB, free: 4.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.317e-05/0.4548, allocations: 20.89 kB / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.871e-05/0.4548, allocations: 3.422 kB / 0.5802 GB, free: 4.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.4549, allocations: 8.688 kB / 0.5802 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.635e-05/0.455, allocations: 27.05 kB / 0.5802 GB, free: 4.074 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.455, allocations: 3.938 kB / 0.5802 GB, free: 4.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.455, allocations: 0 / 0.5802 GB, free: 4.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.455, allocations: 1.219 kB / 0.5802 GB, free: 4.07 MB / 430.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.0002348/0.4552, allocations: 349.4 kB / 0.5805 GB, free: 3.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.4553, allocations: 8.875 kB / 0.5805 GB, free: 3.684 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.289e-05/0.4553, allocations: 6.609 kB / 0.5805 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.73e-05/0.4554, allocations: 164.3 kB / 0.5807 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.4554, allocations: 5.594 kB / 0.5807 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.196e-06/0.4554, allocations: 1.031 kB / 0.5807 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.4555, allocations: 59.61 kB / 0.5808 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.4556, allocations: 192 / 0.5808 GB, free: 3.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.4556, allocations: 4.688 kB / 0.5808 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.4556, allocations: 6.281 kB / 0.5808 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.211e-05/0.4557, allocations: 28 kB / 0.5808 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002782/0.4559, allocations: 265.7 kB / 0.5811 GB, free: 3.148 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.807e-05/0.456, allocations: 21.72 kB / 0.5811 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.456, allocations: 11.47 kB / 0.5811 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-06/0.456, allocations: 0.75 kB / 0.5811 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.271e-05/0.456, allocations: 32.14 kB / 0.5811 GB, free: 3.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.456, allocations: 0 / 0.5811 GB, free: 3.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001497/0.4562, allocations: 68.3 kB / 0.5812 GB, free: 3.004 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/0.4562, allocations: 78.64 kB / 0.5813 GB, free: 2.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.357e-05/0.4563, allocations: 120.2 kB / 0.5814 GB, free: 2.801 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.114e-06/0.4563, allocations: 25.7 kB / 0.5814 GB, free: 2.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.4563, allocations: 104.7 kB / 0.5815 GB, free: 2.668 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.4564, allocations: 9.75 kB / 0.5815 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/0.4564, allocations: 23.52 kB / 0.5815 GB, free: 2.641 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.4564, allocations: 320.8 kB / 0.5818 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.4565, allocations: 17.89 kB / 0.5819 GB, free: 2.312 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.101e-05/0.4565, allocations: 60.94 kB / 0.5819 GB, free: 2.242 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.4566, allocations: 135.3 kB / 0.582 GB, free: 2.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4566, allocations: 1.531 kB / 0.582 GB, free: 2.094 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001367/0.4567, allocations: 112.3 kB / 0.5822 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.4568, allocations: 39.23 kB / 0.5822 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4568, allocations: 2.078 kB / 0.5822 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4568, allocations: 3.312 kB / 0.5822 GB, free: 1.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.934e-05/0.4569, allocations: 15.45 kB / 0.5822 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4569, allocations: 2.734 kB / 0.5822 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.457, allocations: 12.78 kB / 0.5822 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.457, allocations: 5.656 kB / 0.5822 GB, free: 1.969 MB / 430.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 5.582e-05/0.457, allocations: 144 kB / 0.5824 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.458e-05/0.4571, allocations: 2.656 kB / 0.5824 GB, free: 1.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.233e-05/0.4571, allocations: 18.17 kB / 0.5824 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.4571, allocations: 3.938 kB / 0.5824 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4571, allocations: 1.062 kB / 0.5824 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-06/0.4571, allocations: 0 / 0.5824 GB, free: 1.801 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.819e-05/0.4572, allocations: 154.9 kB / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.4572, allocations: 0 / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.4572, allocations: 0 / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.4572, allocations: 1.031 kB / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.4572, allocations: 2.062 kB / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.4573, allocations: 0 / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4573, allocations: 0.875 kB / 0.5825 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.067e-05/0.4573, allocations: 172.3 kB / 0.5827 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.4574, allocations: 78.98 kB / 0.5828 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.4574, allocations: 1.781 kB / 0.5828 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.519e-05/0.4574, allocations: 0.7812 kB / 0.5828 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.4575, allocations: 1.781 kB / 0.5828 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-06/0.4575, allocations: 6.156 kB / 0.5828 GB, free: 1.336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.072e-05/0.4575, allocations: 90.75 kB / 0.5829 GB, free: 1.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4575, allocations: 1 kB / 0.5829 GB, free: 1.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.4578, allocations: 16.31 kB / 0.5829 GB, free: 1.25 MB / 430.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.0001372/0.4579, allocations: 110.9 kB / 0.583 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.458, allocations: 84.47 kB / 0.5831 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4581, allocations: 0.5 kB / 0.5831 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/0.4581, allocations: 64.55 kB / 0.5831 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002078/0.4583, allocations: 6.453 kB / 0.5832 GB, free: 1.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001857/0.4585, allocations: 109.5 kB / 0.5833 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.894e-05/0.4586, allocations: 0.6788 MB / 0.5839 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.4587, allocations: 10.88 kB / 0.5839 GB, free: 212 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.228e-06/0.4587, allocations: 13.62 kB / 0.5839 GB, free: 200 kB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4587, allocations: 0 / 0.5839 GB, free: 200 kB / 430.1 MB Notification: Performance of Templates: time 0.002801/0.4615, allocations: 0.4981 MB / 0.5844 GB, free: 116 kB / 430.1 MB 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)