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.0009803/0.0009803, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7498/0.7498, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 64.03 kB / 0.5018 GB, free: 3.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4117, allocations: 80.2 MB / 0.5801 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001995/0.4137, allocations: 0.578 MB / 0.5807 GB, free: 4.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002171/0.4139, allocations: 41.83 kB / 0.5807 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.901e-05/0.414, allocations: 0 / 0.5807 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.414, allocations: 0 / 0.5807 GB, free: 4.164 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.4141, allocations: 7.547 kB / 0.5807 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.4143, allocations: 6.297 kB / 0.5807 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.271e-05/0.4144, allocations: 12.64 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.059e-05/0.4144, allocations: 1.922 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.86e-05/0.4144, allocations: 2.469 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.4144, allocations: 4.438 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.4145, allocations: 0.6562 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.4146, allocations: 16.91 kB / 0.5808 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.4146, allocations: 11.06 kB / 0.5808 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.4146, allocations: 5.156 kB / 0.5808 GB, free: 4.133 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.291e-05/0.4147, allocations: 27.42 kB / 0.5808 GB, free: 4.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.4147, allocations: 0 / 0.5808 GB, free: 4.121 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4147, allocations: 0 / 0.5808 GB, free: 4.121 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.4147, allocations: 0.625 kB / 0.5808 GB, free: 4.121 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.0002484/0.415, allocations: 349 kB / 0.5811 GB, free: 3.734 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.415, allocations: 10.16 kB / 0.5811 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.4151, allocations: 5.906 kB / 0.5811 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.238e-05/0.4151, allocations: 165.1 kB / 0.5813 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4152, allocations: 0.9062 kB / 0.5813 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4152, allocations: 5.656 kB / 0.5813 GB, free: 3.531 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.4153, allocations: 63.19 kB / 0.5814 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4153, allocations: 192 / 0.5814 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.158e-06/0.4153, allocations: 4.875 kB / 0.5814 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.4154, allocations: 7.047 kB / 0.5814 GB, free: 3.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.956e-05/0.4154, allocations: 23.33 kB / 0.5814 GB, free: 3.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002595/0.4157, allocations: 270 kB / 0.5817 GB, free: 3.195 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.887e-05/0.4157, allocations: 25.69 kB / 0.5817 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.666e-05/0.4158, allocations: 12.2 kB / 0.5817 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-06/0.4158, allocations: 0 / 0.5817 GB, free: 3.152 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.681e-05/0.4158, allocations: 31.94 kB / 0.5817 GB, free: 3.113 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.4158, allocations: 0 / 0.5817 GB, free: 3.113 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001568/0.416, allocations: 64.17 kB / 0.5818 GB, free: 3.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.416, allocations: 77.72 kB / 0.5819 GB, free: 2.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.4161, allocations: 127.8 kB / 0.582 GB, free: 2.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.4161, allocations: 26.77 kB / 0.582 GB, free: 2.809 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.887e-05/0.4161, allocations: 99.94 kB / 0.5821 GB, free: 2.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.4161, allocations: 9.719 kB / 0.5821 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.4162, allocations: 27.19 kB / 0.5821 GB, free: 2.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.145e-05/0.4162, allocations: 317.4 kB / 0.5824 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.709e-05/0.4163, allocations: 13.97 kB / 0.5825 GB, free: 2.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.4163, allocations: 60.45 kB / 0.5825 GB, free: 2.289 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.676e-05/0.4164, allocations: 128.6 kB / 0.5826 GB, free: 2.148 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4164, allocations: 0 / 0.5826 GB, free: 2.148 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001341/0.4165, allocations: 117.1 kB / 0.5827 GB, free: 2.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4166, allocations: 32.44 kB / 0.5828 GB, free: 2.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4166, allocations: 6.688 kB / 0.5828 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4166, allocations: 2.938 kB / 0.5828 GB, free: 2.031 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.4167, allocations: 19.52 kB / 0.5828 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.4167, allocations: 3.25 kB / 0.5828 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.576e-05/0.4168, allocations: 7.625 kB / 0.5828 GB, free: 2.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.4168, allocations: 10.59 kB / 0.5828 GB, free: 2.016 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 6.383e-05/0.4169, allocations: 148.4 kB / 0.583 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.4169, allocations: 1.688 kB / 0.583 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.327e-05/0.4169, allocations: 10.69 kB / 0.583 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.4169, allocations: 4 kB / 0.583 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.4169, allocations: 1.031 kB / 0.583 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4169, allocations: 0.7031 kB / 0.583 GB, free: 1.852 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4171, allocations: 157 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.4171, allocations: 0.8438 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.874e-06/0.4171, allocations: 0.6094 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.4171, allocations: 1 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.4171, allocations: 1.188 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4171, allocations: 0.6562 kB / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4171, allocations: 0 / 0.5831 GB, free: 1.656 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.099e-05/0.4172, allocations: 176.3 kB / 0.5833 GB, free: 1.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.4172, allocations: 78.81 kB / 0.5834 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4172, allocations: 2.172 kB / 0.5834 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.576e-05/0.4173, allocations: 2.297 kB / 0.5834 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.4173, allocations: 0.8125 kB / 0.5834 GB, free: 1.383 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4173, allocations: 6.281 kB / 0.5834 GB, free: 1.379 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.147e-05/0.4174, allocations: 90.61 kB / 0.5835 GB, free: 1.301 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.282e-06/0.4174, allocations: 4.031 kB / 0.5835 GB, free: 1.297 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.4176, allocations: 21.72 kB / 0.5835 GB, free: 1.285 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.00014/0.4178, allocations: 102.3 kB / 0.5836 GB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.4179, allocations: 84.5 kB / 0.5837 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4179, allocations: 0 / 0.5837 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.296e-05/0.418, allocations: 60.91 kB / 0.5837 GB, free: 1.059 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.4182, allocations: 10.3 kB / 0.5837 GB, free: 1.055 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002005/0.4184, allocations: 104.2 kB / 0.5838 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001076/0.4185, allocations: 0.6786 MB / 0.5845 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.746e-05/0.4186, allocations: 11.64 kB / 0.5845 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.055e-05/0.4186, allocations: 9.219 kB / 0.5845 GB, free: 256 kB / 430.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4186, allocations: 5.156 kB / 0.5845 GB, free: 252 kB / 430.1 MB Notification: Performance of Templates: time 0.002469/0.4211, allocations: 0.519 MB / 0.585 GB, free: 168 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)