Notification: Performance of FrontEnd - loaded program: time 9.08e-06/9.219e-06, allocations: 1.406 kB / 439.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1332, allocations: 78.97 MB / 0.5065 GB, free: 2.652 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4131/0.5464, allocations: 351.1 MB / 0.8493 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004226/0.547, allocations: 84.08 kB / 0.8494 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of FrontEnd: time 0.8436/1.391, allocations: 231.2 MB / 1.075 GB, free: 49.59 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.514e-05/1.391, allocations: 24.17 kB / 1.075 GB, free: 49.57 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002651/1.394, allocations: 0.9211 MB / 1.076 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.394, allocations: 8.031 kB / 1.076 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002539/1.396, allocations: 199.4 kB / 1.076 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04839/1.445, allocations: 10.98 MB / 1.087 GB, free: 37.27 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004753/1.446, allocations: 94.16 kB / 1.087 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/1.446, allocations: 28 kB / 1.087 GB, free: 37.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004263/1.446, allocations: 169.9 kB / 1.087 GB, free: 36.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005944/1.447, allocations: 386.4 kB / 1.088 GB, free: 36.54 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.447, allocations: 4 kB / 1.088 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/1.447, allocations: 3.938 kB / 1.088 GB, free: 36.53 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/1.447, allocations: 20.77 kB / 1.088 GB, free: 36.5 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003552/1.451, allocations: 3.124 MB / 1.091 GB, free: 33.16 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004756/1.451, allocations: 166.7 kB / 1.091 GB, free: 32.98 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.921e-05/1.451, allocations: 29.22 kB / 1.091 GB, free: 32.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.911e-05/1.452, allocations: 12.59 kB / 1.091 GB, free: 32.94 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002676/1.452, allocations: 193.2 kB / 1.091 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=33): time 5.168e-06/1.452, allocations: 0 / 1.091 GB, free: 32.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=34): time 0.005506/1.457, allocations: 1.145 MB / 1.092 GB, free: 31.52 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007322/1.458, allocations: 203.8 kB / 1.092 GB, free: 31.32 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/1.458, allocations: 30.47 kB / 1.092 GB, free: 31.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/1.459, allocations: 393.4 kB / 1.093 GB, free: 30.9 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/1.459, allocations: 25.7 kB / 1.093 GB, free: 30.87 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/1.459, allocations: 227 kB / 1.093 GB, free: 30.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.29e-05/1.459, allocations: 68.09 kB / 1.093 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/1.459, allocations: 0 / 1.093 GB, free: 30.57 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/1.459, allocations: 366.8 kB / 1.094 GB, free: 30.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/1.46, allocations: 56.8 kB / 1.094 GB, free: 30.14 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/1.46, allocations: 159.4 kB / 1.094 GB, free: 29.94 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/1.46, allocations: 95.36 kB / 1.094 GB, free: 29.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/1.46, allocations: 8 kB / 1.094 GB, free: 29.84 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.004009/1.464, allocations: 1.926 MB / 1.096 GB, free: 27.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.465, allocations: 4 kB / 1.096 GB, free: 27.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003241/1.465, allocations: 88.83 kB / 1.096 GB, free: 27.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001851/1.467, allocations: 0.7208 MB / 1.096 GB, free: 26.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000694/1.468, allocations: 111.8 kB / 1.097 GB, free: 26.84 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/1.469, allocations: 95.92 kB / 1.097 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-06/1.469, allocations: 0 / 1.097 GB, free: 26.75 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007972/1.47, allocations: 252.1 kB / 1.097 GB, free: 26.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.219e-06/1.47, allocations: 4 kB / 1.097 GB, free: 26.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/1.47, allocations: 53.2 kB / 1.097 GB, free: 26.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/1.472, allocations: 1.421 MB / 1.098 GB, free: 24.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/1.472, allocations: 115.8 kB / 1.098 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008682/1.473, allocations: 72.12 kB / 1.099 GB, free: 24.7 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003718/1.474, allocations: 146.6 kB / 1.099 GB, free: 24.54 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.474, allocations: 55.62 kB / 1.099 GB, free: 24.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002848/1.477, allocations: 0.5526 MB / 1.099 GB, free: 23.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/1.477, allocations: 4 kB / 1.099 GB, free: 23.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.867e-06/1.477, allocations: 4 kB / 1.099 GB, free: 23.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002748/1.48, allocations: 0.7421 MB / 1.1 GB, free: 23.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/1.484, allocations: 1.258 MB / 1.101 GB, free: 21.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.034e-05/1.484, allocations: 3.984 kB / 1.101 GB, free: 21.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/1.485, allocations: 80 kB / 1.101 GB, free: 21.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/1.485, allocations: 101.7 kB / 1.101 GB, free: 21.59 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/1.485, allocations: 12.03 kB / 1.101 GB, free: 21.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006116/1.492, allocations: 2.477 MB / 1.104 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.378e-06/1.492, allocations: 0 / 1.104 GB, free: 18.93 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003226/1.495, allocations: 0.8583 MB / 1.105 GB, free: 18.01 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/1.496, allocations: 184.4 kB / 1.105 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/1.496, allocations: 4 kB / 1.105 GB, free: 17.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/1.497, allocations: 99.84 kB / 1.105 GB, free: 17.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/1.497, allocations: 19.97 kB / 1.105 GB, free: 17.69 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.000976/1.498, allocations: 407.2 kB / 1.105 GB, free: 17.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002204/1.5, allocations: 0.7102 MB / 1.106 GB, free: 16.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.517e-06/1.5, allocations: 0 / 1.106 GB, free: 16.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00145/1.502, allocations: 441 kB / 1.106 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/1.503, allocations: 219.6 kB / 1.107 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/1.506, allocations: 0.8287 MB / 1.108 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/1.506, allocations: 0.9953 MB / 1.108 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of SimCode: time 1.955e-06/1.507, allocations: 4 kB / 1.108 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of Templates: time 0.3155/1.822, allocations: 14.73 MB / 1.123 GB, free: 221.1 MB / 0.6544 GB