Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_OffDelay_Redge") Notification: Performance of loadModel(IndustrialControlSystems): time 2.288/2.288, allocations: 216.8 MB / 229 MB, free: 15.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.614e-05/4.626e-05, allocations: 4 kB / 281.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09251/0.09258, allocations: 50.01 MB / 331.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3837/0.4764, allocations: 81.67 MB / 413.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4767, allocations: 83.64 kB / 413.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03866/0.5154, allocations: 9.271 MB / 422.9 MB, free: 6.996 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.5154, allocations: 4 kB / 422.9 MB, free: 6.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.841e-05/0.5155, allocations: 8.188 kB / 422.9 MB, free: 6.984 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.0009845/0.5165, allocations: 0.5774 MB / 423.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.5165, allocations: 8.031 kB / 423.5 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.5166, allocations: 39.58 kB / 423.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007469/0.5174, allocations: 344.2 kB / 423.9 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.5174, allocations: 10.88 kB / 423.9 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.01e-05/0.5175, allocations: 11 kB / 423.9 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.5179, allocations: 158.9 kB / 424.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5179, allocations: 0 / 424.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.5179, allocations: 2.188 kB / 424.1 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.806e-06/0.5179, allocations: 4 kB / 424.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.5181, allocations: 61.17 kB / 424.1 MB, free: 5.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009702/0.5191, allocations: 0.5196 MB / 424.7 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004336/0.5196, allocations: 148.9 kB / 424.8 MB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.5197, allocations: 56.17 kB / 424.9 MB, free: 5.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5198, allocations: 7.953 kB / 424.9 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/0.5201, allocations: 131.7 kB / 425 MB, free: 5.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=18): time 5.45e-06/0.5201, allocations: 4 kB / 425 MB, free: 5.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005755/0.5207, allocations: 227 kB / 425.2 MB, free: 4.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.69e-05/0.5208, allocations: 106.8 kB / 425.3 MB, free: 4.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000705/0.5215, allocations: 401.3 kB / 425.7 MB, free: 4.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.135e-05/0.5216, allocations: 33.64 kB / 425.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.5217, allocations: 157.4 kB / 425.9 MB, free: 4.25 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.964e-05/0.5218, allocations: 54.92 kB / 426 MB, free: 4.207 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/0.5219, allocations: 0 / 426 MB, free: 4.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001949/0.5221, allocations: 345.8 kB / 426.3 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5222, allocations: 55.11 kB / 426.4 MB, free: 3.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5224, allocations: 139 kB / 426.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.5226, allocations: 66.27 kB / 426.6 MB, free: 3.637 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5226, allocations: 4 kB / 426.6 MB, free: 3.633 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005127/0.5232, allocations: 219.3 kB / 426.8 MB, free: 3.453 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.5232, allocations: 7.953 kB / 426.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.278e-06/0.5232, allocations: 4 kB / 426.8 MB, free: 3.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5232, allocations: 4 kB / 426.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.5234, allocations: 31.92 kB / 426.8 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.5235, allocations: 11.92 kB / 426.8 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.5237, allocations: 23.33 kB / 426.9 MB, free: 3.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.5237, allocations: 15.88 kB / 426.9 MB, free: 3.363 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.0002012/0.524, allocations: 131.9 kB / 427 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.524, allocations: 31.62 kB / 427 MB, free: 3.207 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006008/0.5247, allocations: 244.6 kB / 427.3 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.37e-06/0.5247, allocations: 8 kB / 427.3 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.774e-06/0.5247, allocations: 7.891 kB / 427.3 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.5247, allocations: 0 / 427.3 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.5252, allocations: 327 kB / 427.6 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.087e-06/0.5252, allocations: 0 / 427.6 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.5253, allocations: 8 kB / 427.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.397e-06/0.5253, allocations: 4 kB / 427.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.5253, allocations: 0 / 427.6 MB, free: 2.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.508e-06/0.5253, allocations: 7.984 kB / 427.6 MB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5254, allocations: 7.891 kB / 427.6 MB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.5259, allocations: 264.1 kB / 427.9 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.5261, allocations: 128.5 kB / 428 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.888e-05/0.5262, allocations: 7.938 kB / 428 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5264, allocations: 15.73 kB / 428 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.544e-05/0.5265, allocations: 11.98 kB / 428 MB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.198e-05/0.5265, allocations: 11.86 kB / 428.1 MB, free: 2.262 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005106/0.527, allocations: 314.6 kB / 428.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.33e-07/0.527, allocations: 4 kB / 428.4 MB, free: 2.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005255/0.5276, allocations: 83.48 kB / 428.4 MB, free: 1.945 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.001556/0.5291, allocations: 440.8 kB / 428.9 MB, free: 1.578 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004975/0.5297, allocations: 154.6 kB / 429 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5297, allocations: 4.062 kB / 429 MB, free: 1.461 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.5299, allocations: 83.11 kB / 429.1 MB, free: 1.406 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.5304, allocations: 71.55 kB / 429.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009981/0.5314, allocations: 414.2 kB / 429.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.532, allocations: 0.7869 MB / 430.4 MB, free: 184 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003511/0.5323, allocations: 46.95 kB / 430.4 MB, free: 136 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.5325, allocations: 35.36 kB / 430.5 MB, free: 104 kB / 346.7 MB Notification: Performance of SimCode: time 1.826e-06/0.5325, allocations: 4 kB / 430.5 MB, free: 100 kB / 346.7 MB Notification: Performance of Templates: time 0.01286/0.5454, allocations: 4.207 MB / 434.7 MB, free: 11.91 MB / 362.7 MB