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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2737/0.2737, allocations: 54.33 MB / 66.89 MB, free: 6.09 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001499/0.001499, allocations: 185.5 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.514/1.514, allocations: 194.2 MB / 288.6 MB, free: 15.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 107.6 kB / 346.9 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.856e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1315, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.5166, allocations: 84.68 MB / 0.5417 GB, free: 5.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/0.517, allocations: 75.95 kB / 0.5418 GB, free: 5.699 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001481/0.5185, allocations: 0.5534 MB / 0.5423 GB, free: 5.148 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5185, allocations: 0 / 0.5423 GB, free: 5.148 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.5185, allocations: 0 / 0.5423 GB, free: 5.148 MB / 378.7 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.0003788/0.5189, allocations: 340.8 kB / 0.5427 GB, free: 4.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.5189, allocations: 11.97 kB / 0.5427 GB, free: 4.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.519, allocations: 4 kB / 0.5427 GB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.5191, allocations: 163 kB / 0.5428 GB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.5191, allocations: 7.938 kB / 0.5428 GB, free: 4.543 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.5192, allocations: 4 kB / 0.5428 GB, free: 4.539 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.5193, allocations: 61.62 kB / 0.5429 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.5193, allocations: 0 / 0.5429 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5194, allocations: 0 / 0.5429 GB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.5194, allocations: 4 kB / 0.5429 GB, free: 4.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.5195, allocations: 19.98 kB / 0.5429 GB, free: 4.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.5199, allocations: 260.8 kB / 0.5432 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.5199, allocations: 26.52 kB / 0.5432 GB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.5199, allocations: 9.797 kB / 0.5432 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-06/0.52, allocations: 0 / 0.5432 GB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.52, allocations: 34.55 kB / 0.5432 GB, free: 4.055 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.52, allocations: 0 / 0.5432 GB, free: 4.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001658/0.5202, allocations: 67.39 kB / 0.5433 GB, free: 3.977 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.5202, allocations: 77.11 kB / 0.5434 GB, free: 3.883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.391e-05/0.5203, allocations: 109 kB / 0.5435 GB, free: 3.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.5204, allocations: 25.7 kB / 0.5435 GB, free: 3.738 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.5204, allocations: 113.8 kB / 0.5436 GB, free: 3.625 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.807e-06/0.5204, allocations: 7.891 kB / 0.5436 GB, free: 3.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.5204, allocations: 4 kB / 0.5436 GB, free: 3.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5206, allocations: 314.8 kB / 0.5439 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.311e-05/0.5206, allocations: 12 kB / 0.5439 GB, free: 3.285 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.5207, allocations: 58.86 kB / 0.544 GB, free: 3.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.5207, allocations: 45.69 kB / 0.544 GB, free: 3.152 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5207, allocations: 4 kB / 0.544 GB, free: 3.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001453/0.5209, allocations: 115.2 kB / 0.5441 GB, free: 3.023 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5209, allocations: 29.7 kB / 0.5442 GB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5209, allocations: 4 kB / 0.5442 GB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5209, allocations: 4 kB / 0.5442 GB, free: 2.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.521, allocations: 15.92 kB / 0.5442 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.521, allocations: 4.25 kB / 0.5442 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.012e-05/0.5211, allocations: 19.84 kB / 0.5442 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.5211, allocations: 4 kB / 0.5442 GB, free: 2.938 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.829e-05/0.5212, allocations: 137.2 kB / 0.5444 GB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.5212, allocations: 3.938 kB / 0.5444 GB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.224e-05/0.5213, allocations: 19.55 kB / 0.5444 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.5213, allocations: 0 / 0.5444 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5213, allocations: 0 / 0.5444 GB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.5213, allocations: 3.984 kB / 0.5444 GB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.5215, allocations: 150.5 kB / 0.5445 GB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.5215, allocations: 4 kB / 0.5445 GB, free: 2.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-06/0.5215, allocations: 3.984 kB / 0.5445 GB, free: 2.562 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.5215, allocations: 4 kB / 0.5445 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5215, allocations: 0 / 0.5445 GB, free: 2.559 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.5215, allocations: 5 kB / 0.5445 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5215, allocations: 0 / 0.5445 GB, free: 2.555 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.5216, allocations: 157.3 kB / 0.5447 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.5217, allocations: 92.98 kB / 0.5448 GB, free: 2.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.5217, allocations: 4 kB / 0.5448 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.821e-05/0.5218, allocations: 0 / 0.5448 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.336e-05/0.5218, allocations: 0 / 0.5448 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.5218, allocations: 4 kB / 0.5448 GB, free: 2.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.49e-05/0.5219, allocations: 91.81 kB / 0.5449 GB, free: 2.172 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5219, allocations: 0 / 0.5449 GB, free: 2.172 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00023/0.5221, allocations: 12 kB / 0.5449 GB, free: 2.16 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.5223, allocations: 111.2 kB / 0.545 GB, free: 2.043 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.5224, allocations: 91.27 kB / 0.5451 GB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5224, allocations: 0 / 0.5451 GB, free: 1.941 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.907e-05/0.5224, allocations: 55.41 kB / 0.5451 GB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.5226, allocations: 7.125 kB / 0.5451 GB, free: 1.871 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001823/0.5227, allocations: 72.86 kB / 0.5452 GB, free: 1.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.523, allocations: 0.6833 MB / 0.5459 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.629e-05/0.5231, allocations: 16.16 kB / 0.5459 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.133e-05/0.5231, allocations: 11.44 kB / 0.5459 GB, free: 1.043 MB / 378.7 MB Notification: Performance of SimCode: time 3.5e-07/0.5231, allocations: 0 / 0.5459 GB, free: 1.043 MB / 378.7 MB Notification: Performance of Templates: time 0.002498/0.5256, allocations: 492 kB / 0.5464 GB, free: 0.5703 MB / 378.7 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)