Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.68e-05, allocations: 0 / 0.5197 GB, free: 10.77 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1244, allocations: 76.94 MB / 0.5948 GB, free: 13.75 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7208/0.8453, allocations: 122.2 MB / 0.7141 GB, free: 33.02 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001055/0.8454, allocations: 52.5 kB / 0.7142 GB, free: 32.96 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.01854/0.864, allocations: 5.297 MB / 0.7194 GB, free: 27.68 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 2.358e-05/0.864, allocations: 8 kB / 0.7194 GB, free: 27.67 MB / 0.5022 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.000978/0.865, allocations: 0.6447 MB / 0.72 GB, free: 26.98 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.8651, allocations: 8.031 kB / 0.72 GB, free: 26.97 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.787e-05/0.8652, allocations: 36.56 kB / 0.72 GB, free: 26.93 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.8657, allocations: 316.3 kB / 0.7203 GB, free: 26.59 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8657, allocations: 15.94 kB / 0.7204 GB, free: 26.57 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.892e-05/0.8658, allocations: 16 kB / 0.7204 GB, free: 26.55 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005386/0.8664, allocations: 293.4 kB / 0.7207 GB, free: 26.27 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/0.867, allocations: 338 kB / 0.721 GB, free: 25.93 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.867, allocations: 0 / 0.721 GB, free: 25.93 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.8671, allocations: 4 kB / 0.721 GB, free: 25.93 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.961e-06/0.8671, allocations: 8 kB / 0.721 GB, free: 25.92 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0022/0.8693, allocations: 1.201 MB / 0.7222 GB, free: 24.66 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003926/0.8697, allocations: 278.8 kB / 0.7224 GB, free: 24.38 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.87, allocations: 168.7 kB / 0.7226 GB, free: 24.21 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.87, allocations: 4 kB / 0.7226 GB, free: 24.2 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003929/0.8704, allocations: 276.1 kB / 0.7229 GB, free: 23.91 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=30): time 3.385e-06/0.8704, allocations: 0 / 0.7229 GB, free: 23.91 MB / 0.5022 GB Notification: Performance of matching and sorting (n=30): time 0.0008294/0.8713, allocations: 399.7 kB / 0.7232 GB, free: 23.51 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.8713, allocations: 166.2 kB / 0.7234 GB, free: 23.31 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002805/0.8716, allocations: 248.4 kB / 0.7236 GB, free: 23.06 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.8717, allocations: 33.7 kB / 0.7237 GB, free: 23.02 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.8718, allocations: 192.5 kB / 0.7238 GB, free: 22.82 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 7.379e-05/0.8719, allocations: 86.75 kB / 0.7239 GB, free: 22.74 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.8719, allocations: 0 / 0.7239 GB, free: 22.74 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.872, allocations: 346.8 kB / 0.7243 GB, free: 22.39 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.8723, allocations: 152.8 kB / 0.7244 GB, free: 22.24 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003023/0.8726, allocations: 239 kB / 0.7246 GB, free: 21.98 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.8729, allocations: 175.9 kB / 0.7248 GB, free: 21.81 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.069e-06/0.8729, allocations: 0 / 0.7248 GB, free: 21.81 MB / 0.5022 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009669/0.8739, allocations: 0.5165 MB / 0.7253 GB, free: 21.28 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8739, allocations: 4 kB / 0.7253 GB, free: 21.28 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.8739, allocations: 8.031 kB / 0.7253 GB, free: 21.27 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.8743, allocations: 113.3 kB / 0.7254 GB, free: 21.16 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00025/0.8746, allocations: 43.91 kB / 0.7255 GB, free: 21.11 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.8768, allocations: 2.037 MB / 0.7275 GB, free: 18.96 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.8772, allocations: 70.09 kB / 0.7275 GB, free: 18.9 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.8773, allocations: 8 kB / 0.7275 GB, free: 18.89 MB / 0.5022 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition5,$PRE.B[1].open,B[1].open,$whenCondition3,$PRE.B[2].open,B[2].open,$whenCondition1,$PRE.B[3].open,B[3].open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.8774, allocations: 120.9 kB / 0.7276 GB, free: 18.77 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.8775, allocations: 31.7 kB / 0.7277 GB, free: 18.73 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.397e-05/0.8776, allocations: 27.41 kB / 0.7277 GB, free: 18.71 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.085e-06/0.8776, allocations: 4.109 kB / 0.7277 GB, free: 18.7 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.811e-06/0.8776, allocations: 7.938 kB / 0.7277 GB, free: 18.7 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.666e-06/0.8776, allocations: 7.938 kB / 0.7277 GB, free: 18.69 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.878, allocations: 337.8 kB / 0.728 GB, free: 18.32 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-06/0.878, allocations: 0 / 0.728 GB, free: 18.32 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.8782, allocations: 23.92 kB / 0.7281 GB, free: 18.3 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003712/0.8786, allocations: 116.8 kB / 0.7282 GB, free: 18.18 MB / 0.5022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.8787, allocations: 3.984 kB / 0.7282 GB, free: 18.18 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.8809, allocations: 2.021 MB / 0.7302 GB, free: 16.04 MB / 0.5022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.593e-06/0.8809, allocations: 4 kB / 0.7302 GB, free: 16.04 MB / 0.5022 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.8831, allocations: 1.696 MB / 0.7318 GB, free: 14.22 MB / 0.5022 GB Notification: Performance of postOpt removeConstants (simulation): time 7.741e-05/0.8832, allocations: 100.8 kB / 0.7319 GB, free: 14.11 MB / 0.5022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.675e-05/0.8833, allocations: 11.98 kB / 0.7319 GB, free: 14.09 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.8836, allocations: 39.95 kB / 0.732 GB, free: 14.05 MB / 0.5022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.8837, allocations: 35.98 kB / 0.732 GB, free: 14.02 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.8838, allocations: 8 kB / 0.732 GB, free: 14.01 MB / 0.5022 GB Notification: Performance of sorting global known variables: time 0.0001926/0.884, allocations: 192.5 kB / 0.7322 GB, free: 13.82 MB / 0.5022 GB Notification: Performance of sort global known variables: time 6.05e-07/0.884, allocations: 4 kB / 0.7322 GB, free: 13.82 MB / 0.5022 GB Notification: Performance of remove unused functions: time 0.0006752/0.8847, allocations: 139.6 kB / 0.7323 GB, free: 13.68 MB / 0.5022 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (firstOrder.y) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G) * Number of discrete states: 3 (B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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: 1 {(2,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002744/0.885, allocations: 123.3 kB / 0.7324 GB, free: 13.55 MB / 0.5022 GB Notification: Performance of simCode: created initialization part: time 0.0009382/0.8859, allocations: 0.5089 MB / 0.7329 GB, free: 13.04 MB / 0.5022 GB Notification: Performance of simCode: created event and clocks part: time 3.383e-06/0.886, allocations: 0 / 0.7329 GB, free: 13.04 MB / 0.5022 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/0.8865, allocations: 329.4 kB / 0.7332 GB, free: 12.7 MB / 0.5022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.8868, allocations: 36.42 kB / 0.7333 GB, free: 12.67 MB / 0.5022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.8879, allocations: 0.7052 MB / 0.734 GB, free: 11.93 MB / 0.5022 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.8882, allocations: 0.8614 MB / 0.7348 GB, free: 11.04 MB / 0.5022 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.8884, allocations: 50.31 kB / 0.7349 GB, free: 10.99 MB / 0.5022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.432e-05/0.8885, allocations: 19.44 kB / 0.7349 GB, free: 10.97 MB / 0.5022 GB Notification: Performance of SimCode: time 1.847e-06/0.8885, allocations: 4 kB / 0.7349 GB, free: 10.96 MB / 0.5022 GB Notification: Performance of Templates: time 0.01063/0.8992, allocations: 4.061 MB / 0.7388 GB, free: 6.898 MB / 0.5022 GB