Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Fedge") Notification: Performance of loadModel(IndustrialControlSystems): time 2.262/2.262, allocations: 216.8 MB / 229 MB, free: 15.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.407e-05, allocations: 8 kB / 281.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09412/0.09418, allocations: 50 MB / 331.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4778/0.5721, allocations: 81.68 MB / 413.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004163/0.5726, allocations: 81.14 kB / 413.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04595/0.6185, allocations: 9.241 MB / 422.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.773e-06/0.6186, allocations: 0 / 422.9 MB, free: 7.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.21e-05/0.6186, allocations: 4 kB / 422.9 MB, free: 7 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.0009897/0.6196, allocations: 0.5846 MB / 423.5 MB, free: 6.371 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.6197, allocations: 8.031 kB / 423.5 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.6199, allocations: 35.58 kB / 423.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00075/0.6206, allocations: 334.8 kB / 423.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.6207, allocations: 7.375 kB / 423.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.6207, allocations: 11.25 kB / 423.9 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.6211, allocations: 163.1 kB / 424 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.6211, allocations: 3.938 kB / 424 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.6211, allocations: 0 / 424 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.314e-06/0.6212, allocations: 4 kB / 424 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.6214, allocations: 74.77 kB / 424.1 MB, free: 5.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009632/0.6224, allocations: 0.4982 MB / 424.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.6228, allocations: 142.9 kB / 424.7 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.623, allocations: 61.42 kB / 424.8 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.623, allocations: 11.94 kB / 424.8 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.6233, allocations: 131.3 kB / 424.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 3.45e-06/0.6233, allocations: 0 / 424.9 MB, free: 5.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005941/0.624, allocations: 232.9 kB / 425.2 MB, free: 4.855 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.6241, allocations: 110.8 kB / 425.3 MB, free: 4.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/0.6247, allocations: 377.6 kB / 425.7 MB, free: 4.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.6248, allocations: 33.14 kB / 425.7 MB, free: 4.391 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.6249, allocations: 167.3 kB / 425.8 MB, free: 4.273 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.877e-05/0.625, allocations: 46.45 kB / 425.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.6251, allocations: 3.188 kB / 425.9 MB, free: 4.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.6253, allocations: 342.2 kB / 426.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.6254, allocations: 50.22 kB / 426.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.6256, allocations: 142.8 kB / 426.4 MB, free: 3.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.6258, allocations: 60.2 kB / 426.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.803e-06/0.6258, allocations: 0 / 426.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005169/0.6264, allocations: 219.4 kB / 426.7 MB, free: 3.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.6264, allocations: 12.2 kB / 426.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.6264, allocations: 4 kB / 426.7 MB, free: 3.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.6265, allocations: 4 kB / 426.7 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.6267, allocations: 31.11 kB / 426.7 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6267, allocations: 4 kB / 426.7 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.6269, allocations: 27.14 kB / 426.8 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.6269, allocations: 8 kB / 426.8 MB, free: 3.41 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.0001996/0.6271, allocations: 141.7 kB / 426.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.6272, allocations: 35.61 kB / 427 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.6279, allocations: 246.3 kB / 427.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.646e-06/0.6279, allocations: 0 / 427.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.6279, allocations: 7.953 kB / 427.2 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.861e-06/0.6279, allocations: 3.938 kB / 427.2 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.6284, allocations: 318.8 kB / 427.5 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.168e-06/0.6284, allocations: 4 kB / 427.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.037e-05/0.6285, allocations: 11.98 kB / 427.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.6285, allocations: 4 kB / 427.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.6285, allocations: 3.625 kB / 427.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.969e-06/0.6285, allocations: 4 kB / 427.5 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.587e-06/0.6285, allocations: 3.953 kB / 427.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.6291, allocations: 266.8 kB / 427.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.6293, allocations: 120 kB / 427.9 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.147e-05/0.6293, allocations: 15.67 kB / 427.9 MB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.6295, allocations: 11.62 kB / 428 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.6296, allocations: 11.97 kB / 428 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.6296, allocations: 11.62 kB / 428 MB, free: 2.309 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004785/0.6301, allocations: 307.3 kB / 428.3 MB, free: 2.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.6301, allocations: 0 / 428.3 MB, free: 2.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.6307, allocations: 75.38 kB / 428.3 MB, free: 2.004 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.001541/0.6322, allocations: 440.3 kB / 428.8 MB, free: 1.629 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004592/0.6327, allocations: 157.1 kB / 428.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.138e-06/0.6327, allocations: 0 / 428.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.6329, allocations: 73.88 kB / 429 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.6334, allocations: 67.84 kB / 429.1 MB, free: 1.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009532/0.6344, allocations: 398.4 kB / 429.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.6349, allocations: 0.778 MB / 430.2 MB, free: 276 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.6351, allocations: 46.3 kB / 430.3 MB, free: 228 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.6352, allocations: 34.92 kB / 430.3 MB, free: 196 kB / 346.7 MB Notification: Performance of SimCode: time 1.9e-06/0.6353, allocations: 7.875 kB / 430.3 MB, free: 188 kB / 346.7 MB Notification: Performance of Templates: time 0.01321/0.6485, allocations: 4.158 MB / 434.5 MB, free: 12.05 MB / 362.7 MB