Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.448/2.448, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.303e-05, allocations: 4 kB / 269.4 MB, free: 6.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 47.57 MB / 317 MB, free: 6.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4427/0.5485, allocations: 82.55 MB / 399.6 MB, free: 5.23 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.5488, allocations: 73.09 kB / 399.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04077/0.5896, allocations: 9.03 MB / 408.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5896, allocations: 0 / 408.7 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.382e-05/0.5897, allocations: 12 kB / 408.7 MB, free: 13.5 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.00158/0.5913, allocations: 0.7383 MB / 409.4 MB, free: 12.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.5914, allocations: 8.031 kB / 409.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001538/0.5915, allocations: 72.09 kB / 409.5 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001836/0.5917, allocations: 59.34 kB / 409.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009278/0.5927, allocations: 380.9 kB / 409.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.664e-05/0.5928, allocations: 61.25 kB / 410 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.601e-05/0.5929, allocations: 41.62 kB / 410 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000922/0.5938, allocations: 412.7 kB / 410.4 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5939, allocations: 4 kB / 410.4 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.5939, allocations: 18.38 kB / 410.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.803e-05/0.594, allocations: 12.44 kB / 410.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006696/0.5947, allocations: 240.7 kB / 410.7 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.5978, allocations: 1.677 MB / 412.4 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007577/0.5986, allocations: 277.4 kB / 412.6 MB, free: 9.828 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.5989, allocations: 114.6 kB / 412.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.112e-05/0.599, allocations: 10.98 kB / 412.8 MB, free: 9.734 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006173/0.5996, allocations: 320.9 kB / 413.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 7.303e-06/0.5997, allocations: 0 / 413.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.001039/0.6007, allocations: 368.4 kB / 413.4 MB, free: 9.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.6008, allocations: 173.7 kB / 413.6 MB, free: 8.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.6017, allocations: 434.6 kB / 414 MB, free: 8.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.43e-05/0.6018, allocations: 47.06 kB / 414.1 MB, free: 8.543 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.602, allocations: 221.5 kB / 414.3 MB, free: 8.387 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.6022, allocations: 83.75 kB / 414.4 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.6022, allocations: 10.56 kB / 414.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.6024, allocations: 361 kB / 414.7 MB, free: 7.973 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.6027, allocations: 108.5 kB / 414.8 MB, free: 7.898 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.6032, allocations: 258.7 kB / 415.1 MB, free: 7.637 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003897/0.6036, allocations: 162.1 kB / 415.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.6037, allocations: 0 / 415.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001103/0.6048, allocations: 442.8 kB / 415.7 MB, free: 7.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.59e-05/0.6048, allocations: 41.69 kB / 415.7 MB, free: 7.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.6049, allocations: 4 kB / 415.7 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/0.6049, allocations: 11.95 kB / 415.7 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.6052, allocations: 43.23 kB / 415.8 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.277e-05/0.6052, allocations: 11.92 kB / 415.8 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.6057, allocations: 49.2 kB / 415.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.099e-05/0.6058, allocations: 26.86 kB / 415.9 MB, free: 6.969 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition5,$whenCondition4,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.Q,rSFlipFlop.QI,$PRE.rSFlipFlop.pre.u,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,triggeredAdd.local_set,triggeredAdd.local_reset,$whenCondition6,and1.u[1],and1.u[2],$PRE.booleanPulse1.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse2.pulseStart,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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0002727/0.606, allocations: 190.9 kB / 416 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.6062, allocations: 39.53 kB / 416.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.6074, allocations: 408.2 kB / 416.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.6075, allocations: 15.89 kB / 416.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.968e-06/0.6075, allocations: 4 kB / 416.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.6075, allocations: 3.984 kB / 416.5 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/0.6094, allocations: 0.7878 MB / 417.3 MB, free: 5.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.6094, allocations: 4 kB / 417.3 MB, free: 5.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.6096, allocations: 15.92 kB / 417.3 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/0.6096, allocations: 8 kB / 417.3 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.6097, allocations: 11.73 kB / 417.3 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.6097, allocations: 7.938 kB / 417.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.6097, allocations: 0 / 417.3 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.6108, allocations: 0.5175 MB / 417.9 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.611, allocations: 128.4 kB / 418 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6111, allocations: 11.81 kB / 418 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.6116, allocations: 31.78 kB / 418 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.6117, allocations: 35.52 kB / 418.1 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.048e-05/0.6118, allocations: 19.48 kB / 418.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006014/0.6124, allocations: 312.9 kB / 418.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6124, allocations: 7.938 kB / 418.4 MB, free: 4.727 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008367/0.6133, allocations: 111.6 kB / 418.5 MB, free: 4.633 MB / 330.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: 37 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,rSFlipFlop.S,rSFlipFlop.R,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,nor1.y,or2.u[1],changing.y,$cse1,$cse2,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,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: 12 (rising.u,falling.not_u,set1.y,changing.u,triggeredAdd.y,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.002814/0.6161, allocations: 1.54 MB / 420 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.6173, allocations: 396.2 kB / 420.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6173, allocations: 0 / 420.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.6178, allocations: 233.2 kB / 420.7 MB, free: 2.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/0.6187, allocations: 84.41 kB / 420.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.6212, allocations: 0.7199 MB / 421.5 MB, free: 1.98 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.6218, allocations: 0.8546 MB / 422.3 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004187/0.6222, allocations: 71.27 kB / 422.4 MB, free: 1.031 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.6226, allocations: 163.8 kB / 422.5 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of SimCode: time 1.673e-06/0.6226, allocations: 4 kB / 422.6 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05112/0.6737, allocations: 9.221 MB / 431.8 MB, free: 7.777 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/0.6742, allocations: 185.2 kB / 432 MB, free: 7.551 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/3.645, allocations: 0 / 432 MB, free: 7.551 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat