Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.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.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") translateModel(Annex60.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4237/0.4237, allocations: 54.41 MB / 61.88 MB, free: 13.74 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.001112/0.001112, allocations: 184.1 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.667/1.667, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001631/0.001631, allocations: 108.8 kB / 341.6 MB, free: 4.051 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.745e-05/1.748e-05, allocations: 4 kB / 405.5 MB, free: 4.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.339/0.3391, allocations: 57.66 MB / 463.2 MB, free: 51.74 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.4469, allocations: 85.51 MB / 0.5358 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001779/0.4471, allocations: 71.95 kB / 0.5359 GB, free: 15.58 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006341/0.4535, allocations: 2.262 MB / 0.5381 GB, free: 13.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.4535, allocations: 0 / 0.5381 GB, free: 13.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.4535, allocations: 0 / 0.5381 GB, free: 13.36 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003973/0.4539, allocations: 386.8 kB / 0.5384 GB, free: 12.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.454, allocations: 8.031 kB / 0.5385 GB, free: 12.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.494e-05/0.454, allocations: 7.906 kB / 0.5385 GB, free: 12.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.4542, allocations: 180.4 kB / 0.5386 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.4542, allocations: 4.781 kB / 0.5386 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.4542, allocations: 0 / 0.5386 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.953e-05/0.4543, allocations: 23.94 kB / 0.5387 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.4544, allocations: 69.34 kB / 0.5387 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4544, allocations: 7.984 kB / 0.5387 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4544, allocations: 0.9062 kB / 0.5387 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4545, allocations: 0 / 0.5387 GB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.4548, allocations: 246.7 kB / 0.539 GB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.4549, allocations: 61.78 kB / 0.539 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.4549, allocations: 35.52 kB / 0.5391 GB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.4549, allocations: 3.953 kB / 0.5391 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000127/0.4551, allocations: 79.33 kB / 0.5391 GB, free: 12.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4551, allocations: 4 kB / 0.5391 GB, free: 12.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002292/0.4553, allocations: 113.1 kB / 0.5393 GB, free: 12.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.4554, allocations: 55.41 kB / 0.5393 GB, free: 11.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.953e-05/0.4555, allocations: 114.7 kB / 0.5394 GB, free: 11.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.4555, allocations: 26.2 kB / 0.5394 GB, free: 11.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.4555, allocations: 93.03 kB / 0.5395 GB, free: 11.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.4556, allocations: 19.8 kB / 0.5395 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.4556, allocations: 0.5 kB / 0.5395 GB, free: 11.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4557, allocations: 317.3 kB / 0.5399 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.4557, allocations: 23.98 kB / 0.5399 GB, free: 11.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.4558, allocations: 37.61 kB / 0.5399 GB, free: 11.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.953e-05/0.4559, allocations: 23.98 kB / 0.5399 GB, free: 11.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4559, allocations: 4 kB / 0.5399 GB, free: 11.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002117/0.4561, allocations: 117.6 kB / 0.54 GB, free: 11.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.659e-05/0.4562, allocations: 43.61 kB / 0.5401 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4562, allocations: 0.6562 kB / 0.5401 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.4562, allocations: 0 / 0.5401 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.516e-05/0.4562, allocations: 3.938 kB / 0.5401 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.4562, allocations: 4 kB / 0.5401 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.298e-05/0.4563, allocations: 6.125 kB / 0.5401 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.4563, allocations: 4 kB / 0.5401 GB, free: 11.09 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.intTab.y,intTab.y,$PRE.intTab.nextTime,intTab.nextTime,$PRE.intTab.index,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 4 * Array equations: 1 * 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 7.972e-05/0.4564, allocations: 109 kB / 0.5402 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.4564, allocations: 13.02 kB / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.008e-05/0.4564, allocations: 9.516 kB / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4564, allocations: 4 kB / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4564, allocations: 2.094 kB / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4564, allocations: 0 / 0.5402 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4566, allocations: 146.2 kB / 0.5404 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.4566, allocations: 4 kB / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.4566, allocations: 2.375 kB / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.4566, allocations: 2.062 kB / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4566, allocations: 3.984 kB / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.4566, allocations: 0 / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4566, allocations: 5.359 kB / 0.5404 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001918/0.4568, allocations: 147.5 kB / 0.5405 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.4569, allocations: 84.95 kB / 0.5406 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.4569, allocations: 4 kB / 0.5406 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.4569, allocations: 3.984 kB / 0.5406 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.457, allocations: 4 kB / 0.5406 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.302e-05/0.457, allocations: 11.94 kB / 0.5406 GB, free: 10.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.4571, allocations: 95.28 kB / 0.5407 GB, free: 10.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4571, allocations: 0 / 0.5407 GB, free: 10.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.4573, allocations: 35.92 kB / 0.5408 GB, free: 10.36 MB / 394.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: 6 ($whenCondition1,intTab.y,intTab.nextTime,intTab.index,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.nextTime,intTab.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002034/0.4575, allocations: 115.2 kB / 0.5409 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.4577, allocations: 119.3 kB / 0.541 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4577, allocations: 0 / 0.541 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.821e-05/0.4577, allocations: 35.98 kB / 0.541 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.339e-05/0.4578, allocations: 0 / 0.541 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002416/0.4581, allocations: 113 kB / 0.5411 GB, free: 9.934 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.4584, allocations: 0.6977 MB / 0.5418 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.521e-05/0.4584, allocations: 0 / 0.5418 GB, free: 9.211 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.4584, allocations: 11.44 kB / 0.5418 GB, free: 9.199 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4584, allocations: 0 / 0.5418 GB, free: 9.199 MB / 394.7 MB Notification: Performance of Templates: time 0.002771/0.4612, allocations: 0.8416 MB / 0.5426 GB, free: 8.398 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)