Notification: Performance of FrontEnd - loaded program: time 2.47e-05/2.484e-05, allocations: 10.38 kB / 328.7 MB, free: 15.61 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 44.51 MB / 373.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2876/0.3961, allocations: 71.89 MB / 445.1 MB, free: 17.42 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001607/0.3963, allocations: 67.97 kB / 445.2 MB, free: 17.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009593/0.4059, allocations: 2.631 MB / 447.8 MB, free: 14.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.697e-06/0.406, allocations: 8 kB / 447.8 MB, free: 14.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.488e-05/0.406, allocations: 0 / 447.8 MB, free: 14.74 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006219/0.4066, allocations: 475.5 kB / 448.3 MB, free: 14.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.4067, allocations: 12.03 kB / 448.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.4067, allocations: 23.72 kB / 448.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.407, allocations: 230.7 kB / 448.6 MB, free: 13.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.407, allocations: 8.281 kB / 448.6 MB, free: 13.92 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.4071, allocations: 8 kB / 448.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002539/0.4073, allocations: 110.5 kB / 448.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.4076, allocations: 154.7 kB / 448.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4076, allocations: 8 kB / 448.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.917e-05/0.4077, allocations: 0 / 448.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.4077, allocations: 4 kB / 448.9 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.4088, allocations: 0.7575 MB / 449.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002761/0.4091, allocations: 133.1 kB / 449.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.4092, allocations: 57.83 kB / 449.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.4092, allocations: 12.12 kB / 449.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.4095, allocations: 131.8 kB / 449.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.481e-06/0.4095, allocations: 0 / 449.9 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003582/0.4098, allocations: 238.6 kB / 450.2 MB, free: 12.2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.4099, allocations: 85.05 kB / 450.3 MB, free: 12.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.41, allocations: 171.8 kB / 450.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.4101, allocations: 25.7 kB / 450.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.67e-05/0.4102, allocations: 152.2 kB / 450.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.873e-05/0.4102, allocations: 39.45 kB / 450.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.4102, allocations: 0 / 450.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.146e-05/0.4103, allocations: 334.8 kB / 451 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.4104, allocations: 47.98 kB / 451 MB, free: 11.32 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.4106, allocations: 106.7 kB / 451.1 MB, free: 11.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4107, allocations: 75.83 kB / 451.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.697e-06/0.4108, allocations: 0 / 451.2 MB, free: 11.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003782/0.4111, allocations: 189.3 kB / 451.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4112, allocations: 8.188 kB / 451.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.369e-06/0.4112, allocations: 4 kB / 451.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.4112, allocations: 4 kB / 451.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.4114, allocations: 36.58 kB / 451.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.332e-06/0.4115, allocations: 7.984 kB / 451.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4117, allocations: 27.83 kB / 451.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.4117, allocations: 8 kB / 451.5 MB, free: 10.83 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.multiSwitch.u[1],$PRE.multiSwitch.u[2],$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 8.006e-05/0.4118, allocations: 126.2 kB / 451.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.4118, allocations: 15.81 kB / 451.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.4122, allocations: 179.9 kB / 451.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-06/0.4123, allocations: 0 / 451.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.975e-06/0.4123, allocations: 0 / 451.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.623e-06/0.4123, allocations: 4 kB / 451.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000245/0.4125, allocations: 240.1 kB / 452 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4126, allocations: 0 / 452 MB, free: 10.23 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.4127, allocations: 27.98 kB / 452 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.4127, allocations: 0 / 452 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4128, allocations: 4.672 kB / 452.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.641e-06/0.4128, allocations: 4 kB / 452.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.4128, allocations: 3.938 kB / 452.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.4134, allocations: 0.8079 MB / 452.9 MB, free: 9.32 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.186e-05/0.4135, allocations: 96.86 kB / 453 MB, free: 9.207 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.4135, allocations: 7.984 kB / 453 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.4137, allocations: 15.98 kB / 453 MB, free: 9.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.4138, allocations: 19.92 kB / 453 MB, free: 9.164 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.4138, allocations: 9 kB / 453 MB, free: 9.156 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4139, allocations: 141.5 kB / 453.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.59e-07/0.4139, allocations: 0 / 453.2 MB, free: 9.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005064/0.4144, allocations: 32 kB / 453.2 MB, free: 8.988 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanPulse1.pulsStart,multiSwitch.u[1],multiSwitch.u[2],multiSwitch.firstActiveIndex,booleanPulse2.pulsStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001224/0.4146, allocations: 99.19 kB / 453.3 MB, free: 8.879 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002995/0.4149, allocations: 143.8 kB / 453.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.516e-06/0.4149, allocations: 384 / 453.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.4151, allocations: 67.92 kB / 453.5 MB, free: 8.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.4154, allocations: 35.97 kB / 453.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006295/0.416, allocations: 387.4 kB / 453.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.4162, allocations: 0.7486 MB / 454.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001446/0.4164, allocations: 30.64 kB / 454.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.4164, allocations: 19.42 kB / 454.7 MB, free: 7.398 MB / 318.1 MB Notification: Performance of SimCode: time 1.187e-06/0.4165, allocations: 4 kB / 454.7 MB, free: 7.395 MB / 318.1 MB Notification: Performance of Templates: time 0.005889/0.4224, allocations: 1.725 MB / 456.4 MB, free: 5.691 MB / 318.1 MB