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.034/2.034, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.256e-05, allocations: 4 kB / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 44.51 MB / 300 MB, free: 6.074 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4877/0.5992, allocations: 75.08 MB / 375 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5996, allocations: 65.86 kB / 375.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02121/0.6208, allocations: 4.923 MB / 380 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.6208, allocations: 2.531 kB / 380 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.236e-05/0.6209, allocations: 11.91 kB / 380 MB, free: 12.27 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.001137/0.622, allocations: 0.6528 MB / 380.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.6221, allocations: 10.62 kB / 380.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.6222, allocations: 70.69 kB / 380.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.6223, allocations: 43.44 kB / 380.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.6228, allocations: 298.3 kB / 381.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.6229, allocations: 55.67 kB / 381.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.788e-05/0.623, allocations: 41.28 kB / 381.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008825/0.6239, allocations: 392.3 kB / 381.6 MB, free: 11.3 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.624, allocations: 9.219 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.624, allocations: 21.92 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.469e-05/0.6241, allocations: 12.28 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006232/0.6247, allocations: 241.7 kB / 381.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002306/0.627, allocations: 1.57 MB / 383.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007053/0.6278, allocations: 272 kB / 383.7 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.6281, allocations: 125.5 kB / 383.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.373e-05/0.6282, allocations: 21.73 kB / 383.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/0.6287, allocations: 344.3 kB / 384.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.788e-06/0.6287, allocations: 0 / 384.2 MB, free: 9.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009779/0.6297, allocations: 401.5 kB / 384.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.6298, allocations: 202.4 kB / 384.8 MB, free: 9.535 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003631/0.6302, allocations: 261.8 kB / 385 MB, free: 9.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.6303, allocations: 41.98 kB / 385.1 MB, free: 9.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.6304, allocations: 184.5 kB / 385.2 MB, free: 9.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.6305, allocations: 76.8 kB / 385.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.6305, allocations: 8.812 kB / 385.3 MB, free: 9.246 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.107e-05/0.6306, allocations: 342.3 kB / 385.7 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.631, allocations: 111 kB / 385.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.6313, allocations: 236.6 kB / 386 MB, free: 8.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.6317, allocations: 220.3 kB / 386.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.6317, allocations: 1.375 kB / 386.2 MB, free: 8.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00103/0.6328, allocations: 0.5063 MB / 386.7 MB, free: 8.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.6329, allocations: 96.94 kB / 386.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.6329, allocations: 7.922 kB / 386.8 MB, free: 8.402 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/0.6329, allocations: 14.44 kB / 386.8 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.6331, allocations: 29.34 kB / 386.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.6332, allocations: 13.55 kB / 386.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.6335, allocations: 29.77 kB / 386.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.438e-05/0.6336, allocations: 28 kB / 386.9 MB, free: 8.387 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.0002388/0.6339, allocations: 221.3 kB / 387.2 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.634, allocations: 40.2 kB / 387.2 MB, free: 8.184 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006786/0.6347, allocations: 234.2 kB / 387.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.6347, allocations: 7.828 kB / 387.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.6347, allocations: 1.25 kB / 387.4 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.6347, allocations: 7.672 kB / 387.4 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.6367, allocations: 0.985 MB / 388.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6367, allocations: 1.344 kB / 388.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.607e-05/0.6368, allocations: 20.84 kB / 388.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.6368, allocations: 2.562 kB / 388.4 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.576e-05/0.6369, allocations: 12.62 kB / 388.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.6369, allocations: 6.594 kB / 388.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6369, allocations: 0 / 388.5 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.638, allocations: 0.6272 MB / 389.1 MB, free: 7.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.6381, allocations: 104.4 kB / 389.2 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.6382, allocations: 16.81 kB / 389.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.6387, allocations: 27.28 kB / 389.2 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.6388, allocations: 37.27 kB / 389.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.889e-05/0.6389, allocations: 17.77 kB / 389.3 MB, free: 7.219 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002365/0.6392, allocations: 177.4 kB / 389.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6392, allocations: 0 / 389.5 MB, free: 7.133 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007519/0.6399, allocations: 108.5 kB / 389.6 MB, free: 7.121 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.001376/0.6413, allocations: 1.372 MB / 390.9 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/0.6425, allocations: 494.7 kB / 391.4 MB, free: 21.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6425, allocations: 0 / 391.4 MB, free: 21.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004755/0.643, allocations: 312.7 kB / 391.7 MB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.6436, allocations: 54.44 kB / 391.8 MB, free: 21.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.6454, allocations: 0.5579 MB / 392.3 MB, free: 21.53 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004724/0.6459, allocations: 0.8009 MB / 393.1 MB, free: 20.83 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002496/0.6462, allocations: 58.44 kB / 393.2 MB, free: 20.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.6464, allocations: 122.8 kB / 393.3 MB, free: 20.81 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6464, allocations: 0 / 393.3 MB, free: 20.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03685/0.6833, allocations: 6.592 MB / 399.9 MB, free: 20.19 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.6836, allocations: 146.2 kB / 400.1 MB, free: 19.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.792/3.475, allocations: 0 / 400.1 MB, free: 19.96 MB / 330.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