Notification: Performance of FrontEnd - loaded program: time 1.376e-05/1.397e-05, allocations: 2.75 kB / 439.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.131, allocations: 78.98 MB / 0.5065 GB, free: 2.664 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.2692, allocations: 107.8 MB / 0.6117 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/0.2695, allocations: 75.95 kB / 0.6118 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of FrontEnd: time 0.007225/0.2768, allocations: 1.357 MB / 0.6131 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.08e-06/0.2769, allocations: 0 / 0.6131 GB, free: 5.305 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002759/0.2772, allocations: 334.4 kB / 0.6134 GB, free: 4.934 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.2773, allocations: 8.031 kB / 0.6134 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.094e-05/0.2774, allocations: 0 / 0.6134 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.086e-05/0.2776, allocations: 177 kB / 0.6136 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2777, allocations: 0 / 0.6136 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.2777, allocations: 4 kB / 0.6136 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.58e-05/0.2778, allocations: 12 kB / 0.6136 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.803e-05/0.278, allocations: 41.53 kB / 0.6137 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.521e-06/0.278, allocations: 0 / 0.6137 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.2781, allocations: 0 / 0.6137 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-06/0.2781, allocations: 0 / 0.6137 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.2783, allocations: 171.6 kB / 0.6138 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.2785, allocations: 25.72 kB / 0.6138 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.2786, allocations: 12.84 kB / 0.6139 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003053/0.279, allocations: 113.1 kB / 0.614 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.2791, allocations: 30.56 kB / 0.614 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 2.025e-06/0.2791, allocations: 0 / 0.614 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.002556/0.2817, allocations: 496.1 kB / 0.6145 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of remove unused functions: time 5.629e-05/0.2819, allocations: 11.91 kB / 0.6145 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-06/0.2819, allocations: 448 / 0.6145 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.105e-05/0.282, allocations: 229.8 kB / 0.6147 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.2821, allocations: 29.7 kB / 0.6147 GB, free: 3.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 1.551e-05/0.2822, allocations: 80.14 kB / 0.6148 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2823, allocations: 11.98 kB / 0.6148 GB, free: 3.316 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-06/0.2823, allocations: 7.938 kB / 0.6148 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 3.96e-05/0.2824, allocations: 318.8 kB / 0.6151 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.2825, allocations: 4 kB / 0.6151 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.2826, allocations: 8 kB / 0.6151 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.744e-05/0.2827, allocations: 15.92 kB / 0.6152 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.746e-06/0.2827, allocations: 0 / 0.6152 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.2829, allocations: 53.69 kB / 0.6152 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.076e-06/0.283, allocations: 0 / 0.6152 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.283, allocations: 3.938 kB / 0.6152 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2831, allocations: 8 kB / 0.6152 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.2834, allocations: 27.97 kB / 0.6152 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.2836, allocations: 11.98 kB / 0.6153 GB, free: 2.852 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001387/0.2838, allocations: 112.9 kB / 0.6154 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.2e-05/0.2838, allocations: 64 / 0.6154 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.2839, allocations: 6.406 kB / 0.6154 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-06/0.284, allocations: 4 kB / 0.6154 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.284, allocations: 3.938 kB / 0.6154 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.238e-06/0.2841, allocations: 336 / 0.6154 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004608/0.2846, allocations: 321.9 kB / 0.6157 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-06/0.2847, allocations: 0 / 0.6157 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.285, allocations: 31.95 kB / 0.6157 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.565e-06/0.285, allocations: 4 kB / 0.6157 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.2851, allocations: 4.031 kB / 0.6157 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.073e-06/0.2851, allocations: 3.938 kB / 0.6157 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.212e-06/0.2852, allocations: 0 / 0.6157 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001994/0.2854, allocations: 178 kB / 0.6159 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.693e-05/0.2856, allocations: 85.09 kB / 0.616 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.2857, allocations: 0 / 0.616 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.2859, allocations: 19.98 kB / 0.616 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.286, allocations: 4 kB / 0.616 GB, free: 1.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.0002004/0.2863, allocations: 115 kB / 0.6161 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.2865, allocations: 23.94 kB / 0.6161 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.54e-06/0.2865, allocations: 4 kB / 0.6161 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.2866, allocations: 8 kB / 0.6161 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.2868, allocations: 8.5 kB / 0.6162 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007724/0.2876, allocations: 256.7 kB / 0.6164 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.2881, allocations: 0.74 MB / 0.6171 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of SimCode: time 1.815e-06/0.2881, allocations: 0 / 0.6171 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of Templates: time 0.1237/0.4119, allocations: 0.8237 MB / 0.6179 GB, free: 78.04 MB / 0.5137 GB