Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.179e-05, allocations: 4 kB / 327.9 MB, free: 456 kB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07607/0.07612, allocations: 44.52 MB / 372.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4032/0.4793, allocations: 71.18 MB / 443.6 MB, free: 18.69 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.4797, allocations: 63.97 kB / 443.7 MB, free: 18.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.009623/0.4893, allocations: 1.693 MB / 445.4 MB, free: 16.95 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.738e-06/0.4894, allocations: 3.938 kB / 445.4 MB, free: 16.95 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.4894, allocations: 4 kB / 445.4 MB, free: 16.95 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004358/0.4899, allocations: 431.2 kB / 445.8 MB, free: 16.47 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.4899, allocations: 12.03 kB / 445.8 MB, free: 16.46 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.453e-05/0.49, allocations: 7.906 kB / 445.8 MB, free: 16.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.4901, allocations: 177.1 kB / 446 MB, free: 16.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.4902, allocations: 4 kB / 446 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.4902, allocations: 11.66 kB / 446 MB, free: 16.23 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001473/0.4904, allocations: 24.75 kB / 446 MB, free: 16.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4906, allocations: 89.05 kB / 446.1 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4906, allocations: 0 / 446.1 MB, free: 16.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.4907, allocations: 7.938 kB / 446.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-06/0.4907, allocations: 0 / 446.1 MB, free: 16.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.4911, allocations: 368 kB / 446.5 MB, free: 15.68 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.4913, allocations: 85.41 kB / 446.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.4914, allocations: 50.7 kB / 446.6 MB, free: 15.52 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.4914, allocations: 3.938 kB / 446.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002359/0.4917, allocations: 138.5 kB / 446.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 4.643e-06/0.4917, allocations: 0 / 446.7 MB, free: 15.35 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004161/0.4921, allocations: 117.5 kB / 446.9 MB, free: 15.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.4922, allocations: 166.3 kB / 447 MB, free: 15.03 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.4923, allocations: 121 kB / 447.1 MB, free: 14.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.4924, allocations: 25.7 kB / 447.2 MB, free: 14.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.507e-05/0.4924, allocations: 92.14 kB / 447.3 MB, free: 14.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.4925, allocations: 23.7 kB / 447.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.764e-06/0.4925, allocations: 0 / 447.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.4926, allocations: 322.8 kB / 447.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.2e-05/0.4927, allocations: 24 kB / 447.6 MB, free: 14.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.4928, allocations: 51.36 kB / 447.7 MB, free: 14.35 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.4929, allocations: 105.8 kB / 447.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.157e-06/0.493, allocations: 0 / 447.8 MB, free: 14.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003641/0.4933, allocations: 113.5 kB / 447.9 MB, free: 14.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.67e-05/0.4934, allocations: 59.39 kB / 447.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.4934, allocations: 4.062 kB / 447.9 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.4935, allocations: 4 kB / 447.9 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/0.4935, allocations: 9.062 kB / 448 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.264e-06/0.4935, allocations: 3.938 kB / 448 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.4937, allocations: 19.92 kB / 448 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.733e-05/0.4937, allocations: 4 kB / 448 MB, free: 14 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,step.y,pulse.y,$PRE.pulse.pulsStart,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,$PRE.table.y,table.y,$PRE.table.nextTime,table.nextTime,$PRE.table.index,table.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001063/0.4938, allocations: 150.6 kB / 448.1 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.4939, allocations: 13.03 kB / 448.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.4939, allocations: 8.406 kB / 448.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.009e-06/0.494, allocations: 0 / 448.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.572e-06/0.494, allocations: 4 kB / 448.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-06/0.494, allocations: 0 / 448.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.4941, allocations: 174.1 kB / 448.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-06/0.4942, allocations: 1.078 kB / 448.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/0.4942, allocations: 3.953 kB / 448.3 MB, free: 13.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4942, allocations: 4 kB / 448.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.4942, allocations: 3.938 kB / 448.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.704e-06/0.4942, allocations: 4 kB / 448.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.803e-06/0.4942, allocations: 7.938 kB / 448.3 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004942/0.4947, allocations: 0.7507 MB / 449.1 MB, free: 12.77 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.4948, allocations: 89.02 kB / 449.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.4948, allocations: 4 kB / 449.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001357/0.495, allocations: 15.98 kB / 449.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.4951, allocations: 15.94 kB / 449.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.4951, allocations: 7.984 kB / 449.2 MB, free: 12.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.4952, allocations: 95.28 kB / 449.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.45e-07/0.4952, allocations: 0 / 449.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004948/0.4957, allocations: 32 kB / 449.3 MB, free: 12.49 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,step.y,pulse.y,pulse.pulsStart,booleanExpression.y,sample.y,$whenCondition1,table.y,table.nextTime,table.index) * Number of discrete states: 4 (table.y,table.nextTime,table.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001819/0.4959, allocations: 119.2 kB / 449.5 MB, free: 12.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002341/0.4961, allocations: 182.8 kB / 449.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.543e-06/0.4962, allocations: 4 kB / 449.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.4963, allocations: 111.3 kB / 449.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.4965, allocations: 12.23 kB / 449.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.497, allocations: 271.1 kB / 450 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.4972, allocations: 0.704 MB / 450.7 MB, free: 10.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.994e-05/0.4972, allocations: 9.859 kB / 450.7 MB, free: 10.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.83e-05/0.4973, allocations: 11.44 kB / 450.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of SimCode: time 1.218e-06/0.4973, allocations: 0 / 450.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of Templates: time 0.004703/0.502, allocations: 1.163 MB / 451.9 MB, free: 9.832 MB / 318.1 MB