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.3_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 2.089/2.089, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.017e-05, allocations: 8 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08517, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3402/0.4254, allocations: 82.54 MB / 399.5 MB, free: 5.621 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.4257, allocations: 75.53 kB / 399.5 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03752/0.4632, allocations: 9.024 MB / 408.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.407e-06/0.4632, allocations: 0 / 408.6 MB, free: 13.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.668e-05/0.4633, allocations: 12 kB / 408.6 MB, free: 13.9 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001365/0.4647, allocations: 0.7295 MB / 409.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4647, allocations: 8.031 kB / 409.3 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001496/0.4649, allocations: 55.34 kB / 409.4 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.4657, allocations: 382.8 kB / 409.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/0.4658, allocations: 60.48 kB / 409.8 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.728e-05/0.4659, allocations: 44.52 kB / 409.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008285/0.4668, allocations: 410 kB / 410.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4668, allocations: 4 kB / 410.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.4669, allocations: 17.67 kB / 410.3 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-05/0.4669, allocations: 12.44 kB / 410.3 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.4675, allocations: 238.7 kB / 410.5 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.4703, allocations: 1.676 MB / 412.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.4711, allocations: 271.8 kB / 412.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.4714, allocations: 124.7 kB / 412.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-05/0.4714, allocations: 12.22 kB / 412.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005622/0.472, allocations: 311.2 kB / 412.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 7.282e-06/0.472, allocations: 0 / 412.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0009797/0.473, allocations: 365.7 kB / 413.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.4732, allocations: 176.7 kB / 413.4 MB, free: 9.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007726/0.474, allocations: 442 kB / 413.8 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.4741, allocations: 40.89 kB / 413.9 MB, free: 9.012 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/0.4743, allocations: 224.4 kB / 414.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.4744, allocations: 85 kB / 414.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.4745, allocations: 11.38 kB / 414.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.4747, allocations: 362 kB / 414.6 MB, free: 8.438 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002884/0.475, allocations: 106.9 kB / 414.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.4754, allocations: 257.1 kB / 414.9 MB, free: 8.105 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.4758, allocations: 160.1 kB / 415.1 MB, free: 7.977 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.426e-06/0.4758, allocations: 3.938 kB / 415.1 MB, free: 7.973 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001056/0.4769, allocations: 441.2 kB / 415.5 MB, free: 7.609 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.573e-05/0.4769, allocations: 45.44 kB / 415.5 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.477, allocations: 4 kB / 415.6 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.526e-05/0.477, allocations: 11.95 kB / 415.6 MB, free: 7.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.4772, allocations: 39.23 kB / 415.6 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.068e-05/0.4773, allocations: 15.92 kB / 415.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003564/0.4776, allocations: 50.58 kB / 415.7 MB, free: 7.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-05/0.4777, allocations: 23.61 kB / 415.7 MB, free: 7.434 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0002573/0.478, allocations: 188.2 kB / 415.9 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.4781, allocations: 47.52 kB / 415.9 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000964/0.4791, allocations: 407.9 kB / 416.3 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.4791, allocations: 7.984 kB / 416.3 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.197e-06/0.4792, allocations: 3.953 kB / 416.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-06/0.4792, allocations: 0 / 416.3 MB, free: 6.871 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00154/0.4807, allocations: 0.7898 MB / 417.1 MB, free: 6.176 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.999e-06/0.4808, allocations: 3.953 kB / 417.1 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.4809, allocations: 15.94 kB / 417.1 MB, free: 6.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.4809, allocations: 3.984 kB / 417.1 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.4809, allocations: 14.88 kB / 417.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.543e-06/0.481, allocations: 0 / 417.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/0.481, allocations: 11.94 kB / 417.2 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000967/0.482, allocations: 0.5252 MB / 417.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.4821, allocations: 123.4 kB / 417.8 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.4822, allocations: 11.38 kB / 417.8 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.4826, allocations: 30.59 kB / 417.9 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.4827, allocations: 46.88 kB / 417.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.4828, allocations: 12 kB / 417.9 MB, free: 5.434 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005373/0.4834, allocations: 318.8 kB / 418.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.013e-06/0.4834, allocations: 0 / 418.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007189/0.4841, allocations: 121.5 kB / 418.3 MB, free: 5.09 MB / 330.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: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,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: 12 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.001584/0.4857, allocations: 444.9 kB / 418.8 MB, free: 4.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009136/0.4866, allocations: 381.7 kB / 419.1 MB, free: 4.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.21e-06/0.4867, allocations: 4 kB / 419.2 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004446/0.4871, allocations: 235.3 kB / 419.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.4878, allocations: 85.39 kB / 419.5 MB, free: 4.164 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.4897, allocations: 0.6044 MB / 420.1 MB, free: 3.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001235/0.491, allocations: 0.8454 MB / 420.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007643/0.4918, allocations: 86.95 kB / 421 MB, free: 2.664 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.4922, allocations: 42.86 kB / 421 MB, free: 2.625 MB / 330.7 MB Notification: Performance of SimCode: time 3.381e-06/0.4922, allocations: 0 / 421 MB, free: 2.625 MB / 330.7 MB Notification: Performance of Templates: time 0.03205/0.5243, allocations: 5.105 MB / 426.1 MB, free: 13.54 MB / 346.7 MB