Notification: Performance of FrontEnd - loaded program: time 1.4e-05/1.41e-05, allocations: 0 / 0.5197 GB, free: 10.69 MB / 416.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 76.94 MB / 0.5949 GB, free: 13.67 MB / 496.2 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7484/0.8652, allocations: 122.3 MB / 0.7143 GB, free: 32.87 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001408/0.8659, allocations: 52.84 kB / 0.7143 GB, free: 32.82 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.03449/0.9004, allocations: 5.665 MB / 0.7198 GB, free: 27.16 MB / 0.5022 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.9005, allocations: 8.188 kB / 0.7198 GB, free: 27.16 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: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001808/0.9024, allocations: 0.7202 MB / 0.7205 GB, free: 26.37 MB / 0.5022 GB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.9024, allocations: 8.031 kB / 0.7206 GB, free: 26.36 MB / 0.5022 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.9026, allocations: 43.53 kB / 0.7206 GB, free: 26.32 MB / 0.5022 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008443/0.9035, allocations: 332.4 kB / 0.7209 GB, free: 25.96 MB / 0.5022 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.9036, allocations: 15.98 kB / 0.7209 GB, free: 25.95 MB / 0.5022 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.9037, allocations: 23.91 kB / 0.721 GB, free: 25.92 MB / 0.5022 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001085/0.9048, allocations: 325.4 kB / 0.7213 GB, free: 25.61 MB / 0.5022 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.906, allocations: 370 kB / 0.7216 GB, free: 25.24 MB / 0.5022 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.9061, allocations: 3.938 kB / 0.7216 GB, free: 25.23 MB / 0.5022 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.9e-05/0.9062, allocations: 4 kB / 0.7216 GB, free: 25.23 MB / 0.5022 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.9062, allocations: 4 kB / 0.7216 GB, free: 25.23 MB / 0.5022 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004423/0.9106, allocations: 1.287 MB / 0.7229 GB, free: 23.88 MB / 0.5022 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.9114, allocations: 302.8 kB / 0.7232 GB, free: 23.57 MB / 0.5022 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005389/0.912, allocations: 205 kB / 0.7234 GB, free: 23.37 MB / 0.5022 GB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.912, allocations: 8.234 kB / 0.7234 GB, free: 23.36 MB / 0.5022 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.9131, allocations: 0.5421 MB / 0.7239 GB, free: 22.75 MB / 0.5022 GB Notification: Performance of pre-optimization done (n=42): time 5.078e-06/0.9131, allocations: 0 / 0.7239 GB, free: 22.75 MB / 0.5022 GB Notification: Performance of matching and sorting (n=42): time 0.001867/0.915, allocations: 0.5224 MB / 0.7244 GB, free: 22.22 MB / 0.5022 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/0.9152, allocations: 441.8 kB / 0.7248 GB, free: 21.69 MB / 0.5022 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005004/0.9158, allocations: 248.5 kB / 0.7251 GB, free: 21.44 MB / 0.5022 GB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.9159, allocations: 37.69 kB / 0.7251 GB, free: 21.4 MB / 0.5022 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.9161, allocations: 188.5 kB / 0.7253 GB, free: 21.21 MB / 0.5022 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.9163, allocations: 114.5 kB / 0.7254 GB, free: 21.09 MB / 0.5022 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.9163, allocations: 7.938 kB / 0.7254 GB, free: 21.09 MB / 0.5022 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.9165, allocations: 342.8 kB / 0.7257 GB, free: 20.74 MB / 0.5022 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005522/0.9171, allocations: 201 kB / 0.7259 GB, free: 20.55 MB / 0.5022 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00069/0.9178, allocations: 292.5 kB / 0.7262 GB, free: 20.23 MB / 0.5022 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006165/0.9184, allocations: 221.9 kB / 0.7264 GB, free: 20.02 MB / 0.5022 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.9185, allocations: 0 / 0.7264 GB, free: 20.02 MB / 0.5022 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002082/0.9206, allocations: 0.6389 MB / 0.727 GB, free: 19.37 MB / 0.5022 GB Notification: Performance of prepare postOptimizeDAE: time 7.178e-05/0.9207, allocations: 88.17 kB / 0.7271 GB, free: 19.27 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.9207, allocations: 0 / 0.7271 GB, free: 19.27 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007208/0.9214, allocations: 120.8 kB / 0.7272 GB, free: 19.15 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.922, allocations: 55.91 kB / 0.7273 GB, free: 19.09 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003808/0.9258, allocations: 2.043 MB / 0.7293 GB, free: 16.94 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009229/0.9268, allocations: 83.69 kB / 0.7294 GB, free: 16.86 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.021e-05/0.9269, allocations: 16 kB / 0.7294 GB, free: 16.84 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: 36 ($whenCondition11,$PRE.B[1].open,B[1].open,$whenCondition9,$PRE.B[2].open,B[2].open,$whenCondition7,$PRE.B[3].open,B[3].open,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$PRE.B[1].triggered,B[1].triggered,$PRE.B[1].G,B[1].G,$PRE.B[1].timeClose,B[1].timeClose,$PRE.B[2].triggered,B[2].triggered,$PRE.B[2].G,B[2].G,$PRE.B[2].timeClose,B[2].timeClose,$PRE.B[3].triggered,B[3].triggered,$PRE.B[3].G,B[3].G,$PRE.B[3].timeClose,B[3].timeClose) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 3 * 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.0003416/0.9272, allocations: 232.2 kB / 0.7296 GB, free: 16.59 MB / 0.5022 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.9274, allocations: 35.62 kB / 0.7296 GB, free: 16.55 MB / 0.5022 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.9275, allocations: 39.41 kB / 0.7297 GB, free: 16.52 MB / 0.5022 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.9276, allocations: 7.984 kB / 0.7297 GB, free: 16.51 MB / 0.5022 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.9276, allocations: 4 kB / 0.7297 GB, free: 16.5 MB / 0.5022 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.9276, allocations: 3.953 kB / 0.7297 GB, free: 16.5 MB / 0.5022 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.9284, allocations: 381.5 kB / 0.7301 GB, free: 16.09 MB / 0.5022 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.629e-06/0.9284, allocations: 4.109 kB / 0.7301 GB, free: 16.09 MB / 0.5022 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000266/0.9287, allocations: 23.92 kB / 0.7301 GB, free: 16.06 MB / 0.5022 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/0.9294, allocations: 108.8 kB / 0.7302 GB, free: 15.95 MB / 0.5022 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.297e-05/0.9295, allocations: 8 kB / 0.7302 GB, free: 15.95 MB / 0.5022 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.9333, allocations: 2.022 MB / 0.7322 GB, free: 13.8 MB / 0.5022 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.697e-06/0.9333, allocations: 4.031 kB / 0.7322 GB, free: 13.8 MB / 0.5022 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004651/0.938, allocations: 2.032 MB / 0.7342 GB, free: 11.64 MB / 0.5022 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.9382, allocations: 112.8 kB / 0.7343 GB, free: 11.52 MB / 0.5022 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.9384, allocations: 15.98 kB / 0.7343 GB, free: 11.5 MB / 0.5022 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007613/0.9392, allocations: 72.03 kB / 0.7343 GB, free: 11.43 MB / 0.5022 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002767/0.9395, allocations: 55.91 kB / 0.7344 GB, free: 11.38 MB / 0.5022 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.834e-05/0.9396, allocations: 16 kB / 0.7344 GB, free: 11.36 MB / 0.5022 GB Notification: Performance of sorting global known variables: time 0.0003302/0.9399, allocations: 196.5 kB / 0.7346 GB, free: 11.17 MB / 0.5022 GB Notification: Performance of sort global known variables: time 1.123e-06/0.94, allocations: 0 / 0.7346 GB, free: 11.17 MB / 0.5022 GB Notification: Performance of remove unused functions: time 0.001287/0.9413, allocations: 167.6 kB / 0.7348 GB, free: 11 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: 24 ($whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,B[1].open,B[1].triggered,B[1].G,B[1].timeClose,B[2].open,B[2].triggered,B[2].G,B[2].timeClose,B[3].open,B[3].triggered,B[3].G,B[3].timeClose) * Number of discrete states: 15 (B[1].timeClose,B[1].triggered,$whenCondition2,$whenCondition1,B[2].timeClose,B[2].triggered,$whenCondition4,$whenCondition3,B[3].timeClose,B[3].triggered,$whenCondition6,$whenCondition5,B[3].open,B[2].open,B[1].open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 3 * 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.0004432/0.9418, allocations: 162.4 kB / 0.7349 GB, free: 10.84 MB / 0.5022 GB Notification: Performance of simCode: created initialization part: time 0.002017/0.9438, allocations: 0.7903 MB / 0.7357 GB, free: 10.01 MB / 0.5022 GB Notification: Performance of simCode: created event and clocks part: time 5.569e-06/0.9438, allocations: 0 / 0.7357 GB, free: 10.01 MB / 0.5022 GB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.9451, allocations: 0.5854 MB / 0.7363 GB, free: 9.375 MB / 0.5022 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.9457, allocations: 44.47 kB / 0.7363 GB, free: 9.332 MB / 0.5022 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.9479, allocations: 0.8471 MB / 0.7371 GB, free: 8.457 MB / 0.5022 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000505/0.9484, allocations: 0.8814 MB / 0.738 GB, free: 7.551 MB / 0.5022 GB Notification: Performance of simCode: alias equations: time 0.0003729/0.9488, allocations: 55.25 kB / 0.738 GB, free: 7.492 MB / 0.5022 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001152/0.9489, allocations: 23.44 kB / 0.7381 GB, free: 7.469 MB / 0.5022 GB Notification: Performance of SimCode: time 1.91e-06/0.949, allocations: 0 / 0.7381 GB, free: 7.469 MB / 0.5022 GB Notification: Performance of Templates: time 0.01734/0.9663, allocations: 5.144 MB / 0.7431 GB, free: 2.32 MB / 0.5022 GB