Running command: translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.696e-05, allocations: 0 / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2982, allocations: 44.51 MB / 303.3 MB, free: 12.93 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003113/0.3014, allocations: 1.69 MB / 305 MB, free: 11.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.3035, allocations: 0.7699 MB / 305.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.3037, allocations: 18.09 kB / 305.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.3039, allocations: 33 kB / 305.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.3041, allocations: 43.02 kB / 305.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.3048, allocations: 160.1 kB / 306 MB, free: 10.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003317/0.3051, allocations: 162.2 kB / 306.2 MB, free: 10.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003079/0.3055, allocations: 114.1 kB / 306.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3056, allocations: 79.83 kB / 306.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.3058, allocations: 101 kB / 306.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.3061, allocations: 75.88 kB / 306.5 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.3062, allocations: 12 kB / 306.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.3063, allocations: 55.72 kB / 306.6 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.569e-05/0.3064, allocations: 24 kB / 306.6 MB, free: 10.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.3069, allocations: 269.8 kB / 306.9 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.3069, allocations: 0 / 306.9 MB, free: 10 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.3069, allocations: 0 / 306.9 MB, free: 10 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.3069, allocations: 0 / 306.9 MB, free: 10 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001246/0.3082, allocations: 0.6544 MB / 307.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3082, allocations: 8.031 kB / 307.6 MB, free: 9.27 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.3084, allocations: 47.44 kB / 307.6 MB, free: 9.223 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005183/0.3089, allocations: 297.4 kB / 307.9 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.543e-05/0.309, allocations: 54.36 kB / 307.9 MB, free: 8.836 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-05/0.3091, allocations: 40 kB / 308 MB, free: 8.797 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.3101, allocations: 405.8 kB / 308.4 MB, free: 8.363 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.259e-05/0.3102, allocations: 3.984 kB / 308.4 MB, free: 8.359 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.3102, allocations: 19.94 kB / 308.4 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.66e-05/0.3103, allocations: 12.44 kB / 308.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.311, allocations: 261.5 kB / 308.7 MB, free: 8.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002826/0.3139, allocations: 1.6 MB / 310.3 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/0.3148, allocations: 275.9 kB / 310.5 MB, free: 6.09 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.3149, allocations: 12 kB / 310.6 MB, free: 6.078 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006876/0.3156, allocations: 349.4 kB / 310.9 MB, free: 5.691 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 3.547e-06/0.3156, allocations: 0 / 310.9 MB, free: 5.691 MB / 250.7 MB Notification: Performance of matching and sorting (n=36): time 0.001683/0.3173, allocations: 0.6685 MB / 311.6 MB, free: 4.973 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.3175, allocations: 204.3 kB / 311.8 MB, free: 4.73 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003832/0.3179, allocations: 257.5 kB / 312 MB, free: 4.469 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.3179, allocations: 45.64 kB / 312.1 MB, free: 4.418 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.3181, allocations: 192.5 kB / 312.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.988e-05/0.3182, allocations: 79.03 kB / 312.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.3183, allocations: 8 kB / 312.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.3184, allocations: 346.8 kB / 312.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.3188, allocations: 117.1 kB / 312.8 MB, free: 3.676 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.3193, allocations: 240.1 kB / 313 MB, free: 3.391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.3197, allocations: 224.9 kB / 313.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.3197, allocations: 0 / 313.2 MB, free: 3.152 MB / 250.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001232/0.321, allocations: 0.5216 MB / 313.8 MB, free: 2.605 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/0.3211, allocations: 90.03 kB / 313.8 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.3211, allocations: 7.953 kB / 313.9 MB, free: 2.492 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.3212, allocations: 8.047 kB / 313.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.3214, allocations: 35.91 kB / 313.9 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3214, allocations: 7.938 kB / 313.9 MB, free: 2.441 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003651/0.3218, allocations: 55.66 kB / 314 MB, free: 2.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.85e-05/0.3219, allocations: 24.38 kB / 314 MB, free: 2.363 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,$PRE.rising.u,rising.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.falling.not_u,falling.not_u,$PRE.changing.u,changing.u,changing.y,set1.expr[1],set1.expr[2],showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 3 * 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.0003789/0.3223, allocations: 257 kB / 314.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.761e-05/0.3224, allocations: 35.62 kB / 314.3 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.3231, allocations: 255.8 kB / 314.5 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.3232, allocations: 7.953 kB / 314.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3232, allocations: 0 / 314.5 MB, free: 1.789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.3232, allocations: 3.984 kB / 314.5 MB, free: 1.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.3252, allocations: 1 MB / 315.5 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3253, allocations: 4 kB / 315.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.3254, allocations: 19.86 kB / 315.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.3254, allocations: 0 / 315.6 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.3255, allocations: 15.98 kB / 315.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3255, allocations: 0 / 315.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3255, allocations: 0 / 315.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/0.3267, allocations: 0.6501 MB / 316.2 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.592e-05/0.3268, allocations: 104.7 kB / 316.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.3269, allocations: 16 kB / 316.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003741/0.3273, allocations: 35.97 kB / 316.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.3275, allocations: 43.8 kB / 316.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.702e-05/0.3275, allocations: 16 kB / 316.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000254/0.3278, allocations: 185.8 kB / 316.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3278, allocations: 0 / 316.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006727/0.3285, allocations: 112 kB / 316.7 MB, free: 15.46 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 38 (onDelay.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulsStart,booleanPulse2.pulsStart,or1.u[1],xor1.u[1],nand1.u[1],rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 14 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,rSFlipFlop.pre.u,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay.t_next,onDelay.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * 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.0003624/0.3289, allocations: 165.4 kB / 316.9 MB, free: 15.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001093/0.33, allocations: 0.4978 MB / 317.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.33, allocations: 4 kB / 317.4 MB, free: 14.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005746/0.3306, allocations: 307.1 kB / 317.7 MB, free: 14.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.3311, allocations: 45.5 kB / 317.7 MB, free: 14.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.333, allocations: 0.7134 MB / 318.4 MB, free: 13.63 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.3335, allocations: 0.7997 MB / 319.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002854/0.3338, allocations: 58.92 kB / 319.3 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3339, allocations: 31.44 kB / 319.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3339, allocations: 0 / 319.3 MB, free: 12.71 MB / 266.7 MB Notification: Performance of Templates: time 0.01261/0.3466, allocations: 3.554 MB / 322.9 MB, free: 9.172 MB / 266.7 MB