Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.414/2.414, allocations: 195 MB / 202.9 MB, free: 6.734 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.978e-05, allocations: 3.062 kB / 249.7 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 44.51 MB / 294.3 MB, free: 10.68 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4995/0.6174, allocations: 74.43 MB / 368.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.6177, allocations: 67.08 kB / 368.7 MB, free: 6.973 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02547/0.6432, allocations: 4.903 MB / 373.7 MB, free: 22.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6433, allocations: 0 / 373.7 MB, free: 22.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.819e-05/0.6433, allocations: 11.66 kB / 373.7 MB, free: 22.37 MB / 314.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.001315/0.6447, allocations: 0.653 MB / 374.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.6447, allocations: 7.719 kB / 374.3 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.6449, allocations: 60.59 kB / 374.4 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.645, allocations: 45.36 kB / 374.4 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005942/0.6456, allocations: 297.4 kB / 374.7 MB, free: 21.56 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.817e-05/0.6457, allocations: 45.73 kB / 374.8 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.342e-05/0.6458, allocations: 26.69 kB / 374.8 MB, free: 21.53 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007301/0.6466, allocations: 206.2 kB / 375 MB, free: 21.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.6474, allocations: 348.5 kB / 375.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.6475, allocations: 3.938 kB / 375.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.6475, allocations: 7.875 kB / 375.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.08e-05/0.6476, allocations: 15.92 kB / 375.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002812/0.6504, allocations: 1.496 MB / 376.9 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006676/0.6511, allocations: 256.2 kB / 377.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.6514, allocations: 117.9 kB / 377.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.098e-05/0.6515, allocations: 10.48 kB / 377.2 MB, free: 20.24 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.6522, allocations: 335.2 kB / 377.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.988e-06/0.6522, allocations: 0 / 377.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001216/0.6534, allocations: 328.8 kB / 377.9 MB, free: 19.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.6536, allocations: 194 kB / 378.1 MB, free: 19.75 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.654, allocations: 248.8 kB / 378.3 MB, free: 19.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.677e-05/0.6541, allocations: 40.17 kB / 378.3 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.6543, allocations: 184.5 kB / 378.5 MB, free: 19.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.343e-05/0.6544, allocations: 70.59 kB / 378.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.6544, allocations: 0 / 378.6 MB, free: 19.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.6546, allocations: 346.6 kB / 378.9 MB, free: 19.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.6549, allocations: 99.05 kB / 379 MB, free: 19.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.6553, allocations: 220.8 kB / 379.2 MB, free: 19.01 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005671/0.6559, allocations: 144.7 kB / 379.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.6559, allocations: 0 / 379.4 MB, free: 18.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00123/0.6571, allocations: 405.1 kB / 379.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.285e-05/0.6573, allocations: 95.98 kB / 379.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.6573, allocations: 3.875 kB / 379.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.772e-05/0.6573, allocations: 7.75 kB / 379.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6575, allocations: 33.34 kB / 379.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.6576, allocations: 12.2 kB / 379.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.658, allocations: 29.36 kB / 380 MB, free: 18.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.6581, allocations: 23.31 kB / 380 MB, free: 18.79 MB / 314.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,rSFlipFlop.S,rSFlipFlop.R,$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.0002869/0.6584, allocations: 209.8 kB / 380.2 MB, free: 18.6 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.6585, allocations: 38.62 kB / 380.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008424/0.6594, allocations: 226.4 kB / 380.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6594, allocations: 3.875 kB / 380.5 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.6594, allocations: 3.875 kB / 380.5 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.6594, allocations: 3.953 kB / 380.5 MB, free: 18.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.6616, allocations: 0.8551 MB / 381.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6616, allocations: 3.984 kB / 381.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.618e-05/0.6617, allocations: 11.69 kB / 381.3 MB, free: 18.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.1e-05/0.6618, allocations: 7.891 kB / 381.3 MB, free: 18.1 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.6618, allocations: 15.8 kB / 381.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.6618, allocations: 0 / 381.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.6619, allocations: 3.906 kB / 381.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.6632, allocations: 0.5474 MB / 381.9 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6633, allocations: 100.5 kB / 382 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.6634, allocations: 11.73 kB / 382 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.6639, allocations: 26.3 kB / 382 MB, free: 17.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.6641, allocations: 41.75 kB / 382.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.6642, allocations: 14.75 kB / 382.1 MB, free: 17.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002325/0.6644, allocations: 162.9 kB / 382.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6644, allocations: 0 / 382.3 MB, free: 17.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008037/0.6652, allocations: 89.25 kB / 382.3 MB, free: 17.55 MB / 314.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,rSFlipFlop.S,rSFlipFlop.R,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 (rising.u,falling.not_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.002027/0.6673, allocations: 1.292 MB / 383.6 MB, free: 16.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.6683, allocations: 471 kB / 384.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.6684, allocations: 3.938 kB / 384.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.6689, allocations: 285 kB / 384.4 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.6696, allocations: 42.44 kB / 384.4 MB, free: 16.19 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.6716, allocations: 0.5201 MB / 384.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.6722, allocations: 0.8117 MB / 385.7 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003267/0.6726, allocations: 58.06 kB / 385.8 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.6728, allocations: 119.7 kB / 385.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6729, allocations: 0 / 385.9 MB, free: 15.11 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1004/0.7732, allocations: 6.301 MB / 392.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002983/0.7736, allocations: 130.1 kB / 392.4 MB, free: 11.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.361/4.135, allocations: 3.938 kB / 392.4 MB, free: 11.9 MB / 314.7 MB "" Variables in the reference: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] Variables in the result:_D_cse1,_D_cse2,_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,_D_whenCondition5,_D_whenCondition6,and1.nu,and1.u[1],and1.u[2],and1.u[3],and1.y,booleanPulse1.Twidth,booleanPulse1.period,booleanPulse1.pulsStart,booleanPulse1.startTime,booleanPulse1.width,booleanPulse1.y,booleanPulse2.Twidth,booleanPulse2.period,booleanPulse2.pulsStart,booleanPulse2.startTime,booleanPulse2.width,booleanPulse2.y,booleanStep.startTime,booleanStep.startValue,booleanStep.y,booleanTable.index,booleanTable.n,booleanTable.nextTime,booleanTable.startValue,booleanTable.table[1],booleanTable.table[2],booleanTable.table[3],booleanTable.table[4],booleanTable.table[5],booleanTable.table[6],booleanTable.table[7],booleanTable.y,changing.pre_u_start,changing.u,changing.y,falling.not_u,falling.pre_u_start,falling.u,falling.y,integerConstant.k,integerConstant.y,nand1.nu,nand1.u[1],nand1.u[2],nand1.y,nor1.u,nor1.y,onDelay.delaySignal,onDelay.delayTime,onDelay.t_next,onDelay.u,onDelay.y,or1.nu,or1.u[1],or1.u[2],or1.y,or2.nu,or2.u[1],or2.u[2],or2.y,rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.Qini,rSFlipFlop.R,rSFlipFlop.S,rSFlipFlop.nor.u1,rSFlipFlop.nor.u2,rSFlipFlop.nor.y,rSFlipFlop.nor1.u1,rSFlipFlop.nor1.u2,rSFlipFlop.nor1.y,rSFlipFlop.pre.pre_u_start,rSFlipFlop.pre.u,rSFlipFlop.pre.y,rising.pre_u_start,rising.u,rising.y,sampleTriggerReset.period,sampleTriggerReset.startTime,sampleTriggerReset.y,sampleTriggerSet.period,sampleTriggerSet.startTime,sampleTriggerSet.y,set1.expr[1],set1.expr[2],set1.firstActiveIndex,set1.nu,set1.u[1],set1.u[2],set1.use_pre_as_default,set1.y,set1.y_default,showValue.active,showValue.activePort,showValue.showActive,showValue.use_activePort,showValue1.number,showValue1.numberPort,showValue1.showNumber,showValue1.use_numberPort,showValue2.active,showValue2.activePort,showValue2.showActive,showValue2.use_activePort,showValue3.active,showValue3.activePort,showValue3.showActive,showValue3.use_activePort,showValue4.active,showValue4.activePort,showValue4.showActive,showValue4.use_activePort,showValue5.active,showValue5.activePort,showValue5.showActive,showValue5.use_activePort,showValue6.active,showValue6.activePort,showValue6.showActive,showValue6.use_activePort,time,triggeredAdd.local_reset,triggeredAdd.local_set,triggeredAdd.trigger,triggeredAdd.u,triggeredAdd.use_reset,triggeredAdd.use_set,triggeredAdd.y,triggeredAdd.y_start,xor1.nu,xor1.u[1],xor1.u[2],xor1.y