Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_1_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.65e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2848, allocations: 38.77 MB / 263.9 MB, free: 9.699 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1428/0.4276, allocations: 69.78 MB / 333.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/0.428, allocations: 63.97 kB / 333.7 MB, free: 3.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02305/0.451, allocations: 4.931 MB / 338.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4511, allocations: 0 / 338.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-05/0.4511, allocations: 15.98 kB / 338.7 MB, free: 14.78 MB / 298.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.001289/0.4524, allocations: 0.6424 MB / 339.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/0.4525, allocations: 8.031 kB / 339.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001243/0.4527, allocations: 78.47 kB / 339.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.4528, allocations: 47.44 kB / 339.4 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005645/0.4534, allocations: 293.5 kB / 339.7 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.623e-05/0.4535, allocations: 54.48 kB / 339.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.853e-05/0.4536, allocations: 47.94 kB / 339.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009176/0.4545, allocations: 395.5 kB / 340.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.4545, allocations: 0 / 340.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.4546, allocations: 16 kB / 340.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.4547, allocations: 8.438 kB / 340.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006502/0.4553, allocations: 228.7 kB / 340.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002796/0.4581, allocations: 1.581 MB / 342 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.4589, allocations: 256 kB / 342.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.4592, allocations: 130.6 kB / 342.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.526e-05/0.4593, allocations: 7.984 kB / 342.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006286/0.46, allocations: 349.4 kB / 342.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.387e-06/0.46, allocations: 3.938 kB / 342.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001042/0.461, allocations: 407.4 kB / 343.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.4612, allocations: 195.9 kB / 343.4 MB, free: 9.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.4616, allocations: 262.8 kB / 343.6 MB, free: 9.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.4617, allocations: 37.7 kB / 343.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.4619, allocations: 196 kB / 343.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.966e-05/0.462, allocations: 79.05 kB / 343.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.462, allocations: 12 kB / 343.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4622, allocations: 346.8 kB / 344.3 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003208/0.4626, allocations: 109.1 kB / 344.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.463, allocations: 235 kB / 344.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.4635, allocations: 213 kB / 344.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.4635, allocations: 0 / 344.8 MB, free: 8.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001172/0.4647, allocations: 0.4941 MB / 345.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.604e-05/0.4648, allocations: 93.09 kB / 345.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.4648, allocations: 4 kB / 345.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.833e-05/0.4648, allocations: 8 kB / 345.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.465, allocations: 35.84 kB / 345.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.897e-05/0.4651, allocations: 8 kB / 345.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000369/0.4654, allocations: 40.3 kB / 345.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.4655, allocations: 20.12 kB / 345.5 MB, free: 7.402 MB / 298.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.000296/0.4658, allocations: 228.1 kB / 345.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.125e-05/0.4659, allocations: 39.56 kB / 345.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007229/0.4667, allocations: 235.6 kB / 346 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4667, allocations: 4 kB / 346 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4667, allocations: 0 / 346 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/0.4667, allocations: 7.984 kB / 346 MB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.4688, allocations: 0.9822 MB / 347 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.4688, allocations: 0 / 347 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.4689, allocations: 15.92 kB / 347 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.757e-06/0.4689, allocations: 0 / 347 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.737e-05/0.469, allocations: 15.98 kB / 347 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.469, allocations: 7.953 kB / 347 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.469, allocations: 0 / 347 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.4702, allocations: 0.6304 MB / 347.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.4703, allocations: 108.6 kB / 347.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.525e-05/0.4704, allocations: 20 kB / 347.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004148/0.4708, allocations: 31.97 kB / 347.8 MB, free: 4.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.471, allocations: 39.94 kB / 347.9 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.4711, allocations: 16 kB / 347.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002568/0.4713, allocations: 175.1 kB / 348 MB, free: 4.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4713, allocations: 0 / 348 MB, free: 4.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007118/0.4721, allocations: 104 kB / 348.1 MB, free: 4.602 MB / 298.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.001744/0.4738, allocations: 1.374 MB / 349.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.4749, allocations: 491.3 kB / 350 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4749, allocations: 4.062 kB / 350 MB, free: 2.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005204/0.4754, allocations: 295.1 kB / 350.3 MB, free: 2.348 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005874/0.4761, allocations: 45.41 kB / 350.3 MB, free: 2.305 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.4779, allocations: 0.569 MB / 350.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.4785, allocations: 0.8035 MB / 351.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000267/0.4788, allocations: 58.94 kB / 351.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.4791, allocations: 119.4 kB / 351.9 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4791, allocations: 0 / 351.9 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03709/0.5162, allocations: 6.597 MB / 358.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.5165, allocations: 148.5 kB / 358.6 MB, free: 9.91 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.832/3.348, allocations: 4 kB / 358.6 MB, free: 9.906 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat