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.786/1.786, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.702e-05, allocations: 4 kB / 225.1 MB, free: 2.27 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3, allocations: 38.77 MB / 263.8 MB, free: 9.734 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.4297, allocations: 69.78 MB / 333.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002892/0.43, allocations: 67.97 kB / 333.7 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.4536, allocations: 4.931 MB / 338.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4536, allocations: 0 / 338.6 MB, free: 14.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.647e-05/0.4537, allocations: 15.98 kB / 338.6 MB, free: 14.82 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.00135/0.4551, allocations: 0.6454 MB / 339.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.4551, allocations: 11.97 kB / 339.3 MB, free: 14.1 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.4553, allocations: 78.52 kB / 339.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.4554, allocations: 43.44 kB / 339.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005862/0.456, allocations: 289.6 kB / 339.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.4562, allocations: 58.48 kB / 339.7 MB, free: 13.58 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.4563, allocations: 43.95 kB / 339.8 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.4573, allocations: 401 kB / 340.2 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.4573, allocations: 4 kB / 340.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/0.4574, allocations: 12 kB / 340.2 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-05/0.4574, allocations: 12.44 kB / 340.2 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007404/0.4582, allocations: 233.6 kB / 340.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.4612, allocations: 1.585 MB / 342 MB, free: 11.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000804/0.462, allocations: 259.9 kB / 342.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.4624, allocations: 126.6 kB / 342.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.531e-05/0.4625, allocations: 11.98 kB / 342.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006449/0.4632, allocations: 349.4 kB / 342.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.236e-06/0.4632, allocations: 4 kB / 342.8 MB, free: 10.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001093/0.4643, allocations: 403.4 kB / 343.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.4645, allocations: 207.9 kB / 343.4 MB, free: 9.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.4649, allocations: 254.9 kB / 343.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.517e-05/0.465, allocations: 37.7 kB / 343.6 MB, free: 9.402 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.4652, allocations: 196.6 kB / 343.8 MB, free: 9.207 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4654, allocations: 75.11 kB / 343.9 MB, free: 9.133 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.354e-05/0.4654, allocations: 12 kB / 343.9 MB, free: 9.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4656, allocations: 350.8 kB / 344.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003542/0.466, allocations: 105.1 kB / 344.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.4665, allocations: 234.1 kB / 344.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004412/0.4669, allocations: 217 kB / 344.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4669, allocations: 0 / 344.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001245/0.4682, allocations: 0.5061 MB / 345.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.998e-05/0.4683, allocations: 97.16 kB / 345.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.4684, allocations: 4 kB / 345.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/0.4684, allocations: 8 kB / 345.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.4686, allocations: 35.86 kB / 345.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.702e-05/0.4686, allocations: 4 kB / 345.5 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003926/0.469, allocations: 35.89 kB / 345.5 MB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.218e-05/0.4691, allocations: 23.98 kB / 345.5 MB, free: 7.406 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.0003114/0.4695, allocations: 232.1 kB / 345.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/0.4696, allocations: 35.62 kB / 345.8 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007643/0.4703, allocations: 231.6 kB / 346 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.4704, allocations: 4 kB / 346 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4704, allocations: 8 kB / 346 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.4704, allocations: 0 / 346 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002098/0.4725, allocations: 0.9861 MB / 347 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.4726, allocations: 0 / 347 MB, free: 5.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.55e-05/0.4727, allocations: 12 kB / 347 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/0.4727, allocations: 4 kB / 347 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/0.4728, allocations: 23.98 kB / 347 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/0.4728, allocations: 3.953 kB / 347 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4728, allocations: 3.938 kB / 347 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.474, allocations: 0.6335 MB / 347.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.4742, allocations: 104.9 kB / 347.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.4e-05/0.4743, allocations: 19.98 kB / 347.8 MB, free: 4.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.4747, allocations: 27.97 kB / 347.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.4749, allocations: 35.94 kB / 347.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.475, allocations: 19.98 kB / 347.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002765/0.4752, allocations: 175.1 kB / 348.1 MB, free: 4.707 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4753, allocations: 4 kB / 348.1 MB, free: 4.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007327/0.476, allocations: 104 kB / 348.2 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.001896/0.4779, allocations: 1.374 MB / 349.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.4791, allocations: 498.4 kB / 350 MB, free: 2.656 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4792, allocations: 4.812 kB / 350 MB, free: 2.652 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005963/0.4798, allocations: 307 kB / 350.3 MB, free: 2.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005817/0.4804, allocations: 44.55 kB / 350.4 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.4824, allocations: 0.5573 MB / 350.9 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.483, allocations: 0.8074 MB / 351.7 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003094/0.4833, allocations: 63.19 kB / 351.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002649/0.4836, allocations: 119.4 kB / 351.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of SimCode: time 4.799e-06/0.4836, allocations: 0 / 351.9 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.5209, allocations: 6.602 MB / 358.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003739/0.5214, allocations: 145.8 kB / 358.7 MB, free: 9.895 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.107, allocations: 4 kB / 358.7 MB, free: 9.891 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