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 2.015/2.015, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.049e-05, allocations: 4 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3089, allocations: 44.51 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.002556/0.3115, allocations: 1.461 MB / 304.8 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.3129, allocations: 0.581 MB / 305.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.3131, allocations: 7.156 kB / 305.4 MB, free: 11.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.3132, allocations: 23.84 kB / 305.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3134, allocations: 26.23 kB / 305.4 MB, free: 11.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.3136, allocations: 60.61 kB / 305.5 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3139, allocations: 92.77 kB / 305.6 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.314, allocations: 47.44 kB / 305.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001593/0.3142, allocations: 48.39 kB / 305.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.3144, allocations: 66.84 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.361e-05/0.3145, allocations: 7.906 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.3145, allocations: 5.875 kB / 305.7 MB, free: 11 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.3146, allocations: 33.5 kB / 305.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.3147, allocations: 10.09 kB / 305.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.3149, allocations: 114.2 kB / 305.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.3149, allocations: 1.312 kB / 305.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3149, allocations: 0 / 305.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.315, allocations: 7.938 kB / 305.9 MB, free: 10.89 MB / 250.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.001049/0.316, allocations: 469.4 kB / 306.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3161, allocations: 9.375 kB / 306.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.3162, allocations: 26.28 kB / 306.4 MB, free: 10.44 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.3165, allocations: 239.8 kB / 306.6 MB, free: 10.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.3166, allocations: 15.98 kB / 306.6 MB, free: 10.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.006e-05/0.3166, allocations: 20 kB / 306.7 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.3173, allocations: 201.5 kB / 306.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.3173, allocations: 0 / 306.9 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.855e-05/0.3173, allocations: 12 kB / 306.9 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.097e-05/0.3174, allocations: 8 kB / 306.9 MB, free: 9.914 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.3179, allocations: 143.8 kB / 307 MB, free: 9.773 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001571/0.3195, allocations: 0.7896 MB / 307.8 MB, free: 8.922 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3206, allocations: 210.6 kB / 308 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.339e-05/0.3207, allocations: 11.98 kB / 308 MB, free: 8.695 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.3211, allocations: 152.9 kB / 308.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/0.3212, allocations: 0 / 308.2 MB, free: 8.527 MB / 250.7 MB Notification: Performance of matching and sorting (n=15): time 0.001056/0.3222, allocations: 253.3 kB / 308.4 MB, free: 8.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/0.3223, allocations: 89.06 kB / 308.5 MB, free: 8.168 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.3226, allocations: 195.2 kB / 308.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.3227, allocations: 29.7 kB / 308.7 MB, free: 7.938 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.3228, allocations: 140.4 kB / 308.9 MB, free: 7.793 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.124e-05/0.3229, allocations: 31.69 kB / 308.9 MB, free: 7.762 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.662e-05/0.3229, allocations: 12 kB / 308.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3231, allocations: 330.8 kB / 309.2 MB, free: 7.418 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.3234, allocations: 71.89 kB / 309.3 MB, free: 7.348 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.3237, allocations: 136.5 kB / 309.4 MB, free: 7.184 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.324, allocations: 87.95 kB / 309.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.324, allocations: 0 / 309.5 MB, free: 7.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007737/0.3248, allocations: 261.2 kB / 309.8 MB, free: 6.836 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.3249, allocations: 9.312 kB / 309.8 MB, free: 6.828 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.3249, allocations: 4 kB / 309.8 MB, free: 6.824 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.3249, allocations: 4 kB / 309.8 MB, free: 6.82 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.3253, allocations: 35.92 kB / 309.8 MB, free: 6.785 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.3253, allocations: 7.938 kB / 309.8 MB, free: 6.777 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.3256, allocations: 47.7 kB / 309.9 MB, free: 6.73 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.3257, allocations: 16 kB / 309.9 MB, free: 6.715 MB / 250.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.000189/0.3259, allocations: 148 kB / 310 MB, free: 6.559 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.3259, allocations: 15.81 kB / 310.1 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003744/0.3263, allocations: 134.9 kB / 310.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.3263, allocations: 320 / 310.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3263, allocations: 0 / 310.2 MB, free: 6.398 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3263, allocations: 4 kB / 310.2 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.3273, allocations: 486.3 kB / 310.7 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.3273, allocations: 0 / 310.7 MB, free: 5.863 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.3275, allocations: 23.92 kB / 310.7 MB, free: 5.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3275, allocations: 4 kB / 310.7 MB, free: 5.836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3276, allocations: 4 kB / 310.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3276, allocations: 0 / 310.7 MB, free: 5.832 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.3276, allocations: 11.95 kB / 310.7 MB, free: 5.82 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006792/0.3283, allocations: 293.8 kB / 311 MB, free: 5.508 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.016e-05/0.3284, allocations: 104.8 kB / 311.1 MB, free: 5.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.3284, allocations: 4 kB / 311.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.3287, allocations: 27.88 kB / 311.1 MB, free: 5.355 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3289, allocations: 19.97 kB / 311.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.3289, allocations: 7.984 kB / 311.2 MB, free: 5.328 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.3291, allocations: 151.3 kB / 311.3 MB, free: 5.18 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.3291, allocations: 0 / 311.3 MB, free: 5.18 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004475/0.3296, allocations: 40 kB / 311.3 MB, free: 5.141 MB / 250.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.0002145/0.3298, allocations: 111.2 kB / 311.5 MB, free: 5.02 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0007135/0.3305, allocations: 176.3 kB / 311.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3306, allocations: 192 / 311.6 MB, free: 4.848 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003338/0.3309, allocations: 87.83 kB / 311.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.3313, allocations: 23.98 kB / 311.7 MB, free: 4.738 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.3324, allocations: 399.5 kB / 312.1 MB, free: 4.324 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.3328, allocations: 0.7403 MB / 312.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002045/0.333, allocations: 33.53 kB / 312.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/0.3331, allocations: 23.42 kB / 312.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of SimCode: time 1.232e-06/0.3331, allocations: 0 / 312.9 MB, free: 3.5 MB / 250.7 MB Notification: Performance of Templates: time 0.007503/0.3406, allocations: 1.798 MB / 314.7 MB, free: 1.711 MB / 250.7 MB