Notification: Performance of FrontEnd - loaded program: time 2.646e-05/2.654e-05, allocations: 0.5938 kB / 0.5178 GB, free: 13.58 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 76.95 MB / 0.593 GB, free: 0.5664 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7946/0.9227, allocations: 120.6 MB / 0.7108 GB, free: 37.04 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001218/0.9229, allocations: 55.34 kB / 0.7108 GB, free: 36.98 MB / 0.5022 GB Notification: Performance of FrontEnd: time 1.796/2.719, allocations: 192.9 MB / 0.8992 GB, free: 178.9 MB / 0.6115 GB Notification: Performance of Transformations before backend: time 0.0009476/2.72, allocations: 250.3 kB / 0.8994 GB, free: 178.9 MB / 0.6115 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.01971/2.739, allocations: 12.6 MB / 0.9117 GB, free: 170.9 MB / 0.6115 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/2.74, allocations: 8.031 kB / 0.9117 GB, free: 170.9 MB / 0.6115 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/2.742, allocations: 2.264 MB / 0.914 GB, free: 168.6 MB / 0.6115 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08648/2.829, allocations: 22.35 MB / 0.9358 GB, free: 152 MB / 0.6115 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/2.829, allocations: 0 / 0.9358 GB, free: 152 MB / 0.6115 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/2.829, allocations: 64 kB / 0.9358 GB, free: 152 MB / 0.6115 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007848/2.83, allocations: 398.4 kB / 0.9362 GB, free: 151.6 MB / 0.6115 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/2.831, allocations: 0.713 MB / 0.9369 GB, free: 151 MB / 0.6115 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/2.831, allocations: 3.703 kB / 0.9369 GB, free: 151 MB / 0.6115 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002239/2.832, allocations: 67.94 kB / 0.937 GB, free: 151 MB / 0.6115 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-06/2.832, allocations: 0 / 0.937 GB, free: 151 MB / 0.6115 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01966/2.851, allocations: 6.829 MB / 0.9437 GB, free: 145.6 MB / 0.6115 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005875/2.852, allocations: 226.6 kB / 0.9439 GB, free: 145.4 MB / 0.6115 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004639/2.852, allocations: 216.4 kB / 0.9441 GB, free: 145.1 MB / 0.6115 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/2.852, allocations: 0 / 0.9441 GB, free: 145.1 MB / 0.6115 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009113/2.853, allocations: 0.6453 MB / 0.9447 GB, free: 144.7 MB / 0.6115 GB Notification: Performance of pre-optimization done (n=8): time 3.642e-06/2.853, allocations: 0 / 0.9447 GB, free: 144.7 MB / 0.6115 GB Notification: Performance of matching and sorting (n=8): time 0.005493/2.859, allocations: 3.186 MB / 0.9478 GB, free: 141.5 MB / 0.6115 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/2.859, allocations: 81.11 kB / 0.9479 GB, free: 141.4 MB / 0.6115 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0513/2.91, allocations: 19.74 MB / 0.9672 GB, free: 122.5 MB / 0.6115 GB Notification: Performance of collectPreVariables (initialization): time 0.000197/2.91, allocations: 89.7 kB / 0.9673 GB, free: 122.4 MB / 0.6115 GB Notification: Performance of collectInitialEqns (initialization): time 0.0164/2.927, allocations: 11.01 MB / 0.978 GB, free: 111.4 MB / 0.6115 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/2.927, allocations: 79.83 kB / 0.9781 GB, free: 111.3 MB / 0.6115 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/2.927, allocations: 64 kB / 0.9781 GB, free: 111.3 MB / 0.6115 GB Notification: Performance of setup shared object (initialization): time 5.431e-05/2.927, allocations: 317.9 kB / 0.9784 GB, free: 110.9 MB / 0.6115 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/2.928, allocations: 200 kB / 0.9786 GB, free: 110.8 MB / 0.6115 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/2.928, allocations: 200 kB / 0.9788 GB, free: 110.6 MB / 0.6115 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/2.928, allocations: 208 kB / 0.979 GB, free: 110.4 MB / 0.6115 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.734e-06/2.928, allocations: 0 / 0.979 GB, free: 110.4 MB / 0.6115 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.003542/2.932, allocations: 3.187 MB / 0.9821 GB, free: 107.1 MB / 0.6115 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-05/2.932, allocations: 41.62 kB / 0.9822 GB, free: 107.1 MB / 0.6115 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/2.932, allocations: 4 kB / 0.9822 GB, free: 107.1 MB / 0.6115 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/2.932, allocations: 0 / 0.9822 GB, free: 107.1 MB / 0.6115 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/2.932, allocations: 4 kB / 0.9822 GB, free: 107.1 MB / 0.6115 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.818e-06/2.932, allocations: 0 / 0.9822 GB, free: 107.1 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/2.935, allocations: 64 kB / 0.9822 GB, free: 107 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007512/2.936, allocations: 0.8594 MB / 0.9831 GB, free: 106.2 MB / 0.6115 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.0003394/2.936, allocations: 270.7 kB / 0.9833 GB, free: 105.9 MB / 0.6115 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002255/2.938, allocations: 2.267 MB / 0.9856 GB, free: 103.6 MB / 0.6115 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007556/2.946, allocations: 2.565 MB / 0.9881 GB, free: 101 MB / 0.6115 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-06/2.946, allocations: 4 kB / 0.9881 GB, free: 101 MB / 0.6115 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/2.946, allocations: 0 / 0.9881 GB, free: 101 MB / 0.6115 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.9e-06/2.946, allocations: 0 / 0.9881 GB, free: 101 MB / 0.6115 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01938/2.965, allocations: 7.452 MB / 0.9953 GB, free: 93.52 MB / 0.6115 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.538e-06/2.965, allocations: 3.953 kB / 0.9953 GB, free: 93.51 MB / 0.6115 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/2.965, allocations: 7.703 kB / 0.9954 GB, free: 93.51 MB / 0.6115 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.386e-06/2.965, allocations: 0 / 0.9954 GB, free: 93.51 MB / 0.6115 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002757/2.966, allocations: 188 kB / 0.9955 GB, free: 93.32 MB / 0.6115 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/2.966, allocations: 7.922 kB / 0.9955 GB, free: 93.32 MB / 0.6115 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.355e-06/2.966, allocations: 0 / 0.9955 GB, free: 93.32 MB / 0.6115 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01221/2.978, allocations: 9.486 MB / 1.005 GB, free: 83.72 MB / 0.6115 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/2.981, allocations: 1.98 MB / 1.007 GB, free: 81.69 MB / 0.6115 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001604/2.983, allocations: 66.75 kB / 1.007 GB, free: 81.63 MB / 0.6115 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002702/2.986, allocations: 75.86 kB / 1.007 GB, free: 81.55 MB / 0.6115 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/2.986, allocations: 4 kB / 1.007 GB, free: 81.55 MB / 0.6115 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007474/2.987, allocations: 0.8632 MB / 1.008 GB, free: 80.69 MB / 0.6115 GB Notification: Performance of sorting global known variables: time 0.03664/3.023, allocations: 15.59 MB / 1.023 GB, free: 65.25 MB / 0.6115 GB Notification: Performance of sort global known variables: time 2.27e-06/3.023, allocations: 0 / 1.023 GB, free: 65.25 MB / 0.6115 GB Notification: Performance of remove unused functions: time 0.002425/3.026, allocations: 0.6445 MB / 1.024 GB, free: 64.61 MB / 0.6115 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.0004163/3.026, allocations: 191.2 kB / 1.024 GB, free: 64.41 MB / 0.6115 GB Notification: Performance of simCode: created initialization part: time 0.0009139/3.027, allocations: 0.5541 MB / 1.024 GB, free: 63.85 MB / 0.6115 GB Notification: Performance of simCode: created event and clocks part: time 2.96e-06/3.027, allocations: 0 / 1.024 GB, free: 63.85 MB / 0.6115 GB Notification: Performance of simCode: created simulation system equations: time 0.0006266/3.028, allocations: 363.4 kB / 1.025 GB, free: 63.48 MB / 0.6115 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004193/3.032, allocations: 1.629 MB / 1.026 GB, free: 61.85 MB / 0.6115 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06783/3.1, allocations: 28.26 MB / 1.054 GB, free: 33.45 MB / 0.6115 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02966/3.13, allocations: 9.283 MB / 1.063 GB, free: 24.13 MB / 0.6115 GB Notification: Performance of simCode: alias equations: time 0.0267/3.156, allocations: 4.698 MB / 1.067 GB, free: 19.42 MB / 0.6115 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/3.158, allocations: 0.9838 MB / 1.068 GB, free: 18.43 MB / 0.6115 GB Notification: Performance of SimCode: time 2.034e-06/3.159, allocations: 0 / 1.068 GB, free: 18.43 MB / 0.6115 GB Notification: Performance of Templates: time 0.6115/3.77, allocations: 70.21 MB / 1.137 GB, free: 145.4 MB / 0.6115 GB