Running command: "" <> buildModelFMU(ModelicaTest.Blocks.OnDelay,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Blocks_OnDelay",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.238/3.238, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.567e-05/2.58e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4387, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.217/0.6558, allocations: 80.25 MB / 434.7 MB, free: 14.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.6562, allocations: 63.97 kB / 434.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01258/0.6688, allocations: 1.909 MB / 436.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6688, allocations: 0 / 436.6 MB, free: 12.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.6688, allocations: 0 / 436.6 MB, free: 12.84 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.0009272/0.6698, allocations: 0.5261 MB / 437.2 MB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.6699, allocations: 8.031 kB / 437.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.053e-05/0.67, allocations: 38.56 kB / 437.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.6701, allocations: 19.86 kB / 437.2 MB, free: 12.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.6703, allocations: 182.9 kB / 437.4 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.6705, allocations: 89.11 kB / 437.5 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.074e-05/0.6705, allocations: 12 kB / 437.5 MB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003172/0.6709, allocations: 59.97 kB / 437.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.6713, allocations: 128.1 kB / 437.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6713, allocations: 0 / 437.7 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.6714, allocations: 7.953 kB / 437.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.6714, allocations: 4 kB / 437.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.6726, allocations: 497.7 kB / 438.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.673, allocations: 143.7 kB / 438.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.6733, allocations: 78.8 kB / 438.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.6733, allocations: 8 kB / 438.4 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006811/0.674, allocations: 448.4 kB / 438.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 3.326e-06/0.6741, allocations: 0 / 438.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009926/0.6751, allocations: 245.5 kB / 439.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/0.6753, allocations: 251.2 kB / 439.3 MB, free: 9.754 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.6755, allocations: 130.7 kB / 439.5 MB, free: 9.621 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.6756, allocations: 33.7 kB / 439.5 MB, free: 9.582 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/0.6757, allocations: 88.58 kB / 439.6 MB, free: 9.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.653e-05/0.6758, allocations: 47.5 kB / 439.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.95e-05/0.6758, allocations: 0 / 439.6 MB, free: 9.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.676, allocations: 326.8 kB / 439.9 MB, free: 9.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.6762, allocations: 43.98 kB / 440 MB, free: 9.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.6765, allocations: 107.7 kB / 440.1 MB, free: 8.941 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002732/0.6767, allocations: 59.84 kB / 440.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6768, allocations: 3.938 kB / 440.2 MB, free: 8.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000852/0.6776, allocations: 229.3 kB / 440.4 MB, free: 8.648 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000159/0.6778, allocations: 152.5 kB / 440.5 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.6779, allocations: 4 kB / 440.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/0.6779, allocations: 7.953 kB / 440.5 MB, free: 8.457 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.6781, allocations: 15.92 kB / 440.6 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.6781, allocations: 0 / 440.6 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.6784, allocations: 16 kB / 440.6 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.895e-05/0.6784, allocations: 8.188 kB / 440.6 MB, free: 8.418 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.0003325/0.6788, allocations: 274.1 kB / 440.8 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.6789, allocations: 19.81 kB / 440.9 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.679, allocations: 12.62 kB / 440.9 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.679, allocations: 7.953 kB / 440.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.679, allocations: 0 / 440.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.679, allocations: 0 / 440.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001131/0.6802, allocations: 470.9 kB / 441.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.6802, allocations: 0 / 441.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.567e-05/0.6802, allocations: 3.938 kB / 441.3 MB, free: 7.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/0.6803, allocations: 4 kB / 441.4 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.6803, allocations: 15.95 kB / 441.4 MB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.6804, allocations: 4 kB / 441.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6804, allocations: 0 / 441.4 MB, free: 7.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.6815, allocations: 423.5 kB / 441.8 MB, free: 7.105 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.489e-05/0.6816, allocations: 89 kB / 441.9 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.6817, allocations: 16 kB / 441.9 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003456/0.6821, allocations: 19.98 kB / 441.9 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.6822, allocations: 11.98 kB / 441.9 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.6823, allocations: 16 kB / 441.9 MB, free: 6.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.6824, allocations: 99.97 kB / 442 MB, free: 6.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.6825, allocations: 0 / 442 MB, free: 6.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006607/0.6831, allocations: 56 kB / 442.1 MB, free: 6.785 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.00186/0.685, allocations: 1.136 MB / 443.2 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009374/0.686, allocations: 468.9 kB / 443.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.686, allocations: 0 / 443.7 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006572/0.6867, allocations: 397.5 kB / 444.1 MB, free: 4.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000311/0.687, allocations: 9 kB / 444.1 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.6883, allocations: 280.2 kB / 444.4 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.6888, allocations: 0.7119 MB / 445.1 MB, free: 3.594 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.379e-05/0.6889, allocations: 4.438 kB / 445.1 MB, free: 3.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.689, allocations: 27.42 kB / 445.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.403e-06/0.689, allocations: 0 / 445.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06263/0.7516, allocations: 2.809 MB / 447.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000406/0.7521, allocations: 122.6 kB / 448 MB, free: 0.5703 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.162/3.914, allocations: 4 kB / 448 MB, free: 0.5664 MB / 378.7 MB "" Variables in the reference:time,booleanTable.index,booleanTable.nextTime,booleanTable.y,onDelay1.delaySignal,onDelay1.t_next,onDelay1.u,onDelay2.delaySignal,onDelay2.t_next,onDelay2.u,onDelay3.delaySignal,onDelay3.t_next,onDelay3.u Variables in the result:_D_whenCondition1,_D_whenCondition2,_D_whenCondition3,_D_whenCondition4,_D_whenCondition5,_D_whenCondition6,_D_whenCondition7,booleanStep2.startTime,booleanStep2.startValue,booleanStep2.y,booleanStep3.startTime,booleanStep3.startValue,booleanStep3.y,booleanTable.index,booleanTable.n,booleanTable.nextTime,booleanTable.startValue,booleanTable.table[1],booleanTable.table[2],booleanTable.table[3],booleanTable.table[4],booleanTable.table[5],booleanTable.table[6],booleanTable.y,onDelay1.delaySignal,onDelay1.delayTime,onDelay1.t_next,onDelay1.u,onDelay1.y,onDelay2.delaySignal,onDelay2.delayTime,onDelay2.t_next,onDelay2.u,onDelay2.y,onDelay3.delaySignal,onDelay3.delayTime,onDelay3.t_next,onDelay3.u,onDelay3.y,time