Running command: "" <> buildModelFMU(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Logical_Timers_Examples_testT_OffDelay_Fedge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IndustrialControlSystems): time 2.239/2.239, allocations: 216.8 MB / 229 MB, free: 15.11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.563e-05, allocations: 4 kB / 282 MB, free: 10.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 50 MB / 332 MB, free: 8.777 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.5952, allocations: 81.69 MB / 413.7 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5955, allocations: 80.58 kB / 413.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04263/0.6382, allocations: 9.242 MB / 423 MB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6382, allocations: 0 / 423 MB, free: 6.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.309e-05/0.6383, allocations: 12 kB / 423 MB, free: 6.668 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.001092/0.6394, allocations: 0.5747 MB / 423.6 MB, free: 6.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.6394, allocations: 16.03 kB / 423.6 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.841e-05/0.6395, allocations: 38.23 kB / 423.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.6397, allocations: 39.52 kB / 423.7 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000832/0.6405, allocations: 337.3 kB / 424 MB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.101e-05/0.6405, allocations: 12.06 kB / 424 MB, free: 5.609 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.6406, allocations: 11.98 kB / 424 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004121/0.641, allocations: 154.7 kB / 424.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6411, allocations: 4 kB / 424.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.6411, allocations: 7.984 kB / 424.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6411, allocations: 0 / 424.2 MB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002222/0.6413, allocations: 70.78 kB / 424.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.6424, allocations: 0.4968 MB / 424.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.6429, allocations: 145.4 kB / 424.9 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.6431, allocations: 55.94 kB / 425 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.6432, allocations: 4 kB / 425 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003412/0.6435, allocations: 138.3 kB / 425.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 2.595e-06/0.6435, allocations: 0 / 425.1 MB, free: 4.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006739/0.6442, allocations: 230.4 kB / 425.3 MB, free: 4.488 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.6443, allocations: 106.8 kB / 425.4 MB, free: 4.359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007672/0.6451, allocations: 382.6 kB / 425.8 MB, free: 4.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.6451, allocations: 29.64 kB / 425.8 MB, free: 4.027 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.6453, allocations: 166 kB / 426 MB, free: 3.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.342e-05/0.6454, allocations: 47.2 kB / 426 MB, free: 3.871 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.394e-05/0.6454, allocations: 3.688 kB / 426 MB, free: 3.871 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001754/0.6456, allocations: 349.9 kB / 426.4 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.6458, allocations: 39.98 kB / 426.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.646, allocations: 151 kB / 426.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.6462, allocations: 69.92 kB / 426.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6463, allocations: 0 / 426.6 MB, free: 3.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005354/0.6468, allocations: 219.1 kB / 426.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.6468, allocations: 4 kB / 426.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.6469, allocations: 4 kB / 426.9 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.6469, allocations: 4.25 kB / 426.9 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.6472, allocations: 43.67 kB / 426.9 MB, free: 3.062 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.6472, allocations: 7.984 kB / 426.9 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.6474, allocations: 15.75 kB / 426.9 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.765e-05/0.6475, allocations: 8 kB / 426.9 MB, free: 3.035 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.0002237/0.6477, allocations: 135.8 kB / 427.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.6478, allocations: 39.58 kB / 427.1 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.6485, allocations: 244.9 kB / 427.3 MB, free: 2.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.6485, allocations: 11.94 kB / 427.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6485, allocations: 3.938 kB / 427.4 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6486, allocations: 3.984 kB / 427.4 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.6491, allocations: 316.5 kB / 427.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6491, allocations: 0 / 427.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.6492, allocations: 12.12 kB / 427.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6492, allocations: 0 / 427.7 MB, free: 2.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.6492, allocations: 15.44 kB / 427.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.6493, allocations: 3.984 kB / 427.7 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.6493, allocations: 3.953 kB / 427.7 MB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006102/0.6499, allocations: 262.7 kB / 428 MB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.6501, allocations: 126.9 kB / 428.1 MB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.142e-05/0.6502, allocations: 7.188 kB / 428.1 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.6504, allocations: 11.98 kB / 428.1 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.6505, allocations: 19.17 kB / 428.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.6505, allocations: 7.953 kB / 428.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005375/0.6511, allocations: 306.2 kB / 428.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.82e-07/0.6511, allocations: 0 / 428.4 MB, free: 1.691 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005574/0.6516, allocations: 82.36 kB / 428.5 MB, free: 1.617 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.002192/0.6538, allocations: 1.122 MB / 429.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.6544, allocations: 161.1 kB / 429.8 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6544, allocations: 0 / 429.8 MB, free: 480 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.6546, allocations: 79.17 kB / 429.9 MB, free: 424 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006538/0.6553, allocations: 63.42 kB / 429.9 MB, free: 376 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.6569, allocations: 495.6 kB / 430.4 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.6574, allocations: 0.7935 MB / 431.2 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000242/0.6576, allocations: 46.03 kB / 431.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.6578, allocations: 95.83 kB / 431.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6579, allocations: 0 / 431.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.6925, allocations: 7.044 MB / 438.4 MB, free: 8.035 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.6928, allocations: 219.4 kB / 438.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.624/3.317, allocations: 3.906 kB / 438.6 MB, free: 7.812 MB / 362.7 MB