Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.335/2.335, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.47e-05, allocations: 3.781 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/0.6282, allocations: 74.41 MB / 368.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/0.6285, allocations: 65.11 kB / 368.8 MB, free: 7.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.6524, allocations: 4.894 MB / 373.7 MB, free: 22.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6525, allocations: 0 / 373.7 MB, free: 22.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.559e-05/0.6525, allocations: 15.62 kB / 373.7 MB, free: 22.68 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.001219/0.6537, allocations: 0.6508 MB / 374.3 MB, free: 22.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.6538, allocations: 7.75 kB / 374.3 MB, free: 22.15 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.654, allocations: 46.69 kB / 374.4 MB, free: 22.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005361/0.6545, allocations: 290.4 kB / 374.7 MB, free: 21.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-05/0.6546, allocations: 45.25 kB / 374.7 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.6547, allocations: 31.03 kB / 374.7 MB, free: 21.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006292/0.6553, allocations: 202.4 kB / 374.9 MB, free: 21.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.6561, allocations: 346.1 kB / 375.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.6562, allocations: 0 / 375.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-05/0.6563, allocations: 7.203 kB / 375.3 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.6563, allocations: 16 kB / 375.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00252/0.6588, allocations: 1.507 MB / 376.8 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.6595, allocations: 262 kB / 377.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.6598, allocations: 109 kB / 377.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.679e-05/0.6599, allocations: 14.38 kB / 377.2 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005808/0.6605, allocations: 333.5 kB / 377.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.398e-06/0.6605, allocations: 3.938 kB / 377.5 MB, free: 20.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001132/0.6616, allocations: 328 kB / 377.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.6618, allocations: 198.5 kB / 378 MB, free: 20.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00041/0.6622, allocations: 247.9 kB / 378.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001036/0.6624, allocations: 32.78 kB / 378.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.6625, allocations: 186.8 kB / 378.5 MB, free: 19.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.339e-05/0.6626, allocations: 71.94 kB / 378.6 MB, free: 19.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.6627, allocations: 4 kB / 378.6 MB, free: 19.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.6629, allocations: 341.8 kB / 378.9 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.6632, allocations: 101.8 kB / 379 MB, free: 19.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000349/0.6636, allocations: 223.2 kB / 379.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006011/0.6642, allocations: 136.6 kB / 379.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.6642, allocations: 3.844 kB / 379.3 MB, free: 19.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001276/0.6655, allocations: 400.7 kB / 379.7 MB, free: 19.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/0.6656, allocations: 91.34 kB / 379.8 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.6657, allocations: 3.719 kB / 379.8 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.802e-05/0.6657, allocations: 3.844 kB / 379.8 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002001/0.6659, allocations: 35.97 kB / 379.9 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.6659, allocations: 10.39 kB / 379.9 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003976/0.6664, allocations: 26.3 kB / 379.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.261e-05/0.6664, allocations: 33.67 kB / 379.9 MB, free: 19.14 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.0002926/0.6667, allocations: 211.5 kB / 380.1 MB, free: 18.95 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00105/0.6678, allocations: 340.2 kB / 380.5 MB, free: 18.9 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.016e-05/0.6679, allocations: 31.09 kB / 380.5 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008322/0.6687, allocations: 234.5 kB / 380.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.6688, allocations: 7.797 kB / 380.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.6688, allocations: 0 / 380.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6688, allocations: 6.234 kB / 380.7 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.6708, allocations: 0.8493 MB / 381.6 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.6708, allocations: 7.953 kB / 381.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.6709, allocations: 10.94 kB / 381.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.671, allocations: 0 / 381.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.271e-05/0.671, allocations: 19.17 kB / 381.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.671, allocations: 0 / 381.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.671, allocations: 3.656 kB / 381.6 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.6722, allocations: 0.5415 MB / 382.2 MB, free: 18.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.781e-05/0.6723, allocations: 108.5 kB / 382.3 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.6724, allocations: 10.8 kB / 382.3 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004385/0.6729, allocations: 23.45 kB / 382.3 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000163/0.6731, allocations: 38 kB / 382.4 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.979e-05/0.6731, allocations: 19.06 kB / 382.4 MB, free: 17.95 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002247/0.6734, allocations: 159.4 kB / 382.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6734, allocations: 3.938 kB / 382.5 MB, free: 17.85 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008531/0.6742, allocations: 92.66 kB / 382.6 MB, free: 17.84 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.001877/0.6761, allocations: 1.292 MB / 383.9 MB, free: 16.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001/0.6772, allocations: 464.6 kB / 384.4 MB, free: 16.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6772, allocations: 256 / 384.4 MB, free: 16.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.6777, allocations: 297.4 kB / 384.7 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.6784, allocations: 39.3 kB / 384.7 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.6804, allocations: 0.5203 MB / 385.2 MB, free: 16.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.6809, allocations: 0.8086 MB / 386 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.6812, allocations: 58.59 kB / 386.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002512/0.6815, allocations: 118.5 kB / 386.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6815, allocations: 3.844 kB / 386.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06158/0.7431, allocations: 6.163 MB / 392.4 MB, free: 12.45 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002778/0.7435, allocations: 137.8 kB / 392.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.295/4.038, allocations: 0 / 392.5 MB, free: 12.26 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat