Notification: Performance of FrontEnd - loaded program: time 2.818e-05/2.836e-05, allocations: 4 kB / 327.5 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 44.52 MB / 372.1 MB, free: 4.402 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.3706, allocations: 70.79 MB / 442.8 MB, free: 19.32 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.3709, allocations: 65.28 kB / 442.9 MB, free: 19.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01234/0.3833, allocations: 2.865 MB / 445.8 MB, free: 16.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.199e-06/0.3833, allocations: 4 kB / 445.8 MB, free: 16.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.3834, allocations: 15.88 kB / 445.8 MB, free: 16.39 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0006208/0.384, allocations: 431.4 kB / 446.2 MB, free: 15.93 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3841, allocations: 8.031 kB / 446.2 MB, free: 15.92 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.126e-05/0.3842, allocations: 19.81 kB / 446.2 MB, free: 15.9 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.3845, allocations: 226.8 kB / 446.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.518e-05/0.3846, allocations: 16.56 kB / 446.5 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.3847, allocations: 16 kB / 446.5 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005275/0.3852, allocations: 145.1 kB / 446.6 MB, free: 15.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005721/0.3858, allocations: 230 kB / 446.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.3858, allocations: 2.188 kB / 446.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.471e-05/0.3859, allocations: 0 / 446.9 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.3859, allocations: 8.703 kB / 446.9 MB, free: 15.21 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.3875, allocations: 0.89 MB / 447.8 MB, free: 14.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000391/0.3879, allocations: 143.1 kB / 447.9 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.3881, allocations: 65.23 kB / 448 MB, free: 14.05 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.3881, allocations: 8.172 kB / 448 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.3884, allocations: 115.3 kB / 448.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 5.325e-06/0.3885, allocations: 0 / 448.1 MB, free: 13.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=23): time 0.0005345/0.389, allocations: 141.4 kB / 448.2 MB, free: 13.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.3891, allocations: 63.39 kB / 448.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.3892, allocations: 140.7 kB / 448.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.3893, allocations: 33.7 kB / 448.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.3894, allocations: 128.3 kB / 448.6 MB, free: 13.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.087e-05/0.3895, allocations: 55.34 kB / 448.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.3895, allocations: 0 / 448.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.3896, allocations: 330.8 kB / 449 MB, free: 13 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.3897, allocations: 52.66 kB / 449 MB, free: 12.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.3899, allocations: 132.4 kB / 449.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001429/0.3901, allocations: 60.55 kB / 449.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.648e-06/0.3901, allocations: 4 kB / 449.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004305/0.3905, allocations: 213.3 kB / 449.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3906, allocations: 4 kB / 449.4 MB, free: 12.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.511e-06/0.3906, allocations: 7.953 kB / 449.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.3906, allocations: 4.531 kB / 449.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.3908, allocations: 39.86 kB / 449.5 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3908, allocations: 11.97 kB / 449.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.391, allocations: 12.12 kB / 449.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.391, allocations: 16 kB / 449.5 MB, free: 12.42 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: 30 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$whenCondition2,$whenCondition1,$PRE.initialStep.localActive,initialStep.localActive,$PRE.initialStep.newActive,initialStep.newActive,$PRE.initialStep.oldActive,initialStep.oldActive,initialStep.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step.localActive,step.localActive,$PRE.step.newActive,step.newActive,$PRE.step.oldActive,step.oldActive,step.active,transition2.enableFire,$PRE.timer.entryTime,timer.entryTime,SetBoolean1.y,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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 9.469e-05/0.3911, allocations: 125 kB / 449.6 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.3912, allocations: 15.8 kB / 449.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.3916, allocations: 248.2 kB / 449.9 MB, free: 12.01 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.163e-06/0.3916, allocations: 9.641 kB / 449.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-06/0.3916, allocations: 3.938 kB / 449.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.3917, allocations: 0 / 449.9 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007803/0.3924, allocations: 0.518 MB / 450.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.005e-06/0.3925, allocations: 0 / 450.4 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.3926, allocations: 22.38 kB / 450.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.707e-06/0.3926, allocations: 0 / 450.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3926, allocations: 4 kB / 450.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.731e-06/0.3926, allocations: 0 / 450.4 MB, free: 11.41 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-06/0.3926, allocations: 4 kB / 450.4 MB, free: 11.4 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.3933, allocations: 0.8314 MB / 451.3 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.49e-05/0.3934, allocations: 92.91 kB / 451.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.3935, allocations: 0 / 451.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.3937, allocations: 4 kB / 451.4 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.3938, allocations: 23.95 kB / 451.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.147e-05/0.3938, allocations: 9.188 kB / 451.4 MB, free: 10.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.3939, allocations: 95.72 kB / 451.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.23e-07/0.3939, allocations: 0 / 451.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008966/0.3949, allocations: 39.98 kB / 451.5 MB, free: 10.24 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 (step.active,step.localActive,transition1.enableFire,initialStep.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,initialStep.active,transition1.fire,transition1.t_start,step.newActive,step.oldActive,transition2.enableFire,timer.entryTime,SetBoolean1.y,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001807/0.395, allocations: 103.2 kB / 451.6 MB, free: 10.13 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004724/0.3955, allocations: 151.9 kB / 451.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.3956, allocations: 0.5625 kB / 451.8 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.3958, allocations: 71.94 kB / 451.9 MB, free: 9.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.3962, allocations: 27.53 kB / 451.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000894/0.3971, allocations: 403.2 kB / 452.3 MB, free: 9.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/0.3974, allocations: 0.744 MB / 453 MB, free: 8.688 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001799/0.3976, allocations: 27.31 kB / 453 MB, free: 8.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.3977, allocations: 19.44 kB / 453.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of SimCode: time 1.461e-06/0.3977, allocations: 0 / 453.1 MB, free: 8.645 MB / 318.1 MB Notification: Performance of Templates: time 0.007578/0.4053, allocations: 1.614 MB / 454.7 MB, free: 7.039 MB / 318.1 MB