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.1_cpp_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.1 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.444e-05/2.466e-05, allocations: 0 / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08019/0.08024, allocations: 38.78 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003035/0.08334, allocations: 1.691 MB / 268.6 MB, free: 15.43 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001946/0.08534, allocations: 0.7523 MB / 269.3 MB, free: 14.67 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.08556, allocations: 23.94 kB / 269.4 MB, free: 14.65 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.08573, allocations: 23.72 kB / 269.4 MB, free: 14.62 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.0859, allocations: 39.86 kB / 269.4 MB, free: 14.59 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007261/0.08664, allocations: 155.6 kB / 269.6 MB, free: 14.43 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.08699, allocations: 168.6 kB / 269.7 MB, free: 14.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.0873, allocations: 116.2 kB / 269.8 MB, free: 14.15 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.08744, allocations: 75.77 kB / 269.9 MB, free: 14.08 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.08762, allocations: 99.53 kB / 270 MB, free: 13.98 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002563/0.08789, allocations: 79.88 kB / 270.1 MB, free: 13.9 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.354e-05/0.08797, allocations: 16 kB / 270.1 MB, free: 13.89 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001034/0.08808, allocations: 55.77 kB / 270.2 MB, free: 13.83 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.324e-05/0.08817, allocations: 20 kB / 270.2 MB, free: 13.81 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004562/0.08864, allocations: 263.7 kB / 270.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.08865, allocations: 0 / 270.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.08867, allocations: 4 kB / 270.4 MB, free: 13.55 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.133e-05/0.08869, allocations: 4 kB / 270.4 MB, free: 13.55 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001244/0.08994, allocations: 0.6505 MB / 271.1 MB, free: 12.83 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.09, allocations: 8.031 kB / 271.1 MB, free: 12.82 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.09014, allocations: 47.53 kB / 271.2 MB, free: 12.77 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.09067, allocations: 297.3 kB / 271.4 MB, free: 12.44 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.704e-05/0.09078, allocations: 66.31 kB / 271.5 MB, free: 12.37 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.923e-05/0.09087, allocations: 32 kB / 271.5 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009352/0.09182, allocations: 413.8 kB / 271.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.09186, allocations: 0 / 271.9 MB, free: 11.9 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.09191, allocations: 12 kB / 272 MB, free: 11.89 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.09196, allocations: 12.44 kB / 272 MB, free: 11.88 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.0927, allocations: 257.5 kB / 272.2 MB, free: 11.62 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.09542, allocations: 1.604 MB / 273.8 MB, free: 9.934 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007733/0.09623, allocations: 271.9 kB / 274.1 MB, free: 9.641 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.531e-05/0.09633, allocations: 15.94 kB / 274.1 MB, free: 9.625 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.09701, allocations: 349.1 kB / 274.4 MB, free: 9.238 MB / 234.7 MB Notification: Performance of pre-optimization done (n=36): time 2.946e-06/0.09704, allocations: 4 kB / 274.4 MB, free: 9.234 MB / 234.7 MB Notification: Performance of matching and sorting (n=36): time 0.001566/0.09861, allocations: 0.6691 MB / 275.1 MB, free: 8.516 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.09877, allocations: 207.9 kB / 275.3 MB, free: 8.27 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004047/0.09919, allocations: 265.4 kB / 275.6 MB, free: 8.008 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-05/0.09927, allocations: 41.69 kB / 275.6 MB, free: 7.961 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.09946, allocations: 235.2 kB / 275.8 MB, free: 7.73 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.09957, allocations: 78.94 kB / 275.9 MB, free: 7.652 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-05/0.09962, allocations: 12 kB / 275.9 MB, free: 7.641 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.09977, allocations: 330.8 kB / 276.3 MB, free: 7.309 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1001, allocations: 117.1 kB / 276.4 MB, free: 7.191 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004499/0.1006, allocations: 244.1 kB / 276.6 MB, free: 6.906 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004481/0.1011, allocations: 217 kB / 276.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.1011, allocations: 0 / 276.8 MB, free: 6.676 MB / 234.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001173/0.1023, allocations: 0.5066 MB / 277.3 MB, free: 6.145 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.534e-05/0.1024, allocations: 93.09 kB / 277.4 MB, free: 6.035 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1024, allocations: 8.047 kB / 277.4 MB, free: 6.027 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.1024, allocations: 8 kB / 277.4 MB, free: 6.02 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1026, allocations: 35.86 kB / 277.5 MB, free: 5.984 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.996e-05/0.1027, allocations: 11.94 kB / 277.5 MB, free: 5.973 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003822/0.103, allocations: 59.69 kB / 277.5 MB, free: 5.914 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.441e-05/0.1031, allocations: 27.98 kB / 277.6 MB, free: 5.887 MB / 234.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.0003724/0.1035, allocations: 245.2 kB / 277.8 MB, free: 5.625 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1036, allocations: 31.62 kB / 277.8 MB, free: 5.594 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007595/0.1044, allocations: 259 kB / 278.1 MB, free: 5.336 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1044, allocations: 4 kB / 278.1 MB, free: 5.332 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.1044, allocations: 7.938 kB / 278.1 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.1044, allocations: 0 / 278.1 MB, free: 5.324 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.1065, allocations: 1.004 MB / 279.1 MB, free: 4.25 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/0.1065, allocations: 0 / 279.1 MB, free: 4.25 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.021e-05/0.1066, allocations: 19.92 kB / 279.1 MB, free: 4.23 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/0.1066, allocations: 7.953 kB / 279.1 MB, free: 4.223 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.384e-05/0.1067, allocations: 11.98 kB / 279.1 MB, free: 4.211 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.137e-05/0.1067, allocations: 8 kB / 279.2 MB, free: 4.203 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1067, allocations: 0 / 279.2 MB, free: 4.203 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.108, allocations: 0.642 MB / 279.8 MB, free: 3.516 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.1081, allocations: 116.7 kB / 279.9 MB, free: 3.383 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.1082, allocations: 12 kB / 279.9 MB, free: 3.371 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/0.1086, allocations: 27.92 kB / 280 MB, free: 3.344 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.1088, allocations: 47.88 kB / 280 MB, free: 3.297 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.849e-05/0.1088, allocations: 15.98 kB / 280 MB, free: 3.281 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002758/0.1091, allocations: 182 kB / 280.2 MB, free: 3.102 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1091, allocations: 0 / 280.2 MB, free: 3.102 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0006898/0.1098, allocations: 115.7 kB / 280.3 MB, free: 2.988 MB / 234.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.0003771/0.1102, allocations: 165.4 kB / 280.5 MB, free: 2.82 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1114, allocations: 0.4906 MB / 281 MB, free: 2.293 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1114, allocations: 0 / 281 MB, free: 2.293 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005928/0.112, allocations: 322.5 kB / 281.3 MB, free: 1.957 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005512/0.1126, allocations: 44.5 kB / 281.3 MB, free: 1.914 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1144, allocations: 0.7461 MB / 282.1 MB, free: 1.129 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004681/0.1149, allocations: 0.8036 MB / 282.9 MB, free: 304 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1151, allocations: 35.42 kB / 282.9 MB, free: 268 kB / 234.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1151, allocations: 0 / 282.9 MB, free: 268 kB / 234.7 MB Notification: Performance of Templates: time 0.01208/0.1272, allocations: 4.574 MB / 287.5 MB, free: 11.68 MB / 250.7 MB