Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_OnDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.236e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.405, allocations: 54.84 MB / 359.9 MB, free: 3.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.5551, allocations: 80.92 MB / 440.8 MB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.5554, allocations: 60.05 kB / 440.9 MB, free: 15.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009058/0.5645, allocations: 1.929 MB / 442.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.5646, allocations: 0 / 442.8 MB, free: 14.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.5646, allocations: 0 / 442.8 MB, free: 14.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007284/0.5653, allocations: 0.5222 MB / 443.3 MB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5654, allocations: 12.03 kB / 443.3 MB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.15e-05/0.5655, allocations: 43.12 kB / 443.4 MB, free: 13.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.5655, allocations: 19.86 kB / 443.4 MB, free: 13.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.5657, allocations: 175.8 kB / 443.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.5658, allocations: 89.05 kB / 443.6 MB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.5659, allocations: 16 kB / 443.7 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.5663, allocations: 134 kB / 443.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.5663, allocations: 0.5625 kB / 443.8 MB, free: 12.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.5663, allocations: 8 kB / 443.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/0.5663, allocations: 7.953 kB / 443.8 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.5666, allocations: 71.91 kB / 443.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009585/0.5676, allocations: 0.5284 MB / 444.4 MB, free: 12.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000306/0.5679, allocations: 139.7 kB / 444.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/0.5681, allocations: 89.11 kB / 444.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.5682, allocations: 12 kB / 444.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005495/0.5687, allocations: 451.5 kB / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.755e-06/0.5687, allocations: 0 / 445.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008962/0.5696, allocations: 389.2 kB / 445.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001658/0.5698, allocations: 251.3 kB / 445.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.57, allocations: 122 kB / 445.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.57, allocations: 33.7 kB / 445.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.275e-05/0.5701, allocations: 100.5 kB / 445.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.459e-05/0.5702, allocations: 39.52 kB / 446 MB, free: 10.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.5702, allocations: 4 kB / 446 MB, free: 10.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.5704, allocations: 330.8 kB / 446.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5706, allocations: 49.33 kB / 446.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.5708, allocations: 115.7 kB / 446.5 MB, free: 9.883 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.5711, allocations: 201.4 kB / 446.7 MB, free: 9.656 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.5711, allocations: 0 / 446.7 MB, free: 9.656 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007233/0.5718, allocations: 389 kB / 447.1 MB, free: 9.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.572, allocations: 152.5 kB / 447.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.572, allocations: 4 kB / 447.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.572, allocations: 4 kB / 447.2 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.5721, allocations: 13.72 kB / 447.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.5722, allocations: 4 kB / 447.2 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.5724, allocations: 28.08 kB / 447.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.5724, allocations: 12 kB / 447.3 MB, free: 9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.onDelay1.u,$PRE.onDelay1.t_next,$PRE.onDelay3.u,$PRE.onDelay3.t_next,$PRE.onDelay2.u,$PRE.onDelay2.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.u,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,$PRE.booleanTable.y,booleanTable.y,$PRE.booleanTable.nextTime,booleanTable.nextTime,$PRE.booleanTable.index,booleanTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 5 * 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.0002691/0.5727, allocations: 266.1 kB / 447.5 MB, free: 8.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.814e-05/0.5728, allocations: 19.86 kB / 447.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.5729, allocations: 16.61 kB / 447.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.5729, allocations: 0 / 447.6 MB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.5729, allocations: 4 kB / 447.6 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5729, allocations: 4 kB / 447.6 MB, free: 8.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.5739, allocations: 0.5564 MB / 448.1 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5739, allocations: 3.984 kB / 448.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.971e-05/0.5739, allocations: 4 kB / 448.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5739, allocations: 0 / 448.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.574, allocations: 13.41 kB / 448.1 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.574, allocations: 7.938 kB / 448.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.574, allocations: 0 / 448.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009349/0.575, allocations: 0.5631 MB / 448.7 MB, free: 7.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.575, allocations: 85.02 kB / 448.8 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.5751, allocations: 11.98 kB / 448.8 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5754, allocations: 24.88 kB / 448.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.5755, allocations: 19.97 kB / 448.9 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.5755, allocations: 8 kB / 448.9 MB, free: 7.227 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.88e-05/0.5756, allocations: 105.9 kB / 449 MB, free: 7.125 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5757, allocations: 0 / 449 MB, free: 7.125 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005022/0.5762, allocations: 64 kB / 449 MB, free: 7.062 MB / 378.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: 22 (onDelay1.u,$whenCondition1,$whenCondition2,$whenCondition3,onDelay1.y,onDelay1.delaySignal,onDelay1.t_next,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition4,$whenCondition5,onDelay3.u,onDelay3.y,onDelay3.delaySignal,onDelay3.t_next,$whenCondition6,$whenCondition7,onDelay2.u,onDelay2.y,onDelay2.delaySignal,onDelay2.t_next) * Number of discrete states: 16 (onDelay2.t_next,onDelay2.delaySignal,$whenCondition7,$whenCondition6,onDelay3.t_next,onDelay3.delaySignal,$whenCondition5,$whenCondition4,booleanTable.y,booleanTable.nextTime,booleanTable.index,$whenCondition3,onDelay1.t_next,onDelay1.delaySignal,$whenCondition2,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.001494/0.5777, allocations: 1.273 MB / 450.3 MB, free: 5.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007637/0.5785, allocations: 489.1 kB / 450.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5785, allocations: 4.125 kB / 450.8 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.579, allocations: 397.6 kB / 451.2 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.5792, allocations: 19.95 kB / 451.2 MB, free: 4.727 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.5803, allocations: 293.3 kB / 451.5 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.5807, allocations: 0.716 MB / 452.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.5807, allocations: 12.42 kB / 452.2 MB, free: 3.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.001e-05/0.5808, allocations: 23.44 kB / 452.2 MB, free: 3.621 MB / 378.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5808, allocations: 0 / 452.2 MB, free: 3.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.6084, allocations: 3.055 MB / 455.3 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/0.6086, allocations: 145.2 kB / 455.4 MB, free: 416 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/2.848, allocations: 3.938 kB / 455.4 MB, free: 412 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.OnDelay_res.mat does not exist to compare? outputFormat=mat