Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.006e-05, allocations: 2.75 kB / 439.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 78.97 MB / 0.5065 GB, free: 2.688 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.477/3.585, allocations: 2.343 GB / 2.849 GB, free: 38.93 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003727/3.586, allocations: 95.69 kB / 2.849 GB, free: 38.85 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.485/6.071, allocations: 0.6436 GB / 3.493 GB, free: 106.9 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001571/6.071, allocations: 40.17 kB / 3.493 GB, free: 106.9 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.008662/6.08, allocations: 1.652 MB / 3.495 GB, free: 106.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/6.08, allocations: 7.438 kB / 3.495 GB, free: 106.2 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006341/6.087, allocations: 484.7 kB / 3.495 GB, free: 106.1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/6.092, allocations: 1.015 MB / 3.496 GB, free: 105.8 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001597/6.093, allocations: 189 kB / 3.496 GB, free: 105.8 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/6.094, allocations: 52.25 kB / 3.496 GB, free: 105.8 MB / 0.67 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001917/6.096, allocations: 420.9 kB / 3.497 GB, free: 105.8 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002372/6.099, allocations: 0.6771 MB / 3.497 GB, free: 105.6 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/6.099, allocations: 6.844 kB / 3.497 GB, free: 105.6 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/6.099, allocations: 3.844 kB / 3.497 GB, free: 105.6 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.226e-05/6.099, allocations: 47.97 kB / 3.497 GB, free: 105.6 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01712/6.116, allocations: 5.786 MB / 3.503 GB, free: 102.6 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/6.118, allocations: 325.2 kB / 3.503 GB, free: 102.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/6.118, allocations: 35.28 kB / 3.503 GB, free: 102.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007117/6.119, allocations: 140 kB / 3.504 GB, free: 102.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009946/6.12, allocations: 368.5 kB / 3.504 GB, free: 102.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=53): time 7.054e-06/6.12, allocations: 0 / 3.504 GB, free: 102.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=53): time 0.003468/6.124, allocations: 0.4997 MB / 3.504 GB, free: 102.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002082/6.126, allocations: 431.3 kB / 3.505 GB, free: 102.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/6.126, allocations: 8.281 kB / 3.505 GB, free: 102.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000766/6.127, allocations: 0.5055 MB / 3.505 GB, free: 101.9 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/6.127, allocations: 34.33 kB / 3.505 GB, free: 101.9 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/6.128, allocations: 375.5 kB / 3.506 GB, free: 101.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/6.128, allocations: 115.1 kB / 3.506 GB, free: 101.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/6.128, allocations: 3.469 kB / 3.506 GB, free: 101.6 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00011/6.129, allocations: 335 kB / 3.506 GB, free: 101.3 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005954/6.129, allocations: 131 kB / 3.506 GB, free: 101.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/6.13, allocations: 291 kB / 3.507 GB, free: 101.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/6.131, allocations: 203.1 kB / 3.507 GB, free: 101.1 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.219e-06/6.132, allocations: 3.906 kB / 3.507 GB, free: 101.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.003356/6.135, allocations: 2.531 MB / 3.509 GB, free: 98.94 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/6.135, allocations: 5.281 kB / 3.509 GB, free: 98.94 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.526e-05/6.135, allocations: 10.48 kB / 3.509 GB, free: 98.94 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/6.135, allocations: 16.66 kB / 3.509 GB, free: 98.94 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.011/6.146, allocations: 0.7683 MB / 3.51 GB, free: 98.94 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/6.15, allocations: 205.1 kB / 3.51 GB, free: 98.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.378e-06/6.151, allocations: 0 / 3.51 GB, free: 98.91 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00242/6.153, allocations: 455.6 kB / 3.511 GB, free: 98.89 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/6.153, allocations: 9.344 kB / 3.511 GB, free: 98.89 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.185e-05/6.153, allocations: 11.16 kB / 3.511 GB, free: 98.89 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/6.153, allocations: 9.344 kB / 3.511 GB, free: 98.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003419/6.157, allocations: 288 kB / 3.511 GB, free: 98.89 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003512/6.161, allocations: 192.1 kB / 3.511 GB, free: 98.87 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007104/6.161, allocations: 133.7 kB / 3.511 GB, free: 98.76 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004304/6.162, allocations: 98.33 kB / 3.511 GB, free: 98.72 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002685/6.165, allocations: 488.4 kB / 3.512 GB, free: 98.67 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/6.165, allocations: 8.25 kB / 3.512 GB, free: 98.67 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/6.165, allocations: 3.938 kB / 3.512 GB, free: 98.67 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/6.165, allocations: 1.875 kB / 3.512 GB, free: 98.67 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005305/6.17, allocations: 1.608 MB / 3.513 GB, free: 98.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.027e-05/6.171, allocations: 0 / 3.513 GB, free: 98.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009686/6.18, allocations: 0.693 MB / 3.514 GB, free: 98.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-05/6.181, allocations: 3 kB / 3.514 GB, free: 98.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/6.181, allocations: 14.2 kB / 3.514 GB, free: 98.15 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007687/6.189, allocations: 2.909 MB / 3.517 GB, free: 95.58 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/6.189, allocations: 4.25 kB / 3.517 GB, free: 95.58 MB / 0.67 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002538/6.191, allocations: 0.6402 MB / 3.518 GB, free: 95.27 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/6.193, allocations: 295.9 kB / 3.518 GB, free: 95.12 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/6.193, allocations: 3.797 kB / 3.518 GB, free: 95.12 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003701/6.197, allocations: 179.8 kB / 3.518 GB, free: 95.12 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002607/6.197, allocations: 55.97 kB / 3.518 GB, free: 95.12 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004296/6.202, allocations: 1.864 MB / 3.52 GB, free: 94.61 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01535/6.217, allocations: 1.541 MB / 3.521 GB, free: 94.52 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-05/6.217, allocations: 2.609 kB / 3.521 GB, free: 94.52 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01696/6.234, allocations: 1.279 MB / 3.523 GB, free: 94.52 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004101/6.239, allocations: 330.8 kB / 3.523 GB, free: 94.52 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006621/6.245, allocations: 1.345 MB / 3.524 GB, free: 94.07 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/6.248, allocations: 1.244 MB / 3.525 GB, free: 93.31 MB / 0.67 GB Notification: Performance of SimCode: time 2.514e-06/6.248, allocations: 3.938 kB / 3.525 GB, free: 93.31 MB / 0.67 GB Notification: Performance of Templates: time 0.1402/6.388, allocations: 33.97 MB / 3.559 GB, free: 87.1 MB / 0.67 GB