Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.213/2.213, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.044e-05, allocations: 4 kB / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1626, allocations: 50.42 MB / 343.2 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4648/0.6275, allocations: 84.13 MB / 427.3 MB, free: 9.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.6278, allocations: 77.52 kB / 427.4 MB, free: 9.734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05576/0.6836, allocations: 9.19 MB / 436.5 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6836, allocations: 4 kB / 436.6 MB, free: 1.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.667e-05/0.6837, allocations: 8 kB / 436.6 MB, free: 1.914 MB / 346.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.001532/0.6852, allocations: 0.7295 MB / 437.3 MB, free: 1.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.6853, allocations: 8.031 kB / 437.3 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001139/0.6854, allocations: 80.05 kB / 437.4 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.6856, allocations: 59.34 kB / 437.4 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008645/0.6865, allocations: 386.2 kB / 437.8 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.6866, allocations: 53.48 kB / 437.9 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.59e-05/0.6867, allocations: 41 kB / 437.9 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009025/0.6876, allocations: 402.7 kB / 438.3 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/0.6876, allocations: 0 / 438.3 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.383e-05/0.6877, allocations: 28.39 kB / 438.3 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.6877, allocations: 12.44 kB / 438.3 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006791/0.6884, allocations: 232.9 kB / 438.6 MB, free: 48 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/0.6914, allocations: 1.678 MB / 440.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000753/0.6922, allocations: 282.9 kB / 440.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003198/0.6925, allocations: 124.6 kB / 440.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.925e-05/0.6926, allocations: 4.234 kB / 440.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006035/0.6932, allocations: 321 kB / 441 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.577e-06/0.6932, allocations: 0 / 441 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001061/0.6943, allocations: 360.2 kB / 441.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.6944, allocations: 173.5 kB / 441.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.6953, allocations: 438.6 kB / 441.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.6954, allocations: 35.14 kB / 441.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.6956, allocations: 235.4 kB / 442.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.6957, allocations: 86.56 kB / 442.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.6958, allocations: 10 kB / 442.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.696, allocations: 364.4 kB / 442.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/0.6963, allocations: 103.5 kB / 442.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004506/0.6968, allocations: 259.5 kB / 443 MB, free: 12.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000369/0.6972, allocations: 157.8 kB / 443.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.6972, allocations: 0 / 443.1 MB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00109/0.6983, allocations: 455.7 kB / 443.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.822e-05/0.6984, allocations: 37.69 kB / 443.6 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.6984, allocations: 4.469 kB / 443.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/0.6984, allocations: 12 kB / 443.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.6987, allocations: 43.17 kB / 443.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.6987, allocations: 7.984 kB / 443.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.6992, allocations: 35.48 kB / 443.7 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.6992, allocations: 23.69 kB / 443.7 MB, free: 11.4 MB / 362.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.0002574/0.6995, allocations: 203.3 kB / 443.9 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6996, allocations: 47.42 kB / 444 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.7008, allocations: 399.2 kB / 444.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.7008, allocations: 7.984 kB / 444.4 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.7009, allocations: 7.938 kB / 444.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.7009, allocations: 4 kB / 444.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.7026, allocations: 0.7898 MB / 445.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.7026, allocations: 4 kB / 445.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.7027, allocations: 15.75 kB / 445.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.358e-05/0.7027, allocations: 7.984 kB / 445.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.7028, allocations: 7.562 kB / 445.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.7028, allocations: 7.953 kB / 445.2 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7028, allocations: 4.156 kB / 445.2 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.7038, allocations: 0.5161 MB / 445.7 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001591/0.704, allocations: 139 kB / 445.9 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.7041, allocations: 13.98 kB / 445.9 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.7045, allocations: 39.5 kB / 445.9 MB, free: 9.422 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/0.7047, allocations: 42.75 kB / 446 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.393e-05/0.7048, allocations: 14.31 kB / 446 MB, free: 9.375 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005352/0.7053, allocations: 316 kB / 446.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7053, allocations: 0 / 446.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000719/0.7061, allocations: 115 kB / 446.4 MB, free: 9.039 MB / 362.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.00259/0.7087, allocations: 1.542 MB / 447.9 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009118/0.7096, allocations: 379.2 kB / 448.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7096, allocations: 4 kB / 448.3 MB, free: 7.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.7101, allocations: 234.3 kB / 448.6 MB, free: 7.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006908/0.7108, allocations: 67.02 kB / 448.6 MB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.713, allocations: 0.725 MB / 449.3 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.7136, allocations: 0.8441 MB / 450.2 MB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.714, allocations: 91.53 kB / 450.3 MB, free: 5.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.7144, allocations: 164.2 kB / 450.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of SimCode: time 1.433e-06/0.7144, allocations: 0 / 450.4 MB, free: 5.445 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.7524, allocations: 9.207 MB / 459.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003301/0.7528, allocations: 181 kB / 459.8 MB, free: 12.12 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/3.702, allocations: 4 kB / 459.8 MB, free: 12.12 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1_res.mat does not exist to compare? outputFormat=mat