Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.221e-05, allocations: 3.938 kB / 0.5178 GB, free: 12.68 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 76.94 MB / 0.593 GB, free: 15.67 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7546/0.9275, allocations: 120.6 MB / 0.7108 GB, free: 36.25 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001055/0.9277, allocations: 47.98 kB / 0.7108 GB, free: 36.2 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.04921/0.9769, allocations: 13.15 MB / 0.7237 GB, free: 23.03 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 7.452e-05/0.977, allocations: 32 kB / 0.7237 GB, free: 23 MB / 0.5022 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.001892/0.9789, allocations: 1.892 MB / 0.7255 GB, free: 21.05 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.979, allocations: 8.031 kB / 0.7255 GB, free: 21.04 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003466/0.9793, allocations: 297.2 kB / 0.7258 GB, free: 20.75 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005904/0.9852, allocations: 2.884 MB / 0.7286 GB, free: 17.81 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.9853, allocations: 0 / 0.7286 GB, free: 17.81 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.9854, allocations: 16 kB / 0.7287 GB, free: 17.8 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001324/0.9855, allocations: 60 kB / 0.7287 GB, free: 17.74 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.9857, allocations: 130.6 kB / 0.7288 GB, free: 17.61 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.253e-06/0.9857, allocations: 0 / 0.7288 GB, free: 17.61 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.151e-05/0.9858, allocations: 12 kB / 0.7288 GB, free: 17.59 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.452e-06/0.9858, allocations: 0 / 0.7288 GB, free: 17.59 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.9869, allocations: 0.9702 MB / 0.7298 GB, free: 16.59 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.987, allocations: 66.45 kB / 0.7299 GB, free: 16.52 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.735e-05/0.9871, allocations: 56.83 kB / 0.7299 GB, free: 16.46 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.9871, allocations: 0 / 0.7299 GB, free: 16.46 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/0.9873, allocations: 157 kB / 0.7301 GB, free: 16.29 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=8): time 2.382e-06/0.9873, allocations: 0 / 0.7301 GB, free: 16.29 MB / 0.5022 GB Notification: Performance of matching and sorting (n=8): time 0.0006432/0.988, allocations: 473.8 kB / 0.7305 GB, free: 15.81 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.988, allocations: 77.11 kB / 0.7306 GB, free: 15.72 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003228/0.9913, allocations: 2.542 MB / 0.7331 GB, free: 13.2 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 3.902e-05/0.9913, allocations: 45.67 kB / 0.7331 GB, free: 13.15 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.9925, allocations: 1.263 MB / 0.7343 GB, free: 11.88 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.9925, allocations: 19.81 kB / 0.7344 GB, free: 11.86 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/0.9926, allocations: 8 kB / 0.7344 GB, free: 11.86 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 5.028e-05/0.9926, allocations: 313.9 kB / 0.7347 GB, free: 11.54 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.9927, allocations: 36 kB / 0.7347 GB, free: 11.51 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.62e-05/0.9928, allocations: 43.97 kB / 0.7348 GB, free: 11.46 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.9929, allocations: 40 kB / 0.7348 GB, free: 11.43 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.557e-06/0.9929, allocations: 0 / 0.7348 GB, free: 11.43 MB / 0.5022 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005882/0.9935, allocations: 481.8 kB / 0.7352 GB, free: 10.95 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 3.815e-05/0.9936, allocations: 33.7 kB / 0.7353 GB, free: 10.91 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.742e-06/0.9936, allocations: 0 / 0.7353 GB, free: 10.91 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.9936, allocations: 0 / 0.7353 GB, free: 10.91 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.262e-05/0.9937, allocations: 7.984 kB / 0.7353 GB, free: 10.9 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.279e-06/0.9937, allocations: 0 / 0.7353 GB, free: 10.9 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.9941, allocations: 12 kB / 0.7353 GB, free: 10.89 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.515e-05/0.9942, allocations: 112 kB / 0.7354 GB, free: 10.78 MB / 0.5022 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.0001163/0.9943, allocations: 162.6 kB / 0.7356 GB, free: 10.61 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002408/0.9946, allocations: 300.2 kB / 0.7358 GB, free: 10.31 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004888/0.9951, allocations: 333.9 kB / 0.7362 GB, free: 9.984 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.017e-06/0.9951, allocations: 0 / 0.7362 GB, free: 9.984 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.9951, allocations: 4.094 kB / 0.7362 GB, free: 9.98 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.992e-06/0.9951, allocations: 3.938 kB / 0.7362 GB, free: 9.977 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/0.9962, allocations: 1.052 MB / 0.7372 GB, free: 8.891 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.984e-06/0.9963, allocations: 3.953 kB / 0.7372 GB, free: 8.887 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.9963, allocations: 6.5 kB / 0.7372 GB, free: 8.883 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.806e-06/0.9963, allocations: 0 / 0.7372 GB, free: 8.883 MB / 0.5022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.839e-05/0.9964, allocations: 24 kB / 0.7372 GB, free: 8.859 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.9964, allocations: 0 / 0.7372 GB, free: 8.859 MB / 0.5022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.536e-06/0.9964, allocations: 4 kB / 0.7372 GB, free: 8.855 MB / 0.5022 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.9977, allocations: 1.759 MB / 0.739 GB, free: 7.039 MB / 0.5022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003638/0.9981, allocations: 333.3 kB / 0.7393 GB, free: 6.691 MB / 0.5022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.9983, allocations: 16 kB / 0.7393 GB, free: 6.676 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/0.9986, allocations: 8 kB / 0.7393 GB, free: 6.668 MB / 0.5022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.9987, allocations: 12.02 kB / 0.7393 GB, free: 6.656 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.27e-05/0.9988, allocations: 116 kB / 0.7394 GB, free: 6.543 MB / 0.5022 GB Notification: Performance of sorting global known variables: time 0.002634/1.001, allocations: 1.993 MB / 0.7414 GB, free: 4.57 MB / 0.5022 GB Notification: Performance of sort global known variables: time 8.67e-07/1.001, allocations: 0 / 0.7414 GB, free: 4.57 MB / 0.5022 GB Notification: Performance of remove unused functions: time 0.0006936/1.002, allocations: 112 kB / 0.7415 GB, free: 4.461 MB / 0.5022 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.0001965/1.002, allocations: 135.2 kB / 0.7416 GB, free: 4.316 MB / 0.5022 GB Notification: Performance of simCode: created initialization part: time 0.0002856/1.003, allocations: 187.4 kB / 0.7418 GB, free: 4.121 MB / 0.5022 GB Notification: Performance of simCode: created event and clocks part: time 2.608e-06/1.003, allocations: 0 / 0.7418 GB, free: 4.121 MB / 0.5022 GB Notification: Performance of simCode: created simulation system equations: time 0.000143/1.003, allocations: 143.4 kB / 0.7419 GB, free: 3.969 MB / 0.5022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/1.003, allocations: 221.5 kB / 0.7421 GB, free: 3.75 MB / 0.5022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/1.008, allocations: 3.415 MB / 0.7455 GB, free: 280 kB / 0.5022 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001989/1.01, allocations: 1.738 MB / 0.7472 GB, free: 14.5 MB / 0.5178 GB Notification: Performance of simCode: alias equations: time 0.002016/1.012, allocations: 0.5883 MB / 0.7477 GB, free: 13.91 MB / 0.5178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/1.013, allocations: 135.4 kB / 0.7479 GB, free: 13.77 MB / 0.5178 GB Notification: Performance of SimCode: time 1.314e-06/1.013, allocations: 0 / 0.7479 GB, free: 13.77 MB / 0.5178 GB Notification: Performance of Templates: time 0.04084/1.054, allocations: 8.968 MB / 0.7566 GB, free: 4.75 MB / 0.5178 GB