Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.53e-05, allocations: 1.312 kB / 439.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 78.98 MB / 0.5065 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.56/3.696, allocations: 2.333 GB / 2.84 GB, free: 49.14 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004535/3.697, allocations: 79.95 kB / 2.84 GB, free: 49.06 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.673/6.37, allocations: 0.536 GB / 3.376 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002011/6.37, allocations: 39.92 kB / 3.376 GB, free: 12.18 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.00908/6.379, allocations: 1.624 MB / 3.377 GB, free: 10.5 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/6.38, allocations: 8.031 kB / 3.377 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007315/6.387, allocations: 0.6039 MB / 3.378 GB, free: 9.883 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04148/6.429, allocations: 12.31 MB / 3.39 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001925/6.431, allocations: 352.7 kB / 3.39 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004327/6.431, allocations: 60 kB / 3.39 GB, free: 13 MB / 0.67 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001883/6.433, allocations: 479.9 kB / 3.391 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/6.436, allocations: 0.8361 MB / 3.392 GB, free: 11.56 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.163e-05/6.436, allocations: 3.938 kB / 3.392 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003473/6.436, allocations: 8 kB / 3.392 GB, free: 11.55 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.751e-05/6.437, allocations: 56.33 kB / 3.392 GB, free: 11.49 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/6.452, allocations: 6.456 MB / 3.398 GB, free: 5.039 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/6.454, allocations: 280 kB / 3.398 GB, free: 4.75 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/6.454, allocations: 33.7 kB / 3.398 GB, free: 4.711 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.827e-05/6.454, allocations: 20.92 kB / 3.398 GB, free: 4.691 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/6.456, allocations: 0.4962 MB / 3.399 GB, free: 4.078 MB / 0.67 GB Notification: Performance of pre-optimization done (n=50): time 1.027e-05/6.456, allocations: 0 / 3.399 GB, free: 4.078 MB / 0.67 GB Notification: Performance of matching and sorting (n=50): time 0.002455/6.458, allocations: 416.3 kB / 3.399 GB, free: 3.664 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002252/6.461, allocations: 438 kB / 3.4 GB, free: 3.238 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/6.461, allocations: 41.19 kB / 3.4 GB, free: 3.191 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/6.462, allocations: 0.5047 MB / 3.4 GB, free: 2.688 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/6.463, allocations: 29.89 kB / 3.4 GB, free: 2.652 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000659/6.464, allocations: 461 kB / 3.401 GB, free: 2.195 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/6.464, allocations: 109.3 kB / 3.401 GB, free: 2.086 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/6.464, allocations: 0 / 3.401 GB, free: 2.086 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001486/6.465, allocations: 338 kB / 3.401 GB, free: 1.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/6.465, allocations: 145.9 kB / 3.401 GB, free: 1.609 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/6.467, allocations: 433.1 kB / 3.402 GB, free: 1.051 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/6.468, allocations: 249.1 kB / 3.402 GB, free: 0.8125 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.536e-05/6.468, allocations: 4 kB / 3.402 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.004282/6.473, allocations: 0.6884 MB / 3.402 GB, free: 116 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/6.473, allocations: 8 kB / 3.403 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.914e-05/6.473, allocations: 16 kB / 3.403 GB, free: 92 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.443e-05/6.473, allocations: 19.94 kB / 3.403 GB, free: 72 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07578/6.549, allocations: 301.2 kB / 3.403 GB, free: 155.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/6.552, allocations: 247.8 kB / 3.403 GB, free: 155.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (104): * Single equations (assignments): 103 * 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.0004934/6.552, allocations: 180.4 kB / 3.403 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/6.553, allocations: 105.9 kB / 3.403 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/6.553, allocations: 45.61 kB / 3.403 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/6.553, allocations: 7.312 kB / 3.403 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/6.553, allocations: 3.812 kB / 3.403 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/6.553, allocations: 7.688 kB / 3.403 GB, free: 155.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/6.558, allocations: 2.865 MB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/6.558, allocations: 6.594 kB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000917/6.559, allocations: 122.5 kB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/6.559, allocations: 15.5 kB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.745e-05/6.559, allocations: 21.02 kB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.278e-05/6.559, allocations: 10.38 kB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/6.559, allocations: 13.72 kB / 3.406 GB, free: 154.4 MB / 0.67 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00133/6.56, allocations: 0.9898 MB / 3.407 GB, free: 153.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008284/6.561, allocations: 358.6 kB / 3.408 GB, free: 153.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003443/6.562, allocations: 17.95 kB / 3.408 GB, free: 153.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/6.564, allocations: 139.2 kB / 3.408 GB, free: 153.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.792e-05/6.564, allocations: 40.53 kB / 3.408 GB, free: 153.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * 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 (44): * Single equations (assignments): 43 * 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.002553/6.567, allocations: 1.71 MB / 3.41 GB, free: 153.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001466/6.568, allocations: 0.5358 MB / 3.41 GB, free: 153 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/6.568, allocations: 3.719 kB / 3.41 GB, free: 153 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006028/6.569, allocations: 278.8 kB / 3.41 GB, free: 153 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002713/6.572, allocations: 379 kB / 3.411 GB, free: 153 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/6.576, allocations: 1.603 MB / 3.412 GB, free: 152.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001447/6.578, allocations: 1.361 MB / 3.414 GB, free: 151.4 MB / 0.67 GB Notification: Performance of SimCode: time 3.282e-06/6.578, allocations: 0 / 3.414 GB, free: 151.4 MB / 0.67 GB Notification: Performance of Templates: time 0.1152/6.693, allocations: 30.05 MB / 3.443 GB, free: 150.9 MB / 0.67 GB