Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.375e-05, allocations: 4.594 kB / 0.5178 GB, free: 12.71 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1373, allocations: 76.95 MB / 0.593 GB, free: 15.7 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8178/0.9552, allocations: 120.6 MB / 0.7108 GB, free: 36.32 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001743/0.9554, allocations: 49.39 kB / 0.7108 GB, free: 36.27 MB / 0.5022 GB Notification: Performance of FrontEnd: time 6.358/7.314, allocations: 0.6136 GB / 1.324 GB, free: 19.32 MB / 0.6428 GB Notification: Performance of Transformations before backend: time 0.003325/7.317, allocations: 500 kB / 1.325 GB, free: 18.84 MB / 0.6428 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.3375/7.655, allocations: 25.34 MB / 1.35 GB, free: 151.4 MB / 0.6428 GB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/7.655, allocations: 9 kB / 1.35 GB, free: 151.4 MB / 0.6428 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/7.668, allocations: 4.525 MB / 1.354 GB, free: 148.9 MB / 0.6428 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1431/7.811, allocations: 44.61 MB / 1.398 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/7.811, allocations: 4.75 kB / 1.398 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004074/7.812, allocations: 125.8 kB / 1.398 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001214/7.813, allocations: 0.7511 MB / 1.398 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/7.815, allocations: 1.386 MB / 1.4 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/7.815, allocations: 0 / 1.4 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003474/7.815, allocations: 128 kB / 1.4 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-06/7.815, allocations: 0 / 1.4 GB, free: 150.4 MB / 0.6584 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03745/7.853, allocations: 13.53 MB / 1.413 GB, free: 145.7 MB / 0.6584 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008813/7.854, allocations: 419.4 kB / 1.414 GB, free: 145.7 MB / 0.6584 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007123/7.854, allocations: 397.3 kB / 1.414 GB, free: 145.7 MB / 0.6584 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/7.854, allocations: 3.531 kB / 1.414 GB, free: 145.7 MB / 0.6584 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/7.856, allocations: 1.194 MB / 1.415 GB, free: 145.6 MB / 0.6584 GB Notification: Performance of pre-optimization done (n=8): time 4.037e-06/7.856, allocations: 1.875 kB / 1.415 GB, free: 145.6 MB / 0.6584 GB Notification: Performance of matching and sorting (n=8): time 0.009462/7.865, allocations: 6.289 MB / 1.421 GB, free: 143 MB / 0.6584 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/7.865, allocations: 93.53 kB / 1.421 GB, free: 142.9 MB / 0.6584 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1019/7.967, allocations: 39.39 MB / 1.46 GB, free: 126.9 MB / 0.6584 GB Notification: Performance of collectPreVariables (initialization): time 0.00068/7.968, allocations: 149.7 kB / 1.46 GB, free: 126.7 MB / 0.6584 GB Notification: Performance of collectInitialEqns (initialization): time 0.04985/8.018, allocations: 22.92 MB / 1.482 GB, free: 103.8 MB / 0.6584 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007698/8.019, allocations: 135.8 kB / 1.482 GB, free: 103.7 MB / 0.6584 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/8.019, allocations: 128 kB / 1.483 GB, free: 103.5 MB / 0.6584 GB Notification: Performance of setup shared object (initialization): time 7.139e-05/8.019, allocations: 317.9 kB / 1.483 GB, free: 103.2 MB / 0.6584 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000861/8.02, allocations: 386.4 kB / 1.483 GB, free: 102.9 MB / 0.6584 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008601/8.021, allocations: 392 kB / 1.484 GB, free: 102.5 MB / 0.6584 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000995/8.022, allocations: 395.5 kB / 1.484 GB, free: 102.1 MB / 0.6584 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.849e-06/8.022, allocations: 0 / 1.484 GB, free: 102.1 MB / 0.6584 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01316/8.035, allocations: 6.306 MB / 1.49 GB, free: 95.72 MB / 0.6584 GB Notification: Performance of prepare postOptimizeDAE: time 6.012e-05/8.035, allocations: 37.69 kB / 1.49 GB, free: 95.68 MB / 0.6584 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/8.035, allocations: 0.8906 kB / 1.49 GB, free: 95.68 MB / 0.6584 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/8.035, allocations: 0 / 1.49 GB, free: 95.68 MB / 0.6584 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.743e-05/8.035, allocations: 4 kB / 1.49 GB, free: 95.68 MB / 0.6584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.685e-06/8.035, allocations: 0.75 kB / 1.49 GB, free: 95.68 MB / 0.6584 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009286/8.045, allocations: 134.4 kB / 1.49 GB, free: 95.55 MB / 0.6584 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/8.047, allocations: 1.711 MB / 1.492 GB, free: 93.84 MB / 0.6584 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0008807/8.048, allocations: 394.6 kB / 1.492 GB, free: 93.44 MB / 0.6584 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009243/8.057, allocations: 4.527 MB / 1.497 GB, free: 88.86 MB / 0.6584 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02208/8.08, allocations: 5.117 MB / 1.502 GB, free: 83.73 MB / 0.6584 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.967e-06/8.08, allocations: 7.969 kB / 1.502 GB, free: 83.73 MB / 0.6584 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-06/8.08, allocations: 0 / 1.502 GB, free: 83.73 MB / 0.6584 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-06/8.08, allocations: 3.984 kB / 1.502 GB, free: 83.73 MB / 0.6584 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05948/8.139, allocations: 14.76 MB / 1.516 GB, free: 68.92 MB / 0.6584 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.828e-06/8.139, allocations: 7.891 kB / 1.516 GB, free: 68.91 MB / 0.6584 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/8.139, allocations: 0 / 1.516 GB, free: 68.91 MB / 0.6584 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.222e-06/8.139, allocations: 3.984 kB / 1.516 GB, free: 68.91 MB / 0.6584 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/8.14, allocations: 380 kB / 1.517 GB, free: 68.54 MB / 0.6584 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.102e-06/8.14, allocations: 0 / 1.517 GB, free: 68.54 MB / 0.6584 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.917e-06/8.14, allocations: 0 / 1.517 GB, free: 68.54 MB / 0.6584 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03471/8.175, allocations: 18.33 MB / 1.534 GB, free: 50.04 MB / 0.6584 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007447/8.183, allocations: 3.872 MB / 1.538 GB, free: 46.09 MB / 0.6584 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004128/8.187, allocations: 128.9 kB / 1.538 GB, free: 45.97 MB / 0.6584 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006166/8.193, allocations: 128 kB / 1.538 GB, free: 45.84 MB / 0.6584 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/8.193, allocations: 4 kB / 1.538 GB, free: 45.84 MB / 0.6584 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001661/8.195, allocations: 1.715 MB / 1.54 GB, free: 44.12 MB / 0.6584 GB Notification: Performance of sorting global known variables: time 0.07486/8.27, allocations: 31.19 MB / 1.571 GB, free: 13.24 MB / 0.6584 GB Notification: Performance of sort global known variables: time 1.223e-06/8.27, allocations: 0 / 1.571 GB, free: 13.24 MB / 0.6584 GB Notification: Performance of remove unused functions: time 0.005327/8.275, allocations: 1.254 MB / 1.572 GB, free: 11.99 MB / 0.6584 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0006932/8.276, allocations: 255.1 kB / 1.572 GB, free: 11.75 MB / 0.6584 GB Notification: Performance of simCode: created initialization part: time 0.001651/8.277, allocations: 0.9903 MB / 1.573 GB, free: 10.75 MB / 0.6584 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/8.277, allocations: 0 / 1.573 GB, free: 10.75 MB / 0.6584 GB Notification: Performance of simCode: created simulation system equations: time 0.0009578/8.278, allocations: 0.6009 MB / 1.574 GB, free: 10.13 MB / 0.6584 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01127/8.29, allocations: 3.25 MB / 1.577 GB, free: 6.879 MB / 0.6584 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3791/8.669, allocations: 57.81 MB / 1.633 GB, free: 172.1 MB / 0.674 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06988/8.739, allocations: 18.06 MB / 1.651 GB, free: 170.4 MB / 0.674 GB Notification: Performance of simCode: alias equations: time 0.05538/8.794, allocations: 9.381 MB / 1.66 GB, free: 168.1 MB / 0.674 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004261/8.798, allocations: 1.962 MB / 1.662 GB, free: 168.1 MB / 0.674 GB Notification: Performance of SimCode: time 2.079e-06/8.798, allocations: 0 / 1.662 GB, free: 168.1 MB / 0.674 GB Notification: Performance of Templates: time 0.7618/9.56, allocations: 142.5 MB / 1.801 GB, free: 56.08 MB / 0.674 GB