Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadModel(Modelica): time 1.94/1.94, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.738e-05, allocations: 4 kB / 255.4 MB, free: 2.699 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07945/0.0795, allocations: 44.49 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3398/0.4194, allocations: 72.91 MB / 372.8 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4196, allocations: 65.94 kB / 372.8 MB, free: 22.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01118/0.4308, allocations: 2.714 MB / 375.6 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.48e-06/0.4309, allocations: 1.5 kB / 375.6 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.947e-05/0.4309, allocations: 3.281 kB / 375.6 MB, free: 22.11 MB / 314.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.0007103/0.4316, allocations: 476.8 kB / 376 MB, free: 21.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.4317, allocations: 9.188 kB / 376 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.925e-05/0.4318, allocations: 22.5 kB / 376.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.4321, allocations: 242.3 kB / 376.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.4322, allocations: 11.62 kB / 376.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.145e-05/0.4322, allocations: 15.38 kB / 376.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003837/0.4326, allocations: 193.4 kB / 376.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.4327, allocations: 0 / 376.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.4327, allocations: 6.094 kB / 376.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.4327, allocations: 7.922 kB / 376.5 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.4331, allocations: 113.4 kB / 376.6 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.4343, allocations: 0.8104 MB / 377.4 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.435, allocations: 190.5 kB / 377.6 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.4352, allocations: 50.66 kB / 377.7 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.4352, allocations: 7.781 kB / 377.7 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.4355, allocations: 127.9 kB / 377.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 3.02e-06/0.4355, allocations: 0 / 377.8 MB, free: 20.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004412/0.436, allocations: 159.2 kB / 378 MB, free: 20.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.436, allocations: 84.44 kB / 378 MB, free: 20.61 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.4363, allocations: 206.2 kB / 378.3 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.4363, allocations: 31.8 kB / 378.3 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.4364, allocations: 142.8 kB / 378.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.4365, allocations: 32.8 kB / 378.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.4365, allocations: 4.469 kB / 378.5 MB, free: 20.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.4366, allocations: 331.9 kB / 378.8 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.4367, allocations: 56.41 kB / 378.8 MB, free: 20.02 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.4369, allocations: 124.2 kB / 379 MB, free: 19.94 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.4371, allocations: 68.97 kB / 379 MB, free: 19.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4371, allocations: 0 / 379 MB, free: 19.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005043/0.4376, allocations: 222.1 kB / 379.2 MB, free: 19.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4377, allocations: 8.438 kB / 379.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.962e-06/0.4377, allocations: 2.969 kB / 379.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.4377, allocations: 2.562 kB / 379.3 MB, free: 19.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.4381, allocations: 45.16 kB / 379.3 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.4381, allocations: 3.188 kB / 379.3 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.4384, allocations: 34.72 kB / 379.3 MB, free: 19.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.4384, allocations: 13.86 kB / 379.4 MB, free: 19.86 MB / 314.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.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,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.0001098/0.4385, allocations: 130.8 kB / 379.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.682e-05/0.4386, allocations: 16.91 kB / 379.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000346/0.439, allocations: 131.4 kB / 379.6 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-06/0.439, allocations: 9.75 kB / 379.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.824e-06/0.439, allocations: 1 kB / 379.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-06/0.439, allocations: 2.297 kB / 379.6 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007824/0.4398, allocations: 475.7 kB / 380.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-06/0.4398, allocations: 6.141 kB / 380.1 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.44, allocations: 23.66 kB / 380.1 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.299e-06/0.4401, allocations: 1.344 kB / 380.1 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.4401, allocations: 6.75 kB / 380.1 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4401, allocations: 1.688 kB / 380.1 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4401, allocations: 0 / 380.1 MB, free: 19.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000416/0.4405, allocations: 288.3 kB / 380.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.596e-05/0.4406, allocations: 94.67 kB / 380.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.4407, allocations: 6.188 kB / 380.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.441, allocations: 19.42 kB / 380.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.717e-05/0.4411, allocations: 29.09 kB / 380.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4411, allocations: 8.406 kB / 380.6 MB, free: 19.09 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001657/0.4413, allocations: 149.1 kB / 380.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.56e-07/0.4413, allocations: 0 / 380.7 MB, free: 19.01 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004773/0.4418, allocations: 46 kB / 380.8 MB, free: 19 MB / 314.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.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,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.0001896/0.442, allocations: 116.8 kB / 380.9 MB, free: 18.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004223/0.4424, allocations: 143.7 kB / 381 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.94e-06/0.4425, allocations: 0.5 kB / 381 MB, free: 18.9 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.4427, allocations: 69.38 kB / 381.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.443, allocations: 30.8 kB / 381.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.4438, allocations: 243.9 kB / 381.4 MB, free: 18.78 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.444, allocations: 0.7398 MB / 382.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.4442, allocations: 31.48 kB / 382.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.994e-05/0.4443, allocations: 20.36 kB / 382.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of SimCode: time 2.717e-06/0.4443, allocations: 0 / 382.1 MB, free: 18.07 MB / 314.7 MB Notification: Performance of Templates: time 0.00711/0.4514, allocations: 1.799 MB / 383.9 MB, free: 17.91 MB / 314.7 MB