Running command: translateModel(IndustrialControlSystems.Logical.Timers.Examples.testT_On,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.Timers.Examples.testT_On") Notification: Performance of loadModel(IndustrialControlSystems): time 2.222/2.222, allocations: 216.8 MB / 229 MB, free: 15.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.217e-05, allocations: 4 kB / 281.9 MB, free: 10.97 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.09054, allocations: 50.01 MB / 331.9 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3703/0.4609, allocations: 81.69 MB / 413.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4612, allocations: 81.14 kB / 413.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03885/0.5001, allocations: 9.105 MB / 422.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.502e-06/0.5002, allocations: 0 / 422.8 MB, free: 7.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.483e-05/0.5002, allocations: 8 kB / 422.8 MB, free: 7.113 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.0009717/0.5012, allocations: 0.5665 MB / 423.3 MB, free: 6.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.5012, allocations: 8.031 kB / 423.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.5014, allocations: 35.58 kB / 423.4 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.5021, allocations: 322.3 kB / 423.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.817e-05/0.5021, allocations: 8 kB / 423.7 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.443e-05/0.5021, allocations: 15.73 kB / 423.7 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.5025, allocations: 151 kB / 423.9 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5025, allocations: 3.938 kB / 423.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.5026, allocations: 7.562 kB / 423.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.226e-06/0.5026, allocations: 0 / 423.9 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.5028, allocations: 71.06 kB / 424 MB, free: 5.938 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.5038, allocations: 0.4928 MB / 424.4 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003316/0.5041, allocations: 137.3 kB / 424.6 MB, free: 5.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.5043, allocations: 56.2 kB / 424.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.5043, allocations: 3.688 kB / 424.6 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/0.5046, allocations: 138.4 kB / 424.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.541e-06/0.5046, allocations: 0 / 424.8 MB, free: 5.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005644/0.5052, allocations: 207.3 kB / 425 MB, free: 5.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.902e-05/0.5053, allocations: 106.7 kB / 425.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.5059, allocations: 351.5 kB / 425.4 MB, free: 4.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.196e-05/0.506, allocations: 33.2 kB / 425.5 MB, free: 4.594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.5061, allocations: 158.6 kB / 425.6 MB, free: 4.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.5062, allocations: 47.31 kB / 425.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.5062, allocations: 3.75 kB / 425.7 MB, free: 4.438 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.5064, allocations: 345.8 kB / 426 MB, free: 4.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.5066, allocations: 39.44 kB / 426 MB, free: 4.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.5068, allocations: 143.4 kB / 426.2 MB, free: 3.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.507, allocations: 62.16 kB / 426.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.292e-06/0.507, allocations: 0 / 426.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005106/0.5075, allocations: 211.3 kB / 426.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5076, allocations: 8 kB / 426.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.283e-06/0.5076, allocations: 0 / 426.5 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.5076, allocations: 4.25 kB / 426.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.5078, allocations: 39.73 kB / 426.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5079, allocations: 4 kB / 426.5 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002033/0.5081, allocations: 19.83 kB / 426.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.652e-05/0.5081, allocations: 11.81 kB / 426.5 MB, free: 3.629 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: timer.Q:DISCRETE(fixed = false ) "status of the timer" type: Boolean timer.run:DISCRETE(fixed = false ) "Flag: true while the timer is counting" 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: 22 ($PRE.timer.Sd,$PRE.timer.startTime,timer.startTime,$PRE.timer.Q,timer.Q,$PRE.timer.run,timer.run,$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,timer.Sd,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 (26): * Single equations (assignments): 26 * 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.0001974/0.5083, allocations: 126.9 kB / 426.7 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.541e-05/0.5084, allocations: 39.78 kB / 426.7 MB, free: 3.469 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/0.509, allocations: 236.3 kB / 426.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.72e-06/0.509, allocations: 4 kB / 426.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.025e-06/0.5091, allocations: 0 / 426.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5091, allocations: 7.891 kB / 426.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.5096, allocations: 308.7 kB / 427.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.28e-06/0.5096, allocations: 0 / 427.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.929e-05/0.5097, allocations: 8 kB / 427.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.388e-06/0.5097, allocations: 0 / 427.2 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.5097, allocations: 15.23 kB / 427.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.489e-06/0.5097, allocations: 0 / 427.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.931e-06/0.5097, allocations: 0 / 427.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.5103, allocations: 253.5 kB / 427.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001504/0.5105, allocations: 123.5 kB / 427.6 MB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.5105, allocations: 15.8 kB / 427.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.5107, allocations: 4 kB / 427.6 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.77e-05/0.5108, allocations: 23.09 kB / 427.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5108, allocations: 4 kB / 427.7 MB, free: 2.566 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004469/0.5113, allocations: 279.2 kB / 427.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.54e-07/0.5113, allocations: 0 / 427.9 MB, free: 2.352 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005395/0.5119, allocations: 77.55 kB / 428 MB, free: 2.285 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,timer.Q,timer.tr,timer.run,timer.startTime,timer.Sd,SetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.y,ResetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (timer.Sd,timer.startTime,SetSignal.combiTimeTable.nextTimeEvent,ResetSignal.combiTimeTable.nextTimeEvent,SetSignal.combiTimeTable.nextTimeEventScaled,ResetSignal.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.001552/0.5134, allocations: 439.1 kB / 428.5 MB, free: 1.914 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005233/0.514, allocations: 148.3 kB / 428.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.431e-06/0.514, allocations: 0 / 428.6 MB, free: 1.809 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.5142, allocations: 74.69 kB / 428.7 MB, free: 1.758 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005091/0.5147, allocations: 70.62 kB / 428.7 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.5157, allocations: 362 kB / 429.1 MB, free: 1.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004997/0.5162, allocations: 0.7782 MB / 429.9 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.5164, allocations: 46.05 kB / 429.9 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001049/0.5165, allocations: 30.62 kB / 429.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.869e-06/0.5165, allocations: 0 / 429.9 MB, free: 0.5 MB / 346.7 MB Notification: Performance of Templates: time 0.01239/0.5289, allocations: 3.96 MB / 433.9 MB, free: 12.55 MB / 362.7 MB