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.0016/0.0016, 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.001236/0.001236, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4377/0.4377, allocations: 54.94 MB / 324.7 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.001629/0.001629, allocations: 68.38 kB / 395.3 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1462, allocations: 59.59 MB / 454.9 MB, free: 124 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.2791/0.4253, allocations: 0.537 MB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000227/0.4255, allocations: 35.77 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.4256, allocations: 2.781 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.65e-05/0.4256, allocations: 2.625 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.269e-05/0.4256, allocations: 0 / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.4258, allocations: 11.25 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.4259, allocations: 5.594 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.154e-05/0.426, allocations: 0 / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.426, allocations: 8.469 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.546e-05/0.426, allocations: 6.297 kB / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.426, allocations: 0 / 455.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.682e-05/0.4261, allocations: 15.73 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.4262, allocations: 3 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.73e-05/0.4262, allocations: 14.34 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.924e-05/0.4263, allocations: 20.2 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4263, allocations: 4.656 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4263, allocations: 3.656 kB / 455.6 MB, free: 39.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.4263, allocations: 0 / 455.6 MB, free: 39.25 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.0002804/0.4266, allocations: 352.9 kB / 455.9 MB, free: 38.87 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4267, allocations: 8.625 kB / 456 MB, free: 38.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.4267, allocations: 5.219 kB / 456 MB, free: 38.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.265e-05/0.4268, allocations: 162.8 kB / 456.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4268, allocations: 1.688 kB / 456.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.4268, allocations: 5.438 kB / 456.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.4269, allocations: 60.8 kB / 456.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.427, allocations: 0.5625 kB / 456.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.427, allocations: 1.969 kB / 456.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.427, allocations: 5.281 kB / 456.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.427, allocations: 23.97 kB / 456.2 MB, free: 38.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.4273, allocations: 270.4 kB / 456.5 MB, free: 38.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.805e-05/0.4274, allocations: 23.3 kB / 456.5 MB, free: 38.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.626e-05/0.4274, allocations: 8.953 kB / 456.5 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.4274, allocations: 0.9375 kB / 456.5 MB, free: 38.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.4274, allocations: 35.78 kB / 456.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.4274, allocations: 0 / 456.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001707/0.4276, allocations: 72.03 kB / 456.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.4277, allocations: 77.11 kB / 456.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.4278, allocations: 120.2 kB / 456.8 MB, free: 38.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.4278, allocations: 26.64 kB / 456.8 MB, free: 38.01 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.4278, allocations: 108.7 kB / 456.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-06/0.4278, allocations: 7.75 kB / 456.9 MB, free: 37.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.4279, allocations: 21.09 kB / 457 MB, free: 37.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.4279, allocations: 314.8 kB / 457.3 MB, free: 37.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.428, allocations: 11.14 kB / 457.3 MB, free: 37.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.428, allocations: 63.55 kB / 457.3 MB, free: 37.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.713e-05/0.4281, allocations: 129 kB / 457.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4281, allocations: 1.969 kB / 457.5 MB, free: 37.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001193/0.4282, allocations: 128.8 kB / 457.6 MB, free: 37.33 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.4283, allocations: 31.45 kB / 457.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4283, allocations: 3.625 kB / 457.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4283, allocations: 2.594 kB / 457.6 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.262e-05/0.4284, allocations: 14.81 kB / 457.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4284, allocations: 2.75 kB / 457.7 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.561e-05/0.4284, allocations: 9.766 kB / 457.7 MB, free: 37.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.4285, allocations: 8.719 kB / 457.7 MB, free: 37.29 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.747e-05/0.4285, allocations: 148.7 kB / 457.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.423e-05/0.4286, allocations: 10.66 kB / 457.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.134e-05/0.4286, allocations: 5.219 kB / 457.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4286, allocations: 3.438 kB / 457.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4286, allocations: 0 / 457.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4286, allocations: 3.938 kB / 457.8 MB, free: 37.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.4287, allocations: 154 kB / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4287, allocations: 0 / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.4287, allocations: 4.719 kB / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.4287, allocations: 0 / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.4287, allocations: 3.781 kB / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4287, allocations: 2.312 kB / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4288, allocations: 0 / 458 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.68e-05/0.4288, allocations: 170.9 kB / 458.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.4289, allocations: 77.92 kB / 458.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.4289, allocations: 3.062 kB / 458.2 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.674e-05/0.4289, allocations: 0.7188 kB / 458.3 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.429, allocations: 9.094 kB / 458.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.429, allocations: 2.062 kB / 458.3 MB, free: 36.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.803e-05/0.429, allocations: 91.42 kB / 458.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.429, allocations: 0 / 458.4 MB, free: 36.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.4293, allocations: 10.12 kB / 458.4 MB, free: 36.61 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.0001228/0.4294, allocations: 106.5 kB / 458.5 MB, free: 36.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4295, allocations: 84.84 kB / 458.5 MB, free: 36.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4295, allocations: 6.5 kB / 458.6 MB, free: 36.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.4295, allocations: 59.89 kB / 458.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.4298, allocations: 4.688 kB / 458.6 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001878/0.4299, allocations: 106.1 kB / 458.7 MB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.4301, allocations: 0.6786 MB / 459.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.419e-05/0.4302, allocations: 14.2 kB / 459.4 MB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-06/0.4302, allocations: 10.31 kB / 459.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4302, allocations: 0 / 459.4 MB, free: 35.6 MB / 382.1 MB Notification: Performance of Templates: time 0.002474/0.4327, allocations: 0.5156 MB / 459.9 MB, free: 35.57 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)