Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.727e-05, allocations: 5.312 kB / 329.1 MB, free: 15.07 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.09853, allocations: 44.51 MB / 373.7 MB, free: 2.664 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4252, allocations: 72.27 MB / 445.9 MB, free: 16.66 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4255, allocations: 66.73 kB / 446 MB, free: 16.6 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0104/0.4359, allocations: 2.75 MB / 448.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.945e-06/0.4359, allocations: 0 / 448.7 MB, free: 13.88 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.4359, allocations: 4 kB / 448.7 MB, free: 13.87 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006641/0.4366, allocations: 473.2 kB / 449.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4367, allocations: 12.03 kB / 449.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.4367, allocations: 22.61 kB / 449.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.437, allocations: 238.7 kB / 449.5 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4371, allocations: 8 kB / 449.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.4371, allocations: 8 kB / 449.5 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002631/0.4374, allocations: 111.9 kB / 449.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.4377, allocations: 173.4 kB / 449.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4377, allocations: 0 / 449.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.201e-05/0.4377, allocations: 3.562 kB / 449.8 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.349e-05/0.4378, allocations: 8 kB / 449.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4389, allocations: 0.7665 MB / 450.5 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005741/0.4395, allocations: 186.7 kB / 450.7 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.4396, allocations: 48.78 kB / 450.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.4396, allocations: 4 kB / 450.8 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.4399, allocations: 133 kB / 450.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 2.465e-06/0.4399, allocations: 0 / 450.9 MB, free: 11.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003819/0.4403, allocations: 230.5 kB / 451.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.4403, allocations: 81.11 kB / 451.2 MB, free: 11.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4405, allocations: 184.8 kB / 451.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4406, allocations: 29.7 kB / 451.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.821e-05/0.4406, allocations: 152.3 kB / 451.6 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.4407, allocations: 27.66 kB / 451.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.4407, allocations: 0 / 451.6 MB, free: 10.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.36e-05/0.4408, allocations: 334.8 kB / 451.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001155/0.4409, allocations: 47.98 kB / 452 MB, free: 10.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.4411, allocations: 120.6 kB / 452.1 MB, free: 10.24 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.4412, allocations: 63.91 kB / 452.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4413, allocations: 0 / 452.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004081/0.4417, allocations: 209.2 kB / 452.4 MB, free: 9.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4417, allocations: 4 kB / 452.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.313e-06/0.4417, allocations: 4.656 kB / 452.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4417, allocations: 4 kB / 452.4 MB, free: 9.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.442, allocations: 39.91 kB / 452.4 MB, free: 9.918 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.558e-06/0.442, allocations: 4.75 kB / 452.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.4423, allocations: 36.06 kB / 452.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4423, allocations: 12 kB / 452.5 MB, free: 9.867 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (sum.u[1],product.u[1],product.u[2],product.y,$PRE.triggeredAdd.y,triggeredAdd.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.booleanPulse1.pulsStart,booleanPulse1.pulsStart,multiSwitch1.u[1],multiSwitch1.u[2],$PRE.multiSwitch1.y,multiSwitch1.y,multiSwitch1.firstActiveIndex,$PRE.booleanPulse2.pulsStart,booleanPulse2.pulsStart,multiSwitch1.expr[1],multiSwitch1.expr[2],triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * 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.0001095/0.4424, allocations: 121.1 kB / 452.6 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.4425, allocations: 15.81 kB / 452.6 MB, free: 9.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.4428, allocations: 123.4 kB / 452.7 MB, free: 9.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-06/0.4428, allocations: 8.703 kB / 452.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4428, allocations: 0 / 452.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4428, allocations: 192 / 452.7 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.4434, allocations: 442.8 kB / 453.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.044e-06/0.4435, allocations: 0 / 453.2 MB, free: 9.125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.4436, allocations: 23.92 kB / 453.2 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.4437, allocations: 11.98 kB / 453.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.4437, allocations: 0 / 453.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.881e-06/0.4437, allocations: 2.391 kB / 453.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.58e-06/0.4437, allocations: 0 / 453.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006037/0.4443, allocations: 0.8612 MB / 454.1 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.4444, allocations: 100.8 kB / 454.2 MB, free: 8.051 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.937e-05/0.4444, allocations: 7.891 kB / 454.2 MB, free: 8.043 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.4447, allocations: 23.97 kB / 454.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.844e-05/0.4448, allocations: 19.97 kB / 454.2 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.4448, allocations: 8 kB / 454.2 MB, free: 7.992 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4449, allocations: 133.5 kB / 454.3 MB, free: 7.863 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4449, allocations: 4 kB / 454.3 MB, free: 7.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005866/0.4455, allocations: 35.94 kB / 454.4 MB, free: 7.824 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: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulsStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulsStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001526/0.4457, allocations: 119.2 kB / 454.5 MB, free: 7.695 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003189/0.446, allocations: 127.8 kB / 454.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.446, allocations: 0 / 454.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.4462, allocations: 68.41 kB / 454.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.4465, allocations: 23.98 kB / 454.7 MB, free: 7.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006908/0.4472, allocations: 387.3 kB / 455.1 MB, free: 7.062 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.4474, allocations: 0.7477 MB / 455.8 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001385/0.4476, allocations: 33.59 kB / 455.9 MB, free: 6.262 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.924e-05/0.4477, allocations: 19.42 kB / 455.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of SimCode: time 1.224e-06/0.4477, allocations: 0 / 455.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of Templates: time 0.006438/0.4541, allocations: 1.689 MB / 457.6 MB, free: 4.566 MB / 318.1 MB