Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Redge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.21/2.21, allocations: 216.8 MB / 229 MB, free: 15.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.716e-05, allocations: 0 / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1427, allocations: 50 MB / 332 MB, free: 8.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4682/0.6109, allocations: 81.69 MB / 413.7 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/0.6114, allocations: 82.83 kB / 413.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05487/0.6663, allocations: 9.288 MB / 423 MB, free: 6.598 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6663, allocations: 4 kB / 423 MB, free: 6.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.792e-05/0.6664, allocations: 4.188 kB / 423.1 MB, free: 6.59 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001456/0.6679, allocations: 0.5842 MB / 423.6 MB, free: 5.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.668, allocations: 8.031 kB / 423.6 MB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.458e-05/0.6681, allocations: 41.56 kB / 423.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.6683, allocations: 43.47 kB / 423.7 MB, free: 5.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.6695, allocations: 334 kB / 424.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.6696, allocations: 15.88 kB / 424.1 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.6697, allocations: 15.5 kB / 424.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.6702, allocations: 144.2 kB / 424.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.6702, allocations: 0 / 424.2 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.6703, allocations: 7.375 kB / 424.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.6703, allocations: 0 / 424.2 MB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003035/0.6706, allocations: 76.28 kB / 424.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.6721, allocations: 0.5146 MB / 424.8 MB, free: 4.848 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006809/0.6728, allocations: 144.3 kB / 425 MB, free: 4.734 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.6731, allocations: 60.19 kB / 425 MB, free: 4.691 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.6732, allocations: 3.984 kB / 425 MB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004737/0.6736, allocations: 134.3 kB / 425.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 4.418e-06/0.6737, allocations: 0 / 425.2 MB, free: 4.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009569/0.6746, allocations: 226.6 kB / 425.4 MB, free: 4.387 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.6748, allocations: 110.1 kB / 425.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.6759, allocations: 397.5 kB / 425.9 MB, free: 3.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.3e-05/0.676, allocations: 35.02 kB / 425.9 MB, free: 3.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000223/0.6762, allocations: 165.4 kB / 426.1 MB, free: 3.801 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6764, allocations: 54.73 kB / 426.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.6764, allocations: 3.625 kB / 426.1 MB, free: 3.754 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.6766, allocations: 345.4 kB / 426.5 MB, free: 3.422 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002081/0.6769, allocations: 46.78 kB / 426.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003434/0.6772, allocations: 150.3 kB / 426.7 MB, free: 3.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.6775, allocations: 65.23 kB / 426.7 MB, free: 3.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6775, allocations: 0 / 426.7 MB, free: 3.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008633/0.6784, allocations: 221 kB / 426.9 MB, free: 2.996 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.6785, allocations: 4 kB / 426.9 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.6785, allocations: 4 kB / 426.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.6785, allocations: 4 kB / 426.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.6789, allocations: 31.48 kB / 427 MB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.002e-05/0.6789, allocations: 7.938 kB / 427 MB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.6793, allocations: 31.83 kB / 427 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.6794, allocations: 8 kB / 427 MB, free: 2.914 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Sd:DISCRETE(fixed = false ) type: Boolean timer.Q:DISCRETE(fixed = false ) "status of the timer" type: Boolean timer.tr:DISCRETE(fixed = false ) "residual time" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.timer.Sd,timer.Sd,$PRE.timer.run,timer.run,$PRE.timer.startTime,timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.tr,timer.tr,$whenCondition3,$PRE.ResetSignal.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.SetSignal.combiTimeTable.nextTimeEvent,$whenCondition1,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,$PRE.ResetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,$PRE.SetSignal.combiTimeTable.nextTimeEventScaled,SetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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.000288/0.6797, allocations: 127.4 kB / 427.2 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6798, allocations: 39.56 kB / 427.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009728/0.6808, allocations: 248.8 kB / 427.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6809, allocations: 7.953 kB / 427.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6809, allocations: 128 / 427.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.6809, allocations: 0 / 427.4 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000682/0.6816, allocations: 330.7 kB / 427.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.6816, allocations: 0 / 427.8 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.6818, allocations: 8 kB / 427.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6818, allocations: 0 / 427.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.6818, allocations: 11.48 kB / 427.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6819, allocations: 3.938 kB / 427.8 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6819, allocations: 3.953 kB / 427.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.6828, allocations: 269.5 kB / 428.1 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.683, allocations: 123.5 kB / 428.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.6831, allocations: 10.56 kB / 428.2 MB, free: 1.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.6834, allocations: 14.67 kB / 428.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.407e-05/0.6835, allocations: 10.36 kB / 428.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.6836, allocations: 18 kB / 428.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007897/0.6844, allocations: 317 kB / 428.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.62e-07/0.6844, allocations: 0 / 428.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008767/0.6853, allocations: 78.11 kB / 428.6 MB, free: 1.496 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.y,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.run,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00314/0.6884, allocations: 1.133 MB / 429.7 MB, free: 472 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006888/0.6892, allocations: 164.6 kB / 429.9 MB, free: 348 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.6892, allocations: 0 / 429.9 MB, free: 348 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002238/0.6894, allocations: 76.12 kB / 430 MB, free: 296 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/0.6902, allocations: 69.27 kB / 430 MB, free: 244 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.6918, allocations: 0.4939 MB / 430.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.6923, allocations: 0.7856 MB / 431.3 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002822/0.6926, allocations: 50.94 kB / 431.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.6928, allocations: 98.47 kB / 431.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6928, allocations: 0 / 431.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03527/0.7281, allocations: 7.175 MB / 438.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004369/0.7286, allocations: 227.5 kB / 438.9 MB, free: 7.535 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.669/3.397, allocations: 0 / 438.9 MB, free: 7.535 MB / 362.7 MB