Notification: Performance of FrontEnd - loaded program: time 9.079e-06/9.219e-06, allocations: 1.281 kB / 439.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 78.97 MB / 0.5064 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1399/0.2505, allocations: 114.1 MB / 0.6179 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.2508, allocations: 75.95 kB / 0.618 GB, free: 292 kB / 0.5137 GB Notification: Performance of FrontEnd: time 0.1131/0.3639, allocations: 6.604 MB / 0.6244 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.874e-05/0.3641, allocations: 8.812 kB / 0.6244 GB, free: 111.7 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001697/0.3659, allocations: 0.6048 MB / 0.625 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3661, allocations: 11.22 kB / 0.625 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.3664, allocations: 49.94 kB / 0.6251 GB, free: 111.3 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/0.3675, allocations: 361.5 kB / 0.6254 GB, free: 111 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.3677, allocations: 18.64 kB / 0.6255 GB, free: 111 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.3679, allocations: 24.97 kB / 0.6255 GB, free: 111 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005281/0.3685, allocations: 95.73 kB / 0.6256 GB, free: 111 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007661/0.3694, allocations: 214.4 kB / 0.6258 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.3695, allocations: 1.781 kB / 0.6258 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/0.3697, allocations: 1.062 kB / 0.6258 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.3698, allocations: 8.031 kB / 0.6258 GB, free: 110.9 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00394/0.3738, allocations: 1.228 MB / 0.627 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.3745, allocations: 111.3 kB / 0.6271 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.3748, allocations: 26.97 kB / 0.6271 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.3749, allocations: 2.438 kB / 0.6271 GB, free: 110.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.3751, allocations: 39.5 kB / 0.6272 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 7.124e-06/0.3752, allocations: 0.5625 kB / 0.6272 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007081/0.376, allocations: 137.5 kB / 0.6273 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004004/0.3765, allocations: 60.5 kB / 0.6273 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.509e-05/0.3766, allocations: 3.094 kB / 0.6274 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000413/0.3771, allocations: 339.1 kB / 0.6277 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.3772, allocations: 26.8 kB / 0.6277 GB, free: 109.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.3775, allocations: 167.6 kB / 0.6279 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-05/0.3777, allocations: 47.45 kB / 0.6279 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.3778, allocations: 0 / 0.6279 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3781, allocations: 342.8 kB / 0.6282 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.3783, allocations: 27.52 kB / 0.6283 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001976/0.3786, allocations: 68.67 kB / 0.6283 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.3789, allocations: 45.14 kB / 0.6284 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.215e-06/0.379, allocations: 0 / 0.6284 GB, free: 109.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008448/0.38, allocations: 0.5881 MB / 0.6289 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.3801, allocations: 3.344 kB / 0.6289 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.848e-05/0.3802, allocations: 2.062 kB / 0.6289 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.3803, allocations: 7.469 kB / 0.629 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.3812, allocations: 64.25 kB / 0.629 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.382, allocations: 45.02 kB / 0.6291 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.4e-06/0.3821, allocations: 1.031 kB / 0.6291 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004888/0.3827, allocations: 100.6 kB / 0.6292 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3828, allocations: 4.594 kB / 0.6292 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3829, allocations: 6.266 kB / 0.6292 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.383, allocations: 3.859 kB / 0.6292 GB, free: 108.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006279/0.3837, allocations: 57.67 kB / 0.6292 GB, free: 108.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006168/0.3845, allocations: 30.12 kB / 0.6293 GB, free: 108.7 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0003405/0.3849, allocations: 121.4 kB / 0.6294 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.3852, allocations: 30.14 kB / 0.6294 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.855e-05/0.3854, allocations: 18.28 kB / 0.6294 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3855, allocations: 5.844 kB / 0.6294 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.3856, allocations: 0.7969 kB / 0.6294 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.3857, allocations: 1.859 kB / 0.6294 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.3868, allocations: 401.4 kB / 0.6298 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.521e-06/0.3869, allocations: 1.281 kB / 0.6298 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007449/0.3878, allocations: 49.95 kB / 0.6299 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.3879, allocations: 4.547 kB / 0.6299 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.246e-05/0.388, allocations: 3.031 kB / 0.6299 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.355e-06/0.3881, allocations: 0.75 kB / 0.6299 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-06/0.3882, allocations: 1.344 kB / 0.6299 GB, free: 108.4 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009018/0.3892, allocations: 314.6 kB / 0.6302 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002873/0.3896, allocations: 134.1 kB / 0.6303 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.3898, allocations: 1.875 kB / 0.6303 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006851/0.3906, allocations: 29.39 kB / 0.6303 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3908, allocations: 16.83 kB / 0.6303 GB, free: 108.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0003682/0.3913, allocations: 116.8 kB / 0.6304 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008014/0.3922, allocations: 189.8 kB / 0.6306 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.006e-06/0.3923, allocations: 0 / 0.6306 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.3927, allocations: 65.34 kB / 0.6307 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009419/0.3937, allocations: 56.81 kB / 0.6307 GB, free: 108 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002649/0.3965, allocations: 0.515 MB / 0.6312 GB, free: 107.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007289/0.3973, allocations: 0.8674 MB / 0.6321 GB, free: 107 MB / 0.5137 GB Notification: Performance of SimCode: time 2.934e-06/0.3974, allocations: 3.938 kB / 0.6321 GB, free: 107 MB / 0.5137 GB Notification: Performance of Templates: time 0.0653/0.4628, allocations: 5.23 MB / 0.6372 GB, free: 104.8 MB / 0.5137 GB