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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 196.6 kB / 16.14 MB, free: 6.711 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.579/1.579, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4401/0.4401, allocations: 54.93 MB / 324.3 MB, free: 56 kB / 254.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.001319/0.001319, allocations: 63.91 kB / 394.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 59.59 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.IntegerReplicator): time 0.2467/0.3778, allocations: 1.785 MB / 456 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3794, allocations: 1.005 MB / 457 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.102e-05/0.3795, allocations: 0 / 457 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.38, allocations: 55.89 kB / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.3801, allocations: 78.33 kB / 457.2 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004601/0.3806, allocations: 173.1 kB / 457.3 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001553/0.3808, allocations: 136.2 kB / 457.5 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3809, allocations: 19.7 kB / 457.5 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.381, allocations: 53.12 kB / 457.5 MB, free: 38.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.397e-05/0.3811, allocations: 64.38 kB / 457.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.3811, allocations: 2.844 kB / 457.6 MB, free: 38.44 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.3812, allocations: 66.62 kB / 457.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.3813, allocations: 32.73 kB / 457.7 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.645e-05/0.3814, allocations: 55.89 kB / 457.8 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.3816, allocations: 191 kB / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3816, allocations: 0 / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3816, allocations: 0 / 458 MB, free: 38.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3817, allocations: 3.5 kB / 458 MB, free: 38.36 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005856/0.3822, allocations: 494.9 kB / 458.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3823, allocations: 7.969 kB / 458.4 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.796e-05/0.3824, allocations: 16.66 kB / 458.5 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002669/0.3826, allocations: 263.3 kB / 458.7 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3827, allocations: 7.469 kB / 458.7 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.3827, allocations: 7.906 kB / 458.7 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.3829, allocations: 89.22 kB / 458.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.3829, allocations: 1.781 kB / 458.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.383, allocations: 5.375 kB / 458.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.342e-05/0.383, allocations: 5.984 kB / 458.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.3831, allocations: 29.91 kB / 458.9 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004854/0.3836, allocations: 358.4 kB / 459.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.3838, allocations: 90.12 kB / 459.3 MB, free: 37.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.3839, allocations: 36.23 kB / 459.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3839, allocations: 0.9062 kB / 459.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.3842, allocations: 81.58 kB / 459.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.3842, allocations: 1.312 kB / 459.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003538/0.3846, allocations: 140.8 kB / 459.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.3846, allocations: 102.8 kB / 459.7 MB, free: 37.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.3848, allocations: 274.5 kB / 459.9 MB, free: 37 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.3849, allocations: 26.2 kB / 460 MB, free: 36.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.3849, allocations: 113.1 kB / 460.1 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.385, allocations: 18.28 kB / 460.1 MB, free: 36.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.385, allocations: 37.95 kB / 460.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.3851, allocations: 328.9 kB / 460.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.74e-05/0.3852, allocations: 25.19 kB / 460.5 MB, free: 36.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.3852, allocations: 69.2 kB / 460.5 MB, free: 36.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.3854, allocations: 69.33 kB / 460.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3854, allocations: 0.5 kB / 460.6 MB, free: 36.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001901/0.3856, allocations: 113.6 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3856, allocations: 3.719 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3856, allocations: 4.406 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3856, allocations: 3.938 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.628e-05/0.3857, allocations: 15.7 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.3858, allocations: 4.562 kB / 460.7 MB, free: 36.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.3858, allocations: 14.09 kB / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.3859, allocations: 6.234 kB / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * 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 0.0001249/0.386, allocations: 140.1 kB / 460.9 MB, free: 36.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.386, allocations: 18.05 kB / 460.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.3861, allocations: 22.05 kB / 460.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.3861, allocations: 3.562 kB / 460.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.3861, allocations: 3.938 kB / 460.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3861, allocations: 0 / 460.9 MB, free: 36.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/0.3863, allocations: 226.9 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3863, allocations: 0.5312 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.3863, allocations: 11.31 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3863, allocations: 0 / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.3864, allocations: 3.625 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3864, allocations: 1.188 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3864, allocations: 3.938 kB / 461.2 MB, free: 36.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.3866, allocations: 140.4 kB / 461.3 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.794e-05/0.3867, allocations: 91.3 kB / 461.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.3867, allocations: 2.625 kB / 461.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.3868, allocations: 7.812 kB / 461.4 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.3868, allocations: 14.56 kB / 461.4 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3868, allocations: 3.531 kB / 461.4 MB, free: 35.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.387, allocations: 203.8 kB / 461.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.387, allocations: 0 / 461.6 MB, free: 35.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.3873, allocations: 39.05 kB / 461.7 MB, free: 35.85 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: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009483/0.3882, allocations: 436.1 kB / 462.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002128/0.3884, allocations: 70.25 kB / 462.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3885, allocations: 0 / 462.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.468e-05/0.3886, allocations: 45.25 kB / 462.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.3889, allocations: 31.5 kB / 462.2 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.3894, allocations: 326.2 kB / 462.6 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3896, allocations: 0.7227 MB / 463.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.807e-05/0.3897, allocations: 24.55 kB / 463.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.418e-05/0.3898, allocations: 18.34 kB / 463.3 MB, free: 34.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3898, allocations: 3.938 kB / 463.3 MB, free: 34.83 MB / 382.1 MB Notification: Performance of Templates: time 0.005209/0.395, allocations: 2.446 MB / 465.8 MB, free: 34.68 MB / 382.1 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)