Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001163/0.001163, allocations: 105.4 kB / 15.7 MB, free: 24 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.001602/0.001602, allocations: 197.5 kB / 16.64 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 4.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4603/0.4603, allocations: 54.95 MB / 324.8 MB, free: 15.91 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 75.88 kB / 396.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4545/0.4568, allocations: 59.58 MB / 455.7 MB, free: 40.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001902/0.4587, allocations: 0.5421 MB / 456.2 MB, free: 39.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.459, allocations: 38.5 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.459, allocations: 1.781 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.459, allocations: 3.531 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.475e-05/0.4591, allocations: 0 / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.4593, allocations: 14.56 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.466e-05/0.4594, allocations: 13.38 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.441e-05/0.4595, allocations: 0 / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.01e-05/0.4595, allocations: 3.062 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.502e-05/0.4595, allocations: 0 / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.4596, allocations: 1.875 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.872e-05/0.4596, allocations: 26.08 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.4597, allocations: 4.797 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.971e-05/0.4597, allocations: 5.953 kB / 456.3 MB, free: 39.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.264e-05/0.4598, allocations: 20.41 kB / 456.4 MB, free: 39.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.4598, allocations: 3.938 kB / 456.4 MB, free: 39.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4598, allocations: 1.344 kB / 456.4 MB, free: 39.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4598, allocations: 0 / 456.4 MB, free: 39.98 MB / 382.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.0002989/0.4602, allocations: 350.7 kB / 456.7 MB, free: 39.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.4602, allocations: 9.781 kB / 456.7 MB, free: 39.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.4602, allocations: 4.562 kB / 456.7 MB, free: 39.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.279e-05/0.4603, allocations: 167.1 kB / 456.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4603, allocations: 384 / 456.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.4603, allocations: 3.312 kB / 456.9 MB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.4605, allocations: 67.78 kB / 457 MB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4605, allocations: 0 / 457 MB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.4605, allocations: 1.875 kB / 457 MB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.4605, allocations: 6.969 kB / 457 MB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.766e-05/0.4606, allocations: 26.16 kB / 457 MB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.4609, allocations: 269.2 kB / 457.3 MB, free: 39.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.531e-05/0.4609, allocations: 24.08 kB / 457.3 MB, free: 39.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.4609, allocations: 8.141 kB / 457.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-06/0.4609, allocations: 1.312 kB / 457.3 MB, free: 39.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.461, allocations: 35.22 kB / 457.3 MB, free: 39.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.803e-06/0.461, allocations: 1.344 kB / 457.3 MB, free: 39.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001588/0.4611, allocations: 67.09 kB / 457.4 MB, free: 38.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.4612, allocations: 82.61 kB / 457.5 MB, free: 38.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.4613, allocations: 117.7 kB / 457.6 MB, free: 38.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.634e-06/0.4613, allocations: 28.7 kB / 457.6 MB, free: 38.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/0.4613, allocations: 110.4 kB / 457.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.821e-06/0.4613, allocations: 0 / 457.7 MB, free: 38.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.4614, allocations: 22.06 kB / 457.7 MB, free: 38.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.255e-05/0.4614, allocations: 319.1 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.4614, allocations: 9.5 kB / 458.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.003e-05/0.4615, allocations: 60.45 kB / 458.1 MB, free: 38.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.207e-05/0.4616, allocations: 131.2 kB / 458.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.4616, allocations: 3.703 kB / 458.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.4617, allocations: 123.4 kB / 458.4 MB, free: 38.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4617, allocations: 32.92 kB / 458.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.4617, allocations: 2.719 kB / 458.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4618, allocations: 2.844 kB / 458.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.4618, allocations: 15.44 kB / 458.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4618, allocations: 3.469 kB / 458.4 MB, free: 38.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.962e-05/0.4619, allocations: 14.34 kB / 458.4 MB, free: 38.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.4619, allocations: 5.719 kB / 458.5 MB, free: 38.02 MB / 382.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.462, allocations: 141.2 kB / 458.6 MB, free: 37.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.462, allocations: 14.17 kB / 458.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.454e-05/0.4621, allocations: 10.5 kB / 458.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-06/0.4621, allocations: 0.6562 kB / 458.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.4621, allocations: 0 / 458.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.4621, allocations: 3.938 kB / 458.6 MB, free: 37.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001104/0.4622, allocations: 155.2 kB / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.4622, allocations: 1.312 kB / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.4622, allocations: 0 / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.4622, allocations: 2 kB / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.4622, allocations: 3.438 kB / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4622, allocations: 0 / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4622, allocations: 3.531 kB / 458.8 MB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.981e-05/0.4623, allocations: 168.1 kB / 458.9 MB, free: 37.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.4624, allocations: 80.89 kB / 459 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.4624, allocations: 3.609 kB / 459 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.381e-05/0.4624, allocations: 1.469 kB / 459 MB, free: 37.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.4625, allocations: 7.312 kB / 459 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.4625, allocations: 2.625 kB / 459 MB, free: 37.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.153e-05/0.4625, allocations: 96.58 kB / 459.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4625, allocations: 0 / 459.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.4628, allocations: 7.938 kB / 459.1 MB, free: 37.34 MB / 382.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.0001258/0.4629, allocations: 110.5 kB / 459.3 MB, free: 37.24 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001309/0.463, allocations: 83.94 kB / 459.3 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.463, allocations: 0 / 459.3 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.611e-05/0.4631, allocations: 59.92 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.4633, allocations: 4.469 kB / 459.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001933/0.4635, allocations: 120.6 kB / 459.5 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001207/0.4636, allocations: 0.6748 MB / 460.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.849e-05/0.4637, allocations: 15.8 kB / 460.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.082e-05/0.4637, allocations: 7.438 kB / 460.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4637, allocations: 2.719 kB / 460.2 MB, free: 36.32 MB / 382.1 MB Notification: Performance of Templates: time 0.002669/0.4664, allocations: 0.5096 MB / 460.7 MB, free: 36.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)