Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.602e-05, allocations: 6.031 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0921/0.09215, allocations: 50.41 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4446, allocations: 78.29 MB / 420.8 MB, free: 15.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4448, allocations: 66.28 kB / 420.9 MB, free: 15.8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01174/0.4566, allocations: 2.782 MB / 423.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.149e-06/0.4567, allocations: 7.938 kB / 423.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.4567, allocations: 8 kB / 423.7 MB, free: 13.38 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008362/0.4575, allocations: 473.2 kB / 424.2 MB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.4576, allocations: 8.031 kB / 424.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.573e-05/0.4577, allocations: 31.66 kB / 424.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.458, allocations: 233.1 kB / 424.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/0.4581, allocations: 18.67 kB / 424.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.4582, allocations: 15.19 kB / 424.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004054/0.4586, allocations: 190.2 kB / 424.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4586, allocations: 0 / 424.6 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.676e-05/0.4586, allocations: 7.188 kB / 424.7 MB, free: 12.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.884e-05/0.4587, allocations: 7.953 kB / 424.7 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003043/0.459, allocations: 121.7 kB / 424.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.4605, allocations: 0.7979 MB / 425.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006721/0.4612, allocations: 193.7 kB / 425.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.4613, allocations: 51.34 kB / 425.8 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.4614, allocations: 4 kB / 425.8 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000283/0.4617, allocations: 134.5 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 3.132e-06/0.4617, allocations: 3.938 kB / 426 MB, free: 11.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004716/0.4622, allocations: 162.6 kB / 426.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.4623, allocations: 81.09 kB / 426.2 MB, free: 10.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.4626, allocations: 202 kB / 426.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.4626, allocations: 37.45 kB / 426.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.4628, allocations: 193 kB / 426.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.4628, allocations: 29.77 kB / 426.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.4629, allocations: 3.312 kB / 426.6 MB, free: 10.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.463, allocations: 322.1 kB / 427 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000145/0.4632, allocations: 53.42 kB / 427 MB, free: 10.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4634, allocations: 122.6 kB / 427.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.4636, allocations: 75.91 kB / 427.2 MB, free: 9.984 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.535e-06/0.4636, allocations: 4 kB / 427.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004917/0.4641, allocations: 199.3 kB / 427.4 MB, free: 9.816 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4642, allocations: 11.95 kB / 427.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.4642, allocations: 128 / 427.4 MB, free: 9.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.4642, allocations: 12.23 kB / 427.4 MB, free: 9.793 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.4645, allocations: 47.61 kB / 427.5 MB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.4645, allocations: 4 kB / 427.5 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.4648, allocations: 38.59 kB / 427.5 MB, free: 9.711 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.4648, allocations: 8 kB / 427.5 MB, free: 9.703 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001476/0.465, allocations: 136 kB / 427.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.465, allocations: 15.81 kB / 427.7 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.4654, allocations: 132.3 kB / 427.8 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/0.4654, allocations: 4 kB / 427.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.78e-06/0.4654, allocations: 0 / 427.8 MB, free: 9.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.844e-06/0.4654, allocations: 3.984 kB / 427.8 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008249/0.4663, allocations: 477 kB / 428.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-06/0.4663, allocations: 0 / 428.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/0.4665, allocations: 27.75 kB / 428.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.772e-06/0.4665, allocations: 0 / 428.3 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.4665, allocations: 4 kB / 428.3 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.277e-06/0.4666, allocations: 3.938 kB / 428.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.032e-06/0.4666, allocations: 192 / 428.3 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004492/0.467, allocations: 285.5 kB / 428.6 MB, free: 8.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.4671, allocations: 104.2 kB / 428.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.4672, allocations: 0 / 428.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.4674, allocations: 26.97 kB / 428.7 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.306e-05/0.4675, allocations: 19.03 kB / 428.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.4676, allocations: 8 kB / 428.7 MB, free: 8.508 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000171/0.4678, allocations: 148.5 kB / 428.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4678, allocations: 0 / 428.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.4682, allocations: 46.34 kB / 428.9 MB, free: 8.344 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * 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.0001973/0.4684, allocations: 114.3 kB / 429 MB, free: 8.223 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005195/0.469, allocations: 147 kB / 429.2 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.85e-06/0.469, allocations: 4 kB / 429.2 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.4692, allocations: 71.91 kB / 429.3 MB, free: 8.055 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4695, allocations: 27.48 kB / 429.3 MB, free: 8.035 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007145/0.4703, allocations: 274.7 kB / 429.6 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.4707, allocations: 0.7404 MB / 430.3 MB, free: 7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.24e-05/0.4709, allocations: 22.81 kB / 430.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.547e-06/0.4709, allocations: 0 / 430.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of Templates: time 0.00551/0.4764, allocations: 2.367 MB / 432.7 MB, free: 4.641 MB / 346.7 MB