Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_3.2.1_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadModel(Modelica): time 1.588/1.588, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.528e-05, allocations: 4 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07446/0.07451, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002359/0.07692, allocations: 1.455 MB / 268.4 MB, free: 15.01 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.07815, allocations: 0.5693 MB / 268.9 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.824e-05/0.07827, allocations: 4 kB / 268.9 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.07839, allocations: 19.8 kB / 269 MB, free: 14.41 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.07854, allocations: 35.88 kB / 269 MB, free: 14.38 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.0788, allocations: 59.86 kB / 269 MB, free: 14.32 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.079, allocations: 87.77 kB / 269.1 MB, free: 14.23 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001446/0.07916, allocations: 48.66 kB / 269.2 MB, free: 14.18 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.0793, allocations: 51.83 kB / 269.2 MB, free: 14.13 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001455/0.07946, allocations: 67.75 kB / 269.3 MB, free: 14.06 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.927e-05/0.07954, allocations: 8 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.024e-05/0.07958, allocations: 4 kB / 269.3 MB, free: 14.05 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.211e-05/0.07965, allocations: 35.84 kB / 269.3 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.0797, allocations: 8 kB / 269.4 MB, free: 14.01 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.07992, allocations: 128 kB / 269.5 MB, free: 13.88 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.07994, allocations: 0 / 269.5 MB, free: 13.88 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.07995, allocations: 0 / 269.5 MB, free: 13.88 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.07997, allocations: 0 / 269.5 MB, free: 13.88 MB / 234.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.0009473/0.08093, allocations: 466.8 kB / 269.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.08098, allocations: 12.03 kB / 269.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.379e-05/0.08106, allocations: 23.72 kB / 270 MB, free: 13.34 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.0814, allocations: 243.3 kB / 270.2 MB, free: 13.06 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.382e-05/0.08144, allocations: 19.95 kB / 270.2 MB, free: 13.04 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.0815, allocations: 16 kB / 270.2 MB, free: 13.03 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.08206, allocations: 213 kB / 270.4 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.08209, allocations: 4 kB / 270.5 MB, free: 12.8 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.08212, allocations: 4 kB / 270.5 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.536e-05/0.08215, allocations: 8 kB / 270.5 MB, free: 12.79 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005635/0.08273, allocations: 147.8 kB / 270.6 MB, free: 12.64 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.08419, allocations: 0.8011 MB / 271.4 MB, free: 11.78 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.08523, allocations: 218.6 kB / 271.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.917e-05/0.08528, allocations: 0 / 271.6 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.08569, allocations: 149 kB / 271.8 MB, free: 11.39 MB / 234.7 MB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.08571, allocations: 0 / 271.8 MB, free: 11.39 MB / 234.7 MB Notification: Performance of matching and sorting (n=15): time 0.0009358/0.08666, allocations: 257.3 kB / 272 MB, free: 11.13 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.08672, allocations: 81.11 kB / 272.1 MB, free: 11.04 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.08698, allocations: 210 kB / 272.3 MB, free: 10.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.08702, allocations: 25.7 kB / 272.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.08714, allocations: 140.9 kB / 272.5 MB, free: 10.65 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.0872, allocations: 31.55 kB / 272.5 MB, free: 10.62 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/0.08723, allocations: 8 kB / 272.5 MB, free: 10.61 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.08736, allocations: 334.8 kB / 272.8 MB, free: 10.28 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002716/0.08764, allocations: 75.89 kB / 272.9 MB, free: 10.2 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.08797, allocations: 140.5 kB / 273 MB, free: 10.04 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.08829, allocations: 87.84 kB / 273.1 MB, free: 9.949 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.08831, allocations: 4 kB / 273.1 MB, free: 9.945 MB / 234.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007372/0.08906, allocations: 249.1 kB / 273.4 MB, free: 9.695 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.08909, allocations: 8 kB / 273.4 MB, free: 9.688 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.08911, allocations: 4.25 kB / 273.4 MB, free: 9.684 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.08914, allocations: 8 kB / 273.4 MB, free: 9.676 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000308/0.08946, allocations: 44.22 kB / 273.4 MB, free: 9.633 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.08948, allocations: 4 kB / 273.4 MB, free: 9.629 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.08979, allocations: 39.83 kB / 273.5 MB, free: 9.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.08983, allocations: 7.938 kB / 273.5 MB, free: 9.582 MB / 234.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.0001749/0.09002, allocations: 160 kB / 273.6 MB, free: 9.418 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.09007, allocations: 15.81 kB / 273.7 MB, free: 9.402 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003585/0.09043, allocations: 131 kB / 273.8 MB, free: 9.266 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.09046, allocations: 4 kB / 273.8 MB, free: 9.262 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.09047, allocations: 0 / 273.8 MB, free: 9.262 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.09049, allocations: 3.984 kB / 273.8 MB, free: 9.258 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000832/0.09133, allocations: 490.2 kB / 274.3 MB, free: 8.723 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.09134, allocations: 0 / 274.3 MB, free: 8.723 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.09156, allocations: 19.98 kB / 274.3 MB, free: 8.703 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.09158, allocations: 7.938 kB / 274.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.09161, allocations: 0 / 274.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.09162, allocations: 0 / 274.3 MB, free: 8.695 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.09163, allocations: 7.984 kB / 274.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006579/0.0923, allocations: 309.7 kB / 274.6 MB, free: 8.359 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.09243, allocations: 108.8 kB / 274.7 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.09248, allocations: 192 / 274.7 MB, free: 8.234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.09279, allocations: 31.97 kB / 274.7 MB, free: 8.203 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.0929, allocations: 23.91 kB / 274.8 MB, free: 8.18 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.09294, allocations: 7.953 kB / 274.8 MB, free: 8.172 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.09312, allocations: 152.6 kB / 274.9 MB, free: 8.023 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.09313, allocations: 0 / 274.9 MB, free: 8.023 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003751/0.09351, allocations: 39.94 kB / 275 MB, free: 7.984 MB / 234.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.0001738/0.09369, allocations: 111.4 kB / 275.1 MB, free: 7.867 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006271/0.09433, allocations: 179.7 kB / 275.3 MB, free: 7.691 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.09435, allocations: 0.5 kB / 275.3 MB, free: 7.691 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003153/0.09468, allocations: 87.89 kB / 275.3 MB, free: 7.605 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.09503, allocations: 19.98 kB / 275.4 MB, free: 7.586 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.09597, allocations: 411.5 kB / 275.8 MB, free: 7.16 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.0963, allocations: 0.7325 MB / 276.5 MB, free: 6.402 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0001743/0.09648, allocations: 41.77 kB / 276.5 MB, free: 6.359 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.245e-05/0.09659, allocations: 15.44 kB / 276.5 MB, free: 6.344 MB / 234.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0966, allocations: 3.938 kB / 276.6 MB, free: 6.34 MB / 234.7 MB Notification: Performance of Templates: time 0.006751/0.1034, allocations: 1.805 MB / 278.4 MB, free: 4.543 MB / 234.7 MB