Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.504e-05/2.519e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3229, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1496/0.4726, allocations: 74.44 MB / 368.6 MB, free: 7.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4729, allocations: 63.97 kB / 368.7 MB, free: 7.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02266/0.4955, allocations: 4.887 MB / 373.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4956, allocations: 0 / 373.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.715e-05/0.4956, allocations: 16 kB / 373.6 MB, free: 2.426 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.001319/0.497, allocations: 0.6493 MB / 374.3 MB, free: 1.711 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.497, allocations: 11.97 kB / 374.3 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.4972, allocations: 43.53 kB / 374.3 MB, free: 1.656 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005861/0.4978, allocations: 297.4 kB / 374.6 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.319e-05/0.4979, allocations: 50.41 kB / 374.7 MB, free: 1.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-05/0.498, allocations: 24 kB / 374.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006635/0.4987, allocations: 209.5 kB / 374.9 MB, free: 1.039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008173/0.4995, allocations: 347.5 kB / 375.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.4996, allocations: 0 / 375.2 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.4996, allocations: 7.984 kB / 375.2 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.627e-05/0.4997, allocations: 12.44 kB / 375.2 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.5025, allocations: 1.503 MB / 376.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.5032, allocations: 251.8 kB / 377 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002708/0.5035, allocations: 114.5 kB / 377.1 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.5036, allocations: 15.98 kB / 377.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005915/0.5042, allocations: 333.2 kB / 377.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 3.627e-06/0.5042, allocations: 0 / 377.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.001165/0.5054, allocations: 332.8 kB / 377.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.5056, allocations: 196 kB / 378 MB, free: 13.72 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004154/0.506, allocations: 249.9 kB / 378.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.221e-05/0.5061, allocations: 33.7 kB / 378.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.5063, allocations: 180.7 kB / 378.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.5064, allocations: 71.11 kB / 378.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.5065, allocations: 8 kB / 378.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5067, allocations: 342.8 kB / 378.8 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.507, allocations: 97.11 kB / 378.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003895/0.5074, allocations: 223 kB / 379.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000554/0.5079, allocations: 139.8 kB / 379.3 MB, free: 12.33 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.508, allocations: 4 kB / 379.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001201/0.5092, allocations: 392.9 kB / 379.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.5093, allocations: 97.09 kB / 379.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5093, allocations: 4 kB / 379.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/0.5094, allocations: 4 kB / 379.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.5096, allocations: 39.84 kB / 379.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-05/0.5096, allocations: 11.94 kB / 379.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.51, allocations: 28.16 kB / 379.8 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.5101, allocations: 27.98 kB / 379.9 MB, free: 11.71 MB / 330.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.0003299/0.5104, allocations: 209.2 kB / 380.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001062/0.5115, allocations: 341.1 kB / 380.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.606e-05/0.5116, allocations: 31.62 kB / 380.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007621/0.5123, allocations: 231.9 kB / 380.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5124, allocations: 7.953 kB / 380.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5124, allocations: 0 / 380.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.5124, allocations: 3.984 kB / 380.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002042/0.5145, allocations: 0.8536 MB / 381.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.5145, allocations: 7.953 kB / 381.5 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.5146, allocations: 15.92 kB / 381.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.715e-06/0.5146, allocations: 0 / 381.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.5147, allocations: 12 kB / 381.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.5147, allocations: 0 / 381.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.5147, allocations: 0 / 381.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5159, allocations: 0.5463 MB / 382.1 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.516, allocations: 108.7 kB / 382.2 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.197e-05/0.5161, allocations: 8 kB / 382.2 MB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.5165, allocations: 27.97 kB / 382.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.5167, allocations: 27.95 kB / 382.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.5168, allocations: 27.98 kB / 382.3 MB, free: 9.148 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002286/0.517, allocations: 157.9 kB / 382.5 MB, free: 8.992 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.517, allocations: 4 kB / 382.5 MB, free: 8.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007838/0.5178, allocations: 87.98 kB / 382.6 MB, free: 8.902 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: 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.001904/0.5197, allocations: 1.292 MB / 383.8 MB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009564/0.5207, allocations: 466.3 kB / 384.3 MB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.5207, allocations: 8.25 kB / 384.3 MB, free: 7.074 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.5213, allocations: 290.7 kB / 384.6 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.5219, allocations: 40.58 kB / 384.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.5242, allocations: 0.5258 MB / 385.2 MB, free: 6.156 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001216/0.5255, allocations: 0.8033 MB / 386 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003624/0.5259, allocations: 55.25 kB / 386 MB, free: 5.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.5262, allocations: 119.4 kB / 386.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5262, allocations: 0 / 386.1 MB, free: 5.152 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04712/0.5733, allocations: 6.168 MB / 392.3 MB, free: 15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/0.5737, allocations: 126.2 kB / 392.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/3.533, allocations: 0 / 392.4 MB, free: 14.8 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat