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.0011/0.0011, allocations: 101.6 kB / 16.37 MB, free: 6.441 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.001056/0.001056, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7795/0.7795, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001315, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3479, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001669/0.3496, allocations: 0.5833 MB / 0.5821 GB, free: 27.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.3498, allocations: 31.72 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.3498, allocations: 1.281 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.3498, allocations: 3.938 kB / 0.5821 GB, free: 27.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.909e-05/0.3499, allocations: 6.172 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001817/0.3501, allocations: 12.47 kB / 0.5821 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.818e-05/0.3501, allocations: 8.391 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.3502, allocations: 1.406 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.933e-05/0.3502, allocations: 5.469 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.347e-05/0.3503, allocations: 0.625 kB / 0.5821 GB, free: 27.1 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.082e-05/0.3503, allocations: 9.984 kB / 0.5822 GB, free: 27.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.755e-05/0.3503, allocations: 16.23 kB / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.3504, allocations: 3.188 kB / 0.5822 GB, free: 27.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.035e-05/0.3504, allocations: 9.281 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.069e-05/0.3505, allocations: 19.28 kB / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.3505, allocations: 0 / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.3505, allocations: 0 / 0.5822 GB, free: 27.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.3505, allocations: 5.094 kB / 0.5822 GB, free: 27.06 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.000276/0.3508, allocations: 357.4 kB / 0.5826 GB, free: 26.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.3508, allocations: 15.66 kB / 0.5826 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.3509, allocations: 2.188 kB / 0.5826 GB, free: 26.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.743e-05/0.351, allocations: 163.2 kB / 0.5827 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.351, allocations: 1.219 kB / 0.5827 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.351, allocations: 1.562 kB / 0.5827 GB, free: 26.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.3512, allocations: 61.2 kB / 0.5828 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3512, allocations: 192 / 0.5828 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3512, allocations: 3.938 kB / 0.5828 GB, free: 26.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.3512, allocations: 13.52 kB / 0.5828 GB, free: 26.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.3513, allocations: 28.2 kB / 0.5828 GB, free: 26.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.3517, allocations: 260.2 kB / 0.5831 GB, free: 26.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.248e-05/0.3517, allocations: 22.47 kB / 0.5831 GB, free: 26.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.151e-05/0.3518, allocations: 6.047 kB / 0.5831 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.3518, allocations: 2.469 kB / 0.5831 GB, free: 26.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.3518, allocations: 36.19 kB / 0.5831 GB, free: 26.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.3518, allocations: 0 / 0.5831 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001903/0.352, allocations: 69.67 kB / 0.5832 GB, free: 25.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3521, allocations: 80.11 kB / 0.5833 GB, free: 25.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.686e-05/0.3522, allocations: 117.6 kB / 0.5834 GB, free: 25.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.286e-06/0.3522, allocations: 25.7 kB / 0.5834 GB, free: 25.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.3522, allocations: 96.58 kB / 0.5835 GB, free: 25.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.039e-05/0.3522, allocations: 13.17 kB / 0.5835 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3523, allocations: 21.62 kB / 0.5835 GB, free: 25.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.3523, allocations: 320.8 kB / 0.5839 GB, free: 25.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.302e-05/0.3524, allocations: 13.48 kB / 0.5839 GB, free: 25.28 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.3524, allocations: 57.62 kB / 0.5839 GB, free: 25.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.513e-05/0.3525, allocations: 131.8 kB / 0.584 GB, free: 25.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3525, allocations: 2.156 kB / 0.584 GB, free: 25.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/0.3526, allocations: 120.3 kB / 0.5842 GB, free: 24.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.3527, allocations: 38.11 kB / 0.5842 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.3527, allocations: 2.969 kB / 0.5842 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.3527, allocations: 2.5 kB / 0.5842 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.049e-05/0.3528, allocations: 14.11 kB / 0.5842 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3528, allocations: 10.44 kB / 0.5842 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.563e-05/0.3529, allocations: 5.125 kB / 0.5842 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.3529, allocations: 5.219 kB / 0.5842 GB, free: 24.93 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 5.642e-05/0.3529, allocations: 147.1 kB / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.353, allocations: 2.344 kB / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.353, allocations: 8.734 kB / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.353, allocations: 0 / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.353, allocations: 1.75 kB / 0.5844 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.353, allocations: 3.984 kB / 0.5844 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3531, allocations: 167 kB / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3532, allocations: 4 kB / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.3532, allocations: 1.156 kB / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3532, allocations: 1.312 kB / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.3532, allocations: 1.531 kB / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3532, allocations: 1.844 kB / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3532, allocations: 0 / 0.5846 GB, free: 24.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.884e-05/0.3533, allocations: 175.9 kB / 0.5847 GB, free: 24.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.726e-05/0.3533, allocations: 78.17 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3533, allocations: 1.094 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.625e-05/0.3534, allocations: 2.594 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.3534, allocations: 0 / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.3534, allocations: 2.688 kB / 0.5848 GB, free: 24.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.671e-05/0.3534, allocations: 92.11 kB / 0.5849 GB, free: 24.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 1.844 kB / 0.5849 GB, free: 24.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.3537, allocations: 12.75 kB / 0.5849 GB, free: 24.19 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.0001195/0.3538, allocations: 108.4 kB / 0.585 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001295/0.354, allocations: 85.64 kB / 0.5851 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.354, allocations: 0.9375 kB / 0.5851 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.161e-05/0.354, allocations: 58.97 kB / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.3542, allocations: 9.938 kB / 0.5852 GB, free: 23.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/0.3545, allocations: 101.8 kB / 0.5853 GB, free: 23.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3546, allocations: 0.6778 MB / 0.5859 GB, free: 23.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.869e-05/0.3547, allocations: 13.58 kB / 0.5859 GB, free: 23.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.165e-05/0.3547, allocations: 8.719 kB / 0.5859 GB, free: 23.14 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3547, allocations: 0 / 0.5859 GB, free: 23.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002848/0.3575, allocations: 0.5174 MB / 0.5864 GB, free: 22.89 MB / 446.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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)