Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.041e-05, allocations: 0 / 0.5196 GB, free: 10.7 MB / 416 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 76.95 MB / 0.5947 GB, free: 13.67 MB / 496 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6993/0.8735, allocations: 122.2 MB / 0.7141 GB, free: 32.8 MB / 0.502 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001005/0.8737, allocations: 47.98 kB / 0.7141 GB, free: 32.75 MB / 0.502 GB Notification: Performance of FrontEnd: time 0.01728/0.891, allocations: 4.954 MB / 0.7189 GB, free: 27.82 MB / 0.502 GB Notification: Performance of Transformations before backend: time 2.445e-05/0.8911, allocations: 8 kB / 0.719 GB, free: 27.81 MB / 0.502 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.0008007/0.8919, allocations: 0.5704 MB / 0.7195 GB, free: 27.19 MB / 0.502 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.8919, allocations: 8.031 kB / 0.7195 GB, free: 27.18 MB / 0.502 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.892, allocations: 39.53 kB / 0.7196 GB, free: 27.14 MB / 0.502 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.8923, allocations: 271.4 kB / 0.7198 GB, free: 26.84 MB / 0.502 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.8924, allocations: 9.188 kB / 0.7198 GB, free: 26.83 MB / 0.502 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.283e-05/0.8924, allocations: 23.98 kB / 0.7198 GB, free: 26.8 MB / 0.502 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003642/0.8928, allocations: 157.6 kB / 0.72 GB, free: 26.65 MB / 0.502 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004321/0.8933, allocations: 206.2 kB / 0.7202 GB, free: 26.45 MB / 0.502 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.8933, allocations: 0 / 0.7202 GB, free: 26.45 MB / 0.502 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.728e-05/0.8933, allocations: 0 / 0.7202 GB, free: 26.45 MB / 0.502 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.8934, allocations: 15.97 kB / 0.7202 GB, free: 26.43 MB / 0.502 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.8951, allocations: 0.9865 MB / 0.7212 GB, free: 25.38 MB / 0.502 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.8954, allocations: 174.7 kB / 0.7213 GB, free: 25.2 MB / 0.502 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.8956, allocations: 109.1 kB / 0.7214 GB, free: 25.09 MB / 0.502 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.8957, allocations: 5.25 kB / 0.7214 GB, free: 25.09 MB / 0.502 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.896, allocations: 191.6 kB / 0.7216 GB, free: 24.88 MB / 0.502 GB Notification: Performance of pre-optimization done (n=30): time 3.119e-06/0.896, allocations: 0 / 0.7216 GB, free: 24.88 MB / 0.502 GB Notification: Performance of matching and sorting (n=30): time 0.0006374/0.8967, allocations: 274.6 kB / 0.7219 GB, free: 24.6 MB / 0.502 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.8967, allocations: 174.2 kB / 0.7221 GB, free: 24.39 MB / 0.502 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.8969, allocations: 183.3 kB / 0.7222 GB, free: 24.21 MB / 0.502 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.897, allocations: 29.64 kB / 0.7223 GB, free: 24.17 MB / 0.502 GB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.8971, allocations: 180.5 kB / 0.7224 GB, free: 23.99 MB / 0.502 GB Notification: Performance of collectInitialBindings (initialization): time 7.016e-05/0.8972, allocations: 94.73 kB / 0.7225 GB, free: 23.9 MB / 0.502 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.507e-05/0.8972, allocations: 0 / 0.7225 GB, free: 23.9 MB / 0.502 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/0.8973, allocations: 338.8 kB / 0.7228 GB, free: 23.56 MB / 0.502 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001514/0.8974, allocations: 68 kB / 0.7229 GB, free: 23.49 MB / 0.502 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.8976, allocations: 147.6 kB / 0.723 GB, free: 23.32 MB / 0.502 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.8978, allocations: 81.03 kB / 0.7231 GB, free: 23.24 MB / 0.502 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.63e-06/0.8979, allocations: 0 / 0.7231 GB, free: 23.24 MB / 0.502 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007072/0.8986, allocations: 326 kB / 0.7234 GB, free: 22.91 MB / 0.502 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.8986, allocations: 4 kB / 0.7234 GB, free: 22.91 MB / 0.502 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8986, allocations: 0.5312 kB / 0.7234 GB, free: 22.91 MB / 0.502 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.899, allocations: 80.75 kB / 0.7235 GB, free: 22.83 MB / 0.502 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.8992, allocations: 39.92 kB / 0.7236 GB, free: 22.79 MB / 0.502 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001888/0.9011, allocations: 1.685 MB / 0.7252 GB, free: 20.99 MB / 0.502 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.9016, allocations: 51.72 kB / 0.7253 GB, free: 20.94 MB / 0.502 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.9016, allocations: 12 kB / 0.7253 GB, free: 20.93 MB / 0.502 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.B1.open,B1.open,$whenCondition3,$PRE.B2.open,B2.open,$whenCondition1,$PRE.B3.open,B3.open,$whenCondition6,$whenCondition4,$whenCondition2,$PRE.B1.G,B1.G,$PRE.B2.G,B2.G,$PRE.B3.G,B3.G) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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.0001334/0.9017, allocations: 117.7 kB / 0.7254 GB, free: 20.8 MB / 0.502 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.9018, allocations: 23.72 kB / 0.7254 GB, free: 20.78 MB / 0.502 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.294e-05/0.9019, allocations: 33.11 kB / 0.7254 GB, free: 20.75 MB / 0.502 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.9019, allocations: 4 kB / 0.7254 GB, free: 20.75 MB / 0.502 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.9019, allocations: 8 kB / 0.7254 GB, free: 20.74 MB / 0.502 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.637e-06/0.902, allocations: 0 / 0.7254 GB, free: 20.74 MB / 0.502 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.9023, allocations: 293.9 kB / 0.7257 GB, free: 20.41 MB / 0.502 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.9023, allocations: 0 / 0.7257 GB, free: 20.41 MB / 0.502 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.9025, allocations: 16.73 kB / 0.7257 GB, free: 20.4 MB / 0.502 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003145/0.9029, allocations: 80.75 kB / 0.7258 GB, free: 20.32 MB / 0.502 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.404e-05/0.9029, allocations: 3.984 kB / 0.7258 GB, free: 20.31 MB / 0.502 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.9047, allocations: 1.686 MB / 0.7275 GB, free: 18.51 MB / 0.502 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.049e-06/0.9048, allocations: 112 / 0.7275 GB, free: 18.51 MB / 0.502 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.9067, allocations: 1.368 MB / 0.7288 GB, free: 17.02 MB / 0.502 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/0.9068, allocations: 104.8 kB / 0.7289 GB, free: 16.9 MB / 0.502 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.471e-05/0.9069, allocations: 4 kB / 0.7289 GB, free: 16.89 MB / 0.502 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.9072, allocations: 35.28 kB / 0.7289 GB, free: 16.86 MB / 0.502 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.9073, allocations: 27.95 kB / 0.729 GB, free: 16.84 MB / 0.502 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.9073, allocations: 8 kB / 0.729 GB, free: 16.83 MB / 0.502 GB Notification: Performance of sorting global known variables: time 0.0001354/0.9075, allocations: 148.6 kB / 0.7291 GB, free: 16.68 MB / 0.502 GB Notification: Performance of sort global known variables: time 6.15e-07/0.9075, allocations: 3.938 kB / 0.7291 GB, free: 16.68 MB / 0.502 GB Notification: Performance of remove unused functions: time 0.0006759/0.9082, allocations: 115.7 kB / 0.7292 GB, free: 16.57 MB / 0.502 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,B1.open,B1.G,B2.open,B2.G,B3.open,B3.G) * Number of discrete states: 3 (B3.open,B2.open,B1.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.0003354/0.9085, allocations: 141.7 kB / 0.7294 GB, free: 16.43 MB / 0.502 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.9094, allocations: 357.7 kB / 0.7297 GB, free: 16.07 MB / 0.502 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.9094, allocations: 3.938 kB / 0.7297 GB, free: 16.07 MB / 0.502 GB Notification: Performance of simCode: created simulation system equations: time 0.0004447/0.9098, allocations: 250 kB / 0.7299 GB, free: 15.81 MB / 0.502 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.9102, allocations: 32.7 kB / 0.73 GB, free: 15.78 MB / 0.502 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008929/0.9111, allocations: 0.5216 MB / 0.7305 GB, free: 15.22 MB / 0.502 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002251/0.9114, allocations: 0.7834 MB / 0.7313 GB, free: 14.41 MB / 0.502 GB Notification: Performance of simCode: alias equations: time 0.0001421/0.9115, allocations: 22.08 kB / 0.7313 GB, free: 14.39 MB / 0.502 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.704e-05/0.9116, allocations: 23.44 kB / 0.7313 GB, free: 14.37 MB / 0.502 GB Notification: Performance of SimCode: time 1.414e-06/0.9116, allocations: 0 / 0.7313 GB, free: 14.37 MB / 0.502 GB Notification: Performance of Templates: time 0.009899/0.9215, allocations: 3.277 MB / 0.7345 GB, free: 11.09 MB / 0.502 GB