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 1.97/1.97, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.209e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09742/0.09749, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4224/0.52, allocations: 75.1 MB / 375.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.5203, allocations: 67.92 kB / 375.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02318/0.5435, allocations: 4.923 MB / 380.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.5436, allocations: 5.312 kB / 380.1 MB, free: 12.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.5436, allocations: 14.97 kB / 380.1 MB, free: 12.26 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.001296/0.5449, allocations: 0.6396 MB / 380.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/0.545, allocations: 9.688 kB / 380.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.5452, allocations: 70.91 kB / 380.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.5453, allocations: 50.75 kB / 380.8 MB, free: 11.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005537/0.5459, allocations: 301.4 kB / 381.1 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.644e-05/0.546, allocations: 55.64 kB / 381.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-05/0.5461, allocations: 37.25 kB / 381.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008705/0.547, allocations: 391.8 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.547, allocations: 3.938 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.278e-05/0.5471, allocations: 24.58 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-05/0.5472, allocations: 11.31 kB / 381.6 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006136/0.5478, allocations: 226.5 kB / 381.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00267/0.5505, allocations: 1.58 MB / 383.4 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.5512, allocations: 259.3 kB / 383.7 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.5516, allocations: 130.3 kB / 383.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.702e-05/0.5517, allocations: 13.38 kB / 383.8 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005735/0.5522, allocations: 343 kB / 384.2 MB, free: 9.887 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.617e-06/0.5523, allocations: 1 kB / 384.2 MB, free: 9.887 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001054/0.5533, allocations: 406 kB / 384.6 MB, free: 9.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/0.5534, allocations: 198.3 kB / 384.8 MB, free: 9.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004079/0.5539, allocations: 261.5 kB / 385 MB, free: 9.434 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.5539, allocations: 42.02 kB / 385.1 MB, free: 9.402 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/0.5541, allocations: 186.3 kB / 385.2 MB, free: 9.289 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.088e-05/0.5542, allocations: 75.78 kB / 385.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/0.5543, allocations: 8.688 kB / 385.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.5544, allocations: 349.4 kB / 385.7 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000302/0.5547, allocations: 110.6 kB / 385.8 MB, free: 8.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003709/0.5551, allocations: 228 kB / 386 MB, free: 8.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.5555, allocations: 225.6 kB / 386.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.5555, allocations: 4.141 kB / 386.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001128/0.5566, allocations: 0.4969 MB / 386.7 MB, free: 8.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.251e-05/0.5567, allocations: 94.14 kB / 386.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.5568, allocations: 6.484 kB / 386.8 MB, free: 8.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.04e-05/0.5568, allocations: 14.52 kB / 386.8 MB, free: 8.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.557, allocations: 33.61 kB / 386.9 MB, free: 8.398 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.5571, allocations: 12.78 kB / 386.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.5575, allocations: 33.41 kB / 386.9 MB, free: 8.395 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.5576, allocations: 25.62 kB / 386.9 MB, free: 8.391 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.0002437/0.5578, allocations: 216.7 kB / 387.1 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.5579, allocations: 36.62 kB / 387.2 MB, free: 8.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.5587, allocations: 238.2 kB / 387.4 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.5587, allocations: 11.95 kB / 387.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.5587, allocations: 1.344 kB / 387.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.5587, allocations: 4.297 kB / 387.4 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.5607, allocations: 0.9844 MB / 388.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.5607, allocations: 3.938 kB / 388.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.5608, allocations: 13.14 kB / 388.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.5609, allocations: 2.562 kB / 388.4 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.5609, allocations: 16.86 kB / 388.5 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.996e-06/0.5609, allocations: 6.516 kB / 388.5 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.5609, allocations: 3.984 kB / 388.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.562, allocations: 0.6237 MB / 389.1 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.5622, allocations: 104.6 kB / 389.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.5623, allocations: 14.12 kB / 389.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.5627, allocations: 30.47 kB / 389.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.5629, allocations: 41.84 kB / 389.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.506e-05/0.5629, allocations: 14.17 kB / 389.3 MB, free: 7.227 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002308/0.5632, allocations: 183 kB / 389.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.5632, allocations: 0 / 389.5 MB, free: 7.137 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008485/0.564, allocations: 100.5 kB / 389.6 MB, free: 7.129 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.001795/0.5659, allocations: 1.376 MB / 390.9 MB, free: 22.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.567, allocations: 483.3 kB / 391.4 MB, free: 21.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.567, allocations: 4.812 kB / 391.4 MB, free: 21.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005116/0.5675, allocations: 307.8 kB / 391.7 MB, free: 21.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.5682, allocations: 41.86 kB / 391.8 MB, free: 21.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/0.5702, allocations: 0.5466 MB / 392.3 MB, free: 21.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.5707, allocations: 0.8104 MB / 393.1 MB, free: 20.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003006/0.571, allocations: 63.34 kB / 393.2 MB, free: 20.84 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.5713, allocations: 122.6 kB / 393.3 MB, free: 20.83 MB / 330.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5713, allocations: 0 / 393.3 MB, free: 20.83 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.6016, allocations: 6.601 MB / 399.9 MB, free: 20.19 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002303/0.6019, allocations: 137 kB / 400 MB, free: 19.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/3.58, allocations: 0 / 400 MB, free: 19.97 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