Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.816e-05, allocations: 6.75 kB / 0.5178 GB, free: 13.55 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 76.94 MB / 0.593 GB, free: 0.5352 MB / 480.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9748/1.092, allocations: 120.6 MB / 0.7107 GB, free: 37.03 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001574/1.092, allocations: 55.2 kB / 0.7108 GB, free: 36.98 MB / 0.5022 GB Notification: Performance of FrontEnd: time 26.26/27.36, allocations: 2.182 GB / 2.893 GB, free: 156.8 MB / 0.6936 GB Notification: Performance of Transformations before backend: time 0.005577/27.36, allocations: 0.9753 MB / 2.894 GB, free: 156.8 MB / 0.6936 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.09813/27.46, allocations: 49.28 MB / 2.942 GB, free: 126.3 MB / 0.6936 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/27.46, allocations: 9.25 kB / 2.942 GB, free: 126.3 MB / 0.6936 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02444/27.48, allocations: 9.038 MB / 2.951 GB, free: 121.3 MB / 0.6936 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3988/27.88, allocations: 89.15 MB / 3.038 GB, free: 64.31 MB / 0.6936 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/27.88, allocations: 3.594 kB / 3.038 GB, free: 64.31 MB / 0.6936 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008681/27.88, allocations: 255.9 kB / 3.038 GB, free: 64.06 MB / 0.6936 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/27.89, allocations: 1.477 MB / 3.04 GB, free: 62.58 MB / 0.6936 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/27.89, allocations: 2.729 MB / 3.042 GB, free: 59.84 MB / 0.6936 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/27.89, allocations: 0 / 3.042 GB, free: 59.84 MB / 0.6936 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005856/27.89, allocations: 252 kB / 3.043 GB, free: 59.6 MB / 0.6936 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-06/27.89, allocations: 0 / 3.043 GB, free: 59.6 MB / 0.6936 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06998/27.96, allocations: 26.94 MB / 3.069 GB, free: 32.6 MB / 0.6936 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/27.96, allocations: 0.7681 MB / 3.07 GB, free: 31.82 MB / 0.6936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/27.96, allocations: 0.7625 MB / 3.07 GB, free: 31.05 MB / 0.6936 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/27.96, allocations: 0 / 3.07 GB, free: 31.05 MB / 0.6936 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002305/27.96, allocations: 2.295 MB / 3.073 GB, free: 28.74 MB / 0.6936 GB Notification: Performance of pre-optimization done (n=8): time 4.147e-06/27.96, allocations: 0 / 3.073 GB, free: 28.74 MB / 0.6936 GB Notification: Performance of matching and sorting (n=8): time 0.01571/27.98, allocations: 12.52 MB / 3.085 GB, free: 16.1 MB / 0.6936 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/27.98, allocations: 77.11 kB / 3.085 GB, free: 16 MB / 0.6936 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.599/28.58, allocations: 78.7 MB / 3.162 GB, free: 119.8 MB / 0.6936 GB Notification: Performance of collectPreVariables (initialization): time 0.001053/28.58, allocations: 277.5 kB / 3.162 GB, free: 119.7 MB / 0.6936 GB Notification: Performance of collectInitialEqns (initialization): time 0.08884/28.67, allocations: 47.7 MB / 3.209 GB, free: 96.73 MB / 0.7092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008688/28.67, allocations: 269.1 kB / 3.209 GB, free: 96.73 MB / 0.7092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005845/28.67, allocations: 250.5 kB / 3.209 GB, free: 96.73 MB / 0.7092 GB Notification: Performance of setup shared object (initialization): time 5.864e-05/28.67, allocations: 313.2 kB / 3.209 GB, free: 96.42 MB / 0.7092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/28.67, allocations: 0.7431 MB / 3.21 GB, free: 96.42 MB / 0.7092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/28.67, allocations: 0.7479 MB / 3.211 GB, free: 96.41 MB / 0.7092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/28.68, allocations: 0.7499 MB / 3.212 GB, free: 96.41 MB / 0.7092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.361e-06/28.68, allocations: 3.281 kB / 3.212 GB, free: 96.41 MB / 0.7092 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01809/28.69, allocations: 12.52 MB / 3.224 GB, free: 96.36 MB / 0.7092 GB Notification: Performance of prepare postOptimizeDAE: time 5.868e-05/28.69, allocations: 41.55 kB / 3.224 GB, free: 96.33 MB / 0.7092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.522e-06/28.69, allocations: 6.75 kB / 3.224 GB, free: 96.33 MB / 0.7092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/28.69, allocations: 0.5938 kB / 3.224 GB, free: 96.33 MB / 0.7092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.697e-05/28.69, allocations: 4.938 kB / 3.224 GB, free: 96.33 MB / 0.7092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.182e-06/28.69, allocations: 5.609 kB / 3.224 GB, free: 96.33 MB / 0.7092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01854/28.71, allocations: 252.6 kB / 3.224 GB, free: 96.33 MB / 0.7092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004848/28.72, allocations: 3.422 MB / 3.227 GB, free: 95.84 MB / 0.7092 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.001126/28.72, allocations: 0.6314 MB / 3.228 GB, free: 95.7 MB / 0.7092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01183/28.73, allocations: 9.042 MB / 3.237 GB, free: 90.7 MB / 0.7092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03836/28.77, allocations: 10.22 MB / 3.247 GB, free: 87.8 MB / 0.7092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.597e-06/28.77, allocations: 0 / 3.247 GB, free: 87.8 MB / 0.7092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.941e-06/28.77, allocations: 3.406 kB / 3.247 GB, free: 87.8 MB / 0.7092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.371e-06/28.77, allocations: 0 / 3.247 GB, free: 87.8 MB / 0.7092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1196/28.89, allocations: 29.39 MB / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.56e-06/28.89, allocations: 0 / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.352e-05/28.89, allocations: 0 / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/28.89, allocations: 11.23 kB / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001702/28.89, allocations: 0.7349 MB / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.356e-06/28.89, allocations: 0 / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.928e-06/28.89, allocations: 0 / 3.276 GB, free: 78.66 MB / 0.7092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1334/29.02, allocations: 36 MB / 3.311 GB, free: 48.09 MB / 0.7092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03654/29.06, allocations: 7.667 MB / 3.319 GB, free: 40.29 MB / 0.7092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0167/29.08, allocations: 254 kB / 3.319 GB, free: 40.05 MB / 0.7092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0282/29.11, allocations: 257.8 kB / 3.319 GB, free: 39.8 MB / 0.7092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/29.11, allocations: 2.625 kB / 3.319 GB, free: 39.8 MB / 0.7092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005749/29.11, allocations: 3.426 MB / 3.323 GB, free: 36.38 MB / 0.7092 GB Notification: Performance of sorting global known variables: time 0.4992/29.61, allocations: 62.38 MB / 3.384 GB, free: 160.3 MB / 0.7248 GB Notification: Performance of sort global known variables: time 9.22e-07/29.61, allocations: 0 / 3.384 GB, free: 160.3 MB / 0.7248 GB Notification: Performance of remove unused functions: time 0.01147/29.62, allocations: 2.477 MB / 3.386 GB, free: 160.3 MB / 0.7248 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.001152/29.62, allocations: 376.9 kB / 3.386 GB, free: 160.2 MB / 0.7248 GB Notification: Performance of simCode: created initialization part: time 0.004201/29.63, allocations: 1.844 MB / 3.388 GB, free: 160.1 MB / 0.7248 GB Notification: Performance of simCode: created event and clocks part: time 6.259e-06/29.63, allocations: 1.562 kB / 3.388 GB, free: 160.1 MB / 0.7248 GB Notification: Performance of simCode: created simulation system equations: time 0.002238/29.63, allocations: 1.081 MB / 3.389 GB, free: 160 MB / 0.7248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02179/29.65, allocations: 6.501 MB / 3.396 GB, free: 155.7 MB / 0.7248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2981/29.95, allocations: 118.4 MB / 3.511 GB, free: 126.8 MB / 0.7248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09946/30.05, allocations: 35.85 MB / 3.546 GB, free: 97.01 MB / 0.7248 GB Notification: Performance of simCode: alias equations: time 0.07981/30.13, allocations: 18.64 MB / 3.565 GB, free: 78.37 MB / 0.7248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005233/30.14, allocations: 3.917 MB / 3.568 GB, free: 74.45 MB / 0.7248 GB Notification: Performance of SimCode: time 1.588e-06/30.14, allocations: 0 / 3.568 GB, free: 74.45 MB / 0.7248 GB Notification: Performance of Templates: time 1.86/32, allocations: 290.1 MB / 3.852 GB, free: 62.55 MB / 0.7405 GB