Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.405e-05, allocations: 4 kB / 326.8 MB, free: 1.434 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08005, allocations: 44.51 MB / 371.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2276/0.3077, allocations: 70.15 MB / 441.5 MB, free: 20.36 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001799/0.3079, allocations: 62.78 kB / 441.5 MB, free: 20.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.008581/0.3165, allocations: 2.749 MB / 444.3 MB, free: 17.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.558e-06/0.3165, allocations: 0 / 444.3 MB, free: 17.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3166, allocations: 4 kB / 444.3 MB, free: 17.56 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0004752/0.317, allocations: 423.7 kB / 444.7 MB, free: 17.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3171, allocations: 12.03 kB / 444.7 MB, free: 17.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.3172, allocations: 27.7 kB / 444.7 MB, free: 17.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.3174, allocations: 221.6 kB / 445 MB, free: 16.81 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3175, allocations: 12.44 kB / 445 MB, free: 16.8 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.3175, allocations: 19.98 kB / 445 MB, free: 16.78 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000404/0.3179, allocations: 140.8 kB / 445.1 MB, free: 16.64 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006042/0.3186, allocations: 200.9 kB / 445.3 MB, free: 16.44 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.3186, allocations: 0 / 445.3 MB, free: 16.44 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.144e-05/0.3187, allocations: 6.312 kB / 445.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.3187, allocations: 8 kB / 445.3 MB, free: 16.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009921/0.3197, allocations: 0.6295 MB / 446 MB, free: 15.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.32, allocations: 152.1 kB / 446.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3202, allocations: 78.3 kB / 446.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.3202, allocations: 192 / 446.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3204, allocations: 114 kB / 446.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 3.534e-06/0.3204, allocations: 2.891 kB / 446.3 MB, free: 15.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003323/0.3208, allocations: 149.3 kB / 446.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/0.3208, allocations: 59.41 kB / 446.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.336e-05/0.3209, allocations: 130.1 kB / 446.6 MB, free: 15.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3209, allocations: 33.7 kB / 446.7 MB, free: 15 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.321, allocations: 124.4 kB / 446.8 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.3211, allocations: 67.17 kB / 446.9 MB, free: 14.81 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.3211, allocations: 8 kB / 446.9 MB, free: 14.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.608e-05/0.3212, allocations: 318.8 kB / 447.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3213, allocations: 52.66 kB / 447.2 MB, free: 14.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.3215, allocations: 115.8 kB / 447.3 MB, free: 14.29 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.3216, allocations: 63.89 kB / 447.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-06/0.3216, allocations: 0 / 447.4 MB, free: 14.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003809/0.322, allocations: 209.3 kB / 447.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3221, allocations: 4 kB / 447.6 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.439e-06/0.3221, allocations: 8.219 kB / 447.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.3221, allocations: 4 kB / 447.6 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.3223, allocations: 31.92 kB / 447.7 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.102e-06/0.3223, allocations: 4.875 kB / 447.7 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.3224, allocations: 20.83 kB / 447.7 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.046e-05/0.3225, allocations: 12 kB / 447.7 MB, free: 13.93 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: 31 ($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,transition2.fire,$PRE.transition2.t_start,transition2.t_start,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.364e-05/0.3226, allocations: 117 kB / 447.8 MB, free: 13.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.3226, allocations: 15.81 kB / 447.8 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003729/0.323, allocations: 257.2 kB / 448.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.586e-06/0.323, allocations: 4 kB / 448.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/0.323, allocations: 0 / 448.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.323, allocations: 0 / 448.1 MB, free: 13.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.3238, allocations: 0.5 MB / 448.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.354e-06/0.3238, allocations: 8 kB / 448.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.651e-05/0.3239, allocations: 15.98 kB / 448.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.827e-06/0.3239, allocations: 4 kB / 448.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3239, allocations: 0 / 448.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.674e-06/0.3239, allocations: 3.953 kB / 448.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.544e-06/0.324, allocations: 0 / 448.6 MB, free: 12.95 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005498/0.3245, allocations: 0.8431 MB / 449.5 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.3246, allocations: 92.91 kB / 449.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3246, allocations: 0 / 449.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.3247, allocations: 8.875 kB / 449.6 MB, free: 11.93 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.857e-05/0.3248, allocations: 23.97 kB / 449.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.3249, allocations: 15.88 kB / 449.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.153e-05/0.3249, allocations: 95.77 kB / 449.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.34e-07/0.3249, allocations: 0 / 449.7 MB, free: 11.8 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000554/0.3255, allocations: 32 kB / 449.7 MB, free: 11.77 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 (transition2.enableFire,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,step.active,transition2.fire,transition2.t_start,stateGraphRoot.activeSteps) * Number of discrete states: 2 (initialStep.newActive,step.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * 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.0001244/0.3256, allocations: 108.7 kB / 449.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.3259, allocations: 159.9 kB / 450 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.2e-06/0.326, allocations: 0 / 450 MB, free: 11.5 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001329/0.3261, allocations: 75.92 kB / 450.1 MB, free: 11.42 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.3263, allocations: 12 kB / 450.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3269, allocations: 399.7 kB / 450.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.3272, allocations: 0.7401 MB / 451.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001709/0.3274, allocations: 22.08 kB / 451.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.3275, allocations: 31.42 kB / 451.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of SimCode: time 1.846e-06/0.3275, allocations: 0 / 451.2 MB, free: 10.18 MB / 318.1 MB Notification: Performance of Templates: time 0.006425/0.3339, allocations: 1.615 MB / 452.9 MB, free: 8.57 MB / 318.1 MB