Notification: Performance of FrontEnd - loaded program: time 2.232e-05/2.244e-05, allocations: 4 kB / 0.5197 GB, free: 11.57 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 76.94 MB / 0.5949 GB, free: 14.55 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7599/0.876, allocations: 122.2 MB / 0.7142 GB, free: 33.64 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001633/0.8762, allocations: 67.97 kB / 0.7143 GB, free: 33.58 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.04381/0.9201, allocations: 12.45 MB / 0.7265 GB, free: 21.11 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 4.775e-05/0.9201, allocations: 23.92 kB / 0.7265 GB, free: 21.09 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002456/0.9226, allocations: 1.272 MB / 0.7277 GB, free: 19.75 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.9227, allocations: 12.03 kB / 0.7277 GB, free: 19.74 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002546/0.9229, allocations: 102.9 kB / 0.7278 GB, free: 19.64 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.924, allocations: 0.5592 MB / 0.7284 GB, free: 19.04 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.924, allocations: 31.48 kB / 0.7284 GB, free: 19.01 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.9242, allocations: 52 kB / 0.7285 GB, free: 18.96 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001475/0.9257, allocations: 0.8081 MB / 0.7292 GB, free: 18.15 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.9272, allocations: 0.8625 MB / 0.7301 GB, free: 17.29 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.9273, allocations: 0 / 0.7301 GB, free: 17.29 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/0.9274, allocations: 0 / 0.7301 GB, free: 17.29 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.9274, allocations: 27.94 kB / 0.7301 GB, free: 17.26 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006077/0.9335, allocations: 3.053 MB / 0.7331 GB, free: 14.1 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/0.9346, allocations: 0.7735 MB / 0.7339 GB, free: 13.31 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006409/0.9352, allocations: 486.9 kB / 0.7343 GB, free: 12.84 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.9353, allocations: 8.562 kB / 0.7343 GB, free: 12.83 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.9363, allocations: 0.715 MB / 0.735 GB, free: 12.06 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=86): time 3.662e-06/0.9363, allocations: 4 kB / 0.735 GB, free: 12.06 MB / 0.5022 GB Notification: Performance of matching and sorting (n=86): time 0.002088/0.9384, allocations: 1.113 MB / 0.7361 GB, free: 10.94 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.48e-05/0.9385, allocations: 366.9 kB / 0.7365 GB, free: 10.5 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/0.9392, allocations: 0.5126 MB / 0.737 GB, free: 9.98 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.9393, allocations: 50.39 kB / 0.737 GB, free: 9.926 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.9396, allocations: 368.1 kB / 0.7374 GB, free: 9.559 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.9398, allocations: 240.7 kB / 0.7376 GB, free: 9.32 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.024e-05/0.9399, allocations: 0 / 0.7376 GB, free: 9.32 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.94, allocations: 386.8 kB / 0.738 GB, free: 8.934 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006922/0.9407, allocations: 450.3 kB / 0.7384 GB, free: 8.496 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008823/0.9416, allocations: 0.6734 MB / 0.7391 GB, free: 7.754 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.9424, allocations: 0.5253 MB / 0.7396 GB, free: 7.234 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.876e-06/0.9424, allocations: 0 / 0.7396 GB, free: 7.234 MB / 0.5022 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002551/0.945, allocations: 1.464 MB / 0.741 GB, free: 5.758 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.945, allocations: 6.188 kB / 0.741 GB, free: 5.754 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.9451, allocations: 4 kB / 0.741 GB, free: 5.75 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.9461, allocations: 400.5 kB / 0.7414 GB, free: 5.355 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.9467, allocations: 123.7 kB / 0.7415 GB, free: 5.234 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005586/0.9523, allocations: 4.013 MB / 0.7454 GB, free: 1.098 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.9534, allocations: 171.2 kB / 0.7456 GB, free: 0.9297 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.9535, allocations: 36 kB / 0.7456 GB, free: 0.8945 MB / 0.5022 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition19,$PRE.B[1].open,B[1].open,$whenCondition17,$PRE.B[2].open,B[2].open,$whenCondition15,$PRE.B[3].open,B[3].open,$whenCondition13,$PRE.B[4].open,B[4].open,$whenCondition11,$PRE.B[5].open,B[5].open,$whenCondition9,$PRE.B[6].open,B[6].open,$whenCondition7,$PRE.B[7].open,B[7].open,$whenCondition5,$PRE.B[8].open,B[8].open,$whenCondition3,$PRE.B[9].open,B[9].open,$whenCondition1,$PRE.B[10].open,B[10].open,$whenCondition20,$whenCondition18,$whenCondition16,$whenCondition14,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B[1].G,B[1].G,$PRE.B[2].G,B[2].G,$PRE.B[3].G,B[3].G,$PRE.B[4].G,B[4].G,$PRE.B[5].G,B[5].G,$PRE.B[6].G,B[6].G,$PRE.B[7].G,B[7].G,$PRE.B[8].G,B[8].G,$PRE.B[9].G,B[9].G,$PRE.B[10].G,B[10].G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002554/0.9538, allocations: 156 kB / 0.7458 GB, free: 0.7383 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.9539, allocations: 79.61 kB / 0.7458 GB, free: 0.6602 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001588/0.9541, allocations: 78.94 kB / 0.7459 GB, free: 0.582 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.516e-06/0.9541, allocations: 12 kB / 0.7459 GB, free: 0.5703 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.9541, allocations: 4 kB / 0.7459 GB, free: 0.5664 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.9542, allocations: 7.969 kB / 0.7459 GB, free: 0.5586 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/0.9552, allocations: 0.7098 MB / 0.7466 GB, free: 15.81 MB / 0.5178 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-06/0.9552, allocations: 0 / 0.7466 GB, free: 15.81 MB / 0.5178 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.9554, allocations: 43.91 kB / 0.7467 GB, free: 15.77 MB / 0.5178 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.9566, allocations: 392.8 kB / 0.7471 GB, free: 15.38 MB / 0.5178 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.627e-05/0.9567, allocations: 7.984 kB / 0.7471 GB, free: 15.37 MB / 0.5178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006834/0.9635, allocations: 3.974 MB / 0.7509 GB, free: 11.28 MB / 0.5178 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.596e-06/0.9636, allocations: 96 / 0.7509 GB, free: 11.28 MB / 0.5178 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00596/0.9695, allocations: 3.326 MB / 0.7542 GB, free: 7.82 MB / 0.5178 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.9698, allocations: 152.2 kB / 0.7543 GB, free: 7.652 MB / 0.5178 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.97, allocations: 23.97 kB / 0.7544 GB, free: 7.629 MB / 0.5178 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007887/0.9708, allocations: 120 kB / 0.7545 GB, free: 7.512 MB / 0.5178 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003251/0.9711, allocations: 116.6 kB / 0.7546 GB, free: 7.398 MB / 0.5178 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.9713, allocations: 43.91 kB / 0.7546 GB, free: 7.355 MB / 0.5178 GB Notification: Performance of sorting global known variables: time 0.0005855/0.9719, allocations: 402.8 kB / 0.755 GB, free: 6.961 MB / 0.5178 GB Notification: Performance of sort global known variables: time 6.06e-07/0.9719, allocations: 0 / 0.755 GB, free: 6.961 MB / 0.5178 GB Notification: Performance of remove unused functions: time 0.001353/0.9732, allocations: 355.3 kB / 0.7553 GB, free: 6.613 MB / 0.5178 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: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,B[1].open,B[1].G,B[2].open,B[2].G,B[3].open,B[3].G,B[4].open,B[4].G,B[5].open,B[5].G,B[6].open,B[6].G,B[7].open,B[7].G,B[8].open,B[8].G,B[9].open,B[9].G,B[10].open,B[10].G) * Number of discrete states: 10 (B[10].open,B[9].open,B[8].open,B[7].open,B[6].open,B[5].open,B[4].open,B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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 {(9,30.9%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004288/0.9737, allocations: 183.2 kB / 0.7555 GB, free: 6.438 MB / 0.5178 GB Notification: Performance of simCode: created initialization part: time 0.002867/0.9766, allocations: 1.331 MB / 0.7568 GB, free: 5.098 MB / 0.5178 GB Notification: Performance of simCode: created event and clocks part: time 5.96e-06/0.9766, allocations: 4.188 kB / 0.7568 GB, free: 5.094 MB / 0.5178 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/0.9783, allocations: 0.7881 MB / 0.7576 GB, free: 4.297 MB / 0.5178 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.979, allocations: 85.98 kB / 0.7577 GB, free: 4.207 MB / 0.5178 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/0.9825, allocations: 1.798 MB / 0.7594 GB, free: 2.371 MB / 0.5178 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000948/0.9835, allocations: 1.17 MB / 0.7606 GB, free: 1.172 MB / 0.5178 GB Notification: Performance of simCode: alias equations: time 0.0005486/0.984, allocations: 146 kB / 0.7607 GB, free: 1.027 MB / 0.5178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.9842, allocations: 43.44 kB / 0.7608 GB, free: 0.9844 MB / 0.5178 GB Notification: Performance of SimCode: time 1.202e-06/0.9842, allocations: 0 / 0.7608 GB, free: 0.9844 MB / 0.5178 GB Notification: Performance of Templates: time 0.02964/1.014, allocations: 11.35 MB / 0.7718 GB, free: 5.613 MB / 0.5334 GB