Notification: Performance of FrontEnd - loaded program: time 7.962e-06/8.171e-06, allocations: 1.312 kB / 439.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 78.97 MB / 0.5064 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.2544, allocations: 114.1 MB / 0.6178 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.2548, allocations: 75.95 kB / 0.6179 GB, free: 384 kB / 0.5137 GB Notification: Performance of FrontEnd: time 0.3904/0.6453, allocations: 19.92 MB / 0.6374 GB, free: 106.6 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 2.919e-05/0.6454, allocations: 12.47 kB / 0.6374 GB, free: 106.6 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001885/0.6474, allocations: 0.9245 MB / 0.6383 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.6475, allocations: 7.938 kB / 0.6383 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.6478, allocations: 74.41 kB / 0.6383 GB, free: 105.7 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03299/0.6808, allocations: 8.853 MB / 0.647 GB, free: 97.43 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.399e-05/0.681, allocations: 21.31 kB / 0.647 GB, free: 97.41 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.6812, allocations: 40 kB / 0.6471 GB, free: 97.38 MB / 0.5138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005668/0.6818, allocations: 214.4 kB / 0.6473 GB, free: 97.17 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000797/0.6827, allocations: 392.7 kB / 0.6476 GB, free: 96.77 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/0.6827, allocations: 0 / 0.6476 GB, free: 96.77 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.6829, allocations: 4 kB / 0.6476 GB, free: 96.76 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.683, allocations: 16 kB / 0.6477 GB, free: 96.75 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003646/0.6867, allocations: 1.715 MB / 0.6493 GB, free: 95 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.6881, allocations: 470 kB / 0.6498 GB, free: 94.5 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.6883, allocations: 67.39 kB / 0.6498 GB, free: 94.42 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 6.677e-05/0.6884, allocations: 16.72 kB / 0.6499 GB, free: 94.41 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.6885, allocations: 50.42 kB / 0.6499 GB, free: 94.35 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=68): time 2.794e-06/0.6886, allocations: 0 / 0.6499 GB, free: 94.35 MB / 0.5138 GB Notification: Performance of matching and sorting (n=68): time 0.001045/0.6897, allocations: 374.3 kB / 0.6503 GB, free: 93.98 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.00089/0.6906, allocations: 239.2 kB / 0.6505 GB, free: 93.75 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.6908, allocations: 121.3 kB / 0.6506 GB, free: 93.61 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.691, allocations: 338.9 kB / 0.6509 GB, free: 93.27 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.6912, allocations: 29.7 kB / 0.651 GB, free: 93.24 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.6913, allocations: 203.2 kB / 0.6511 GB, free: 93.04 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.6915, allocations: 136.2 kB / 0.6513 GB, free: 92.9 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.6916, allocations: 4 kB / 0.6513 GB, free: 92.9 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/0.6918, allocations: 350.7 kB / 0.6516 GB, free: 92.55 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.692, allocations: 85.06 kB / 0.6517 GB, free: 92.46 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.6923, allocations: 128.9 kB / 0.6518 GB, free: 92.32 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002599/0.6926, allocations: 101.5 kB / 0.6519 GB, free: 92.23 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.772e-06/0.6927, allocations: 0 / 0.6519 GB, free: 92.23 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008282/0.6936, allocations: 374.8 kB / 0.6523 GB, free: 91.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.6937, allocations: 8 kB / 0.6523 GB, free: 91.85 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.6937, allocations: 7.906 kB / 0.6523 GB, free: 91.84 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.451e-06/0.6938, allocations: 3.984 kB / 0.6523 GB, free: 91.84 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.6947, allocations: 111.8 kB / 0.6524 GB, free: 91.73 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.6958, allocations: 79.62 kB / 0.6525 GB, free: 91.65 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 4 * 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.0003104/0.6961, allocations: 235.7 kB / 0.6527 GB, free: 91.39 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.6965, allocations: 59.62 kB / 0.6528 GB, free: 91.33 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.6981, allocations: 0.6582 MB / 0.6534 GB, free: 90.67 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/0.6982, allocations: 18.17 kB / 0.6534 GB, free: 90.66 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.6983, allocations: 4 kB / 0.6534 GB, free: 90.65 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.6983, allocations: 3.984 kB / 0.6534 GB, free: 90.65 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002426/0.7008, allocations: 1.956 MB / 0.6553 GB, free: 88.56 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.102e-06/0.7009, allocations: 4 kB / 0.6553 GB, free: 88.56 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000928/0.7019, allocations: 160 kB / 0.6555 GB, free: 88.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.702, allocations: 12 kB / 0.6555 GB, free: 88.39 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.793e-05/0.7021, allocations: 31.97 kB / 0.6555 GB, free: 88.36 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.7022, allocations: 15.89 kB / 0.6555 GB, free: 88.34 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.844e-06/0.7023, allocations: 7.938 kB / 0.6556 GB, free: 88.34 MB / 0.5138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00124/0.7036, allocations: 0.9962 MB / 0.6565 GB, free: 87.23 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.7041, allocations: 247.8 kB / 0.6568 GB, free: 86.97 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.7043, allocations: 11.98 kB / 0.6568 GB, free: 86.96 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/0.7059, allocations: 59.95 kB / 0.6568 GB, free: 86.9 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.7061, allocations: 79.8 kB / 0.6569 GB, free: 86.82 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 4 * 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.001124/0.7073, allocations: 439.8 kB / 0.6573 GB, free: 86.43 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.0008177/0.7082, allocations: 488.7 kB / 0.6578 GB, free: 85.93 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.562e-06/0.7083, allocations: 0 / 0.6578 GB, free: 85.93 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.709, allocations: 498.7 kB / 0.6583 GB, free: 85.41 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.7096, allocations: 24 kB / 0.6583 GB, free: 85.39 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.7119, allocations: 0.9493 MB / 0.6592 GB, free: 84.36 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007228/0.7127, allocations: 1.137 MB / 0.6603 GB, free: 83.17 MB / 0.5138 GB Notification: Performance of SimCode: time 2.374e-06/0.7127, allocations: 0 / 0.6603 GB, free: 83.17 MB / 0.5138 GB Notification: Performance of Templates: time 0.08217/0.795, allocations: 9.5 MB / 0.6696 GB, free: 73.74 MB / 0.5138 GB