Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.726e-05, allocations: 0 / 329.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09798, allocations: 44.52 MB / 374 MB, free: 2.379 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2536/0.3516, allocations: 72.56 MB / 446.6 MB, free: 16.18 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001819/0.3518, allocations: 67.97 kB / 446.6 MB, free: 16.12 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01984/0.3717, allocations: 5.802 MB / 452.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.676e-06/0.3717, allocations: 0 / 452.4 MB, free: 10.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.3718, allocations: 0 / 452.4 MB, free: 10.36 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003537/0.3721, allocations: 418.3 kB / 452.8 MB, free: 9.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.3722, allocations: 8.031 kB / 452.9 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.202e-05/0.3722, allocations: 80.33 kB / 452.9 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3723, allocations: 250.3 kB / 453.2 MB, free: 9.531 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.3724, allocations: 154.5 kB / 453.3 MB, free: 9.379 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.056e-05/0.3724, allocations: 150.6 kB / 453.5 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.987e-05/0.3725, allocations: 150.6 kB / 453.6 MB, free: 9.082 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.408e-05/0.3725, allocations: 106.5 kB / 453.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.3725, allocations: 75.28 kB / 453.8 MB, free: 8.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.08e-05/0.3726, allocations: 154.6 kB / 453.9 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.3726, allocations: 154.5 kB / 454.1 MB, free: 8.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.3728, allocations: 422.5 kB / 454.5 MB, free: 8.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.361e-05/0.3728, allocations: 177 kB / 454.7 MB, free: 7.961 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.3729, allocations: 84.14 kB / 454.8 MB, free: 7.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.3729, allocations: 75.28 kB / 454.8 MB, free: 7.801 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.73e-05/0.373, allocations: 52.47 kB / 454.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 3.17e-06/0.373, allocations: 0 / 454.9 MB, free: 7.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001002/0.3731, allocations: 40.8 kB / 454.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.999e-05/0.3731, allocations: 55.44 kB / 455 MB, free: 7.629 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.404e-05/0.3732, allocations: 92.98 kB / 455.1 MB, free: 7.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.31e-06/0.3732, allocations: 29.7 kB / 455.1 MB, free: 7.496 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.291e-05/0.3733, allocations: 84.14 kB / 455.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.164e-05/0.3733, allocations: 0 / 455.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-06/0.3733, allocations: 0 / 455.2 MB, free: 7.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.3734, allocations: 310.8 kB / 455.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-06/0.3734, allocations: 0 / 455.5 MB, free: 7.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.394e-06/0.3734, allocations: 4 kB / 455.5 MB, free: 7.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.274e-05/0.3734, allocations: 4.062 kB / 455.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.869e-06/0.3734, allocations: 3.938 kB / 455.5 MB, free: 7.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.262e-05/0.3735, allocations: 41.64 kB / 455.5 MB, free: 7.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3735, allocations: 8 kB / 455.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.075e-06/0.3735, allocations: 0 / 455.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3735, allocations: 0 / 455.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.637e-05/0.3736, allocations: 0 / 455.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.088e-06/0.3736, allocations: 4.969 kB / 455.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.3736, allocations: 0 / 455.6 MB, free: 7.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3736, allocations: 4.031 kB / 455.6 MB, free: 7.023 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.715e-05/0.3737, allocations: 105 kB / 455.7 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.3737, allocations: 3.953 kB / 455.7 MB, free: 6.91 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.3738, allocations: 8.359 kB / 455.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-06/0.3738, allocations: 192 / 455.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.368e-06/0.3738, allocations: 0 / 455.7 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.677e-06/0.3738, allocations: 7.984 kB / 455.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.416e-05/0.3739, allocations: 122.2 kB / 455.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.877e-06/0.3739, allocations: 0 / 455.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.142e-06/0.3739, allocations: 0 / 455.8 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.591e-06/0.3739, allocations: 7.984 kB / 455.8 MB, free: 6.734 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-06/0.3739, allocations: 4 kB / 455.8 MB, free: 6.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-06/0.3739, allocations: 3.953 kB / 455.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.249e-06/0.374, allocations: 0 / 455.8 MB, free: 6.727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.3742, allocations: 0.5833 MB / 456.4 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.3742, allocations: 93.03 kB / 456.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.3742, allocations: 0 / 456.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/0.3743, allocations: 0 / 456.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.3743, allocations: 3.984 kB / 456.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-06/0.3743, allocations: 0 / 456.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.759e-05/0.3743, allocations: 83.28 kB / 456.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3743, allocations: 0 / 456.6 MB, free: 5.895 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001034/0.3754, allocations: 155.9 kB / 456.7 MB, free: 5.742 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.001495/0.3769, allocations: 489.2 kB / 457.2 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.11e-05/0.377, allocations: 7.984 kB / 457.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.983e-06/0.377, allocations: 0 / 457.2 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.377, allocations: 4 kB / 457.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3772, allocations: 3.984 kB / 457.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002286/0.3775, allocations: 153.3 kB / 457.4 MB, free: 5.078 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3776, allocations: 0.6768 MB / 458 MB, free: 4.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.996e-05/0.3777, allocations: 12.05 kB / 458.1 MB, free: 4.363 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.3777, allocations: 19.42 kB / 458.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of SimCode: time 1.188e-06/0.3777, allocations: 0 / 458.1 MB, free: 4.348 MB / 318.1 MB Notification: Performance of Templates: time 0.009868/0.3876, allocations: 2.615 MB / 460.7 MB, free: 1.734 MB / 318.1 MB