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.847/1.847, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.56e-05, allocations: 4 kB / 219.6 MB, free: 6.957 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2653, allocations: 38.76 MB / 258.3 MB, free: 12.29 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1289/0.3943, allocations: 69.12 MB / 327.5 MB, free: 8.75 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.3946, allocations: 63.97 kB / 327.5 MB, free: 8.688 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02277/0.4174, allocations: 4.895 MB / 332.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4174, allocations: 0 / 332.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.584e-05/0.4175, allocations: 12 kB / 332.4 MB, free: 3.758 MB / 282.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.001282/0.4188, allocations: 0.6494 MB / 333.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.4188, allocations: 8.031 kB / 333.1 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.419, allocations: 47.44 kB / 333.1 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.4196, allocations: 289.6 kB / 333.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.48e-05/0.4197, allocations: 46.48 kB / 333.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.348e-05/0.4198, allocations: 27.98 kB / 333.5 MB, free: 2.586 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006372/0.4205, allocations: 205.5 kB / 333.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007916/0.4213, allocations: 359.4 kB / 334 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.4213, allocations: 0 / 334 MB, free: 1.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.28e-05/0.4214, allocations: 4 kB / 334 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/0.4214, allocations: 12.44 kB / 334 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004052/0.4255, allocations: 1.51 MB / 335.6 MB, free: 404 kB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.4266, allocations: 240 kB / 335.8 MB, free: 136 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.4272, allocations: 122.5 kB / 335.9 MB, free: 4 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.4274, allocations: 12.23 kB / 335.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000896/0.4283, allocations: 337.3 kB / 336.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 7.144e-06/0.4284, allocations: 3.984 kB / 336.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001834/0.4302, allocations: 328.4 kB / 336.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002074/0.4305, allocations: 195.9 kB / 336.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006543/0.4312, allocations: 246 kB / 337 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000187/0.4314, allocations: 33.7 kB / 337 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.4318, allocations: 188.6 kB / 337.2 MB, free: 14.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.432, allocations: 71.06 kB / 337.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/0.4321, allocations: 4 kB / 337.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002151/0.4323, allocations: 350.8 kB / 337.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.4327, allocations: 97.11 kB / 337.7 MB, free: 14.05 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000587/0.4333, allocations: 219 kB / 338 MB, free: 13.79 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009863/0.4343, allocations: 131.9 kB / 338.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4343, allocations: 4 kB / 338.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001875/0.4362, allocations: 401.2 kB / 338.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.4364, allocations: 97.09 kB / 338.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.4364, allocations: 4 kB / 338.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.4365, allocations: 4 kB / 338.6 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.4367, allocations: 31.92 kB / 338.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.4367, allocations: 11.94 kB / 338.6 MB, free: 13.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.4371, allocations: 23.89 kB / 338.6 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.182e-05/0.4372, allocations: 28.08 kB / 338.7 MB, free: 13.04 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.0002734/0.4374, allocations: 214.8 kB / 338.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001094/0.4386, allocations: 349.2 kB / 339.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.426e-05/0.4387, allocations: 31.66 kB / 339.3 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008651/0.4395, allocations: 231.5 kB / 339.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.4396, allocations: 4 kB / 339.5 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.4396, allocations: 8.062 kB / 339.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.4396, allocations: 3.984 kB / 339.5 MB, free: 12.19 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.4416, allocations: 0.8416 MB / 340.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4416, allocations: 0 / 340.3 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.867e-05/0.4417, allocations: 19.92 kB / 340.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.4417, allocations: 0 / 340.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.4418, allocations: 11.98 kB / 340.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4418, allocations: 0 / 340.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.4418, allocations: 4.031 kB / 340.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.4429, allocations: 0.5567 MB / 340.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.443, allocations: 108.7 kB / 341 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.4431, allocations: 4 kB / 341 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.4436, allocations: 31.97 kB / 341.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.4437, allocations: 27.95 kB / 341.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.315e-05/0.4438, allocations: 23.98 kB / 341.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.4441, allocations: 162 kB / 341.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4441, allocations: 0 / 341.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007451/0.4448, allocations: 95.91 kB / 341.4 MB, free: 10.22 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.001807/0.4466, allocations: 1.291 MB / 342.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009865/0.4477, allocations: 466.8 kB / 343.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4477, allocations: 0 / 343.1 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.4482, allocations: 298.7 kB / 343.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.4488, allocations: 40.47 kB / 343.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00186/0.4507, allocations: 0.5219 MB / 344 MB, free: 7.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.4513, allocations: 0.7994 MB / 344.8 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.4516, allocations: 59.5 kB / 344.8 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.4519, allocations: 123.4 kB / 344.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4519, allocations: 0 / 344.9 MB, free: 6.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04926/0.5012, allocations: 6.161 MB / 351.1 MB, free: 340 kB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/0.5016, allocations: 129.2 kB / 351.2 MB, free: 140 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.617/3.118, allocations: 0 / 351.2 MB, free: 140 kB / 298.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