Notification: Performance of FrontEnd - loaded program: time 2.794e-05/2.794e-05, allocations: 0.9062 kB / 439.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 78.98 MB / 0.5065 GB, free: 2.656 MB / 414.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7873/0.8944, allocations: 402.9 MB / 0.9 GB, free: 228.4 MB / 0.6544 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004566/0.895, allocations: 94.52 kB / 0.9 GB, free: 228.3 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.902/2.797, allocations: 0.5355 GB / 1.436 GB, free: 102.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.000184/2.797, allocations: 35.2 kB / 1.436 GB, free: 102.8 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.003596/2.801, allocations: 1.712 MB / 1.437 GB, free: 102 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/2.801, allocations: 7.719 kB / 1.437 GB, free: 102 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002879/2.804, allocations: 428.3 kB / 1.438 GB, free: 101.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02373/2.828, allocations: 7.851 MB / 1.445 GB, free: 101.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.768e-05/2.828, allocations: 35.16 kB / 1.445 GB, free: 101.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/2.828, allocations: 56.59 kB / 1.445 GB, free: 101.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008243/2.829, allocations: 311.1 kB / 1.446 GB, free: 101.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001155/2.83, allocations: 0.6378 MB / 1.446 GB, free: 101 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.017e-05/2.83, allocations: 6.391 kB / 1.446 GB, free: 101 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/2.83, allocations: 3.719 kB / 1.446 GB, free: 101 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/2.83, allocations: 25.78 kB / 1.446 GB, free: 101 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008135/2.839, allocations: 5.742 MB / 1.452 GB, free: 97.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/2.84, allocations: 299.1 kB / 1.452 GB, free: 97.54 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.319e-05/2.84, allocations: 36.53 kB / 1.452 GB, free: 97.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002396/2.842, allocations: 1.408 MB / 1.454 GB, free: 96.63 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003698/2.843, allocations: 254.4 kB / 1.454 GB, free: 96.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=45): time 5.587e-06/2.843, allocations: 0 / 1.454 GB, free: 96.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=45): time 0.001893/2.845, allocations: 470.9 kB / 1.454 GB, free: 96.41 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001481/2.846, allocations: 0.4935 MB / 1.455 GB, free: 96.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/2.846, allocations: 36.8 kB / 1.455 GB, free: 96.27 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008049/2.847, allocations: 0.688 MB / 1.456 GB, free: 96 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/2.847, allocations: 29.36 kB / 1.456 GB, free: 95.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/2.848, allocations: 421.7 kB / 1.456 GB, free: 95.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/2.848, allocations: 93.03 kB / 1.456 GB, free: 95.71 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/2.848, allocations: 0 / 1.456 GB, free: 95.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/2.848, allocations: 338.7 kB / 1.456 GB, free: 95.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/2.848, allocations: 81.88 kB / 1.456 GB, free: 95.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/2.849, allocations: 344.3 kB / 1.457 GB, free: 95.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/2.85, allocations: 213.5 kB / 1.457 GB, free: 95.06 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.286e-06/2.85, allocations: 3.875 kB / 1.457 GB, free: 95.06 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.002741/2.853, allocations: 4.074 MB / 1.461 GB, free: 91.32 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/2.853, allocations: 10.72 kB / 1.461 GB, free: 91.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003602/2.853, allocations: 67.2 kB / 1.461 GB, free: 91.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000762/2.854, allocations: 0.9874 MB / 1.462 GB, free: 90.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/2.855, allocations: 191.7 kB / 1.462 GB, free: 90.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/2.857, allocations: 97.72 kB / 1.462 GB, free: 90.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.911e-06/2.857, allocations: 7.656 kB / 1.462 GB, free: 90.36 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001771/2.859, allocations: 468 kB / 1.463 GB, free: 90.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/2.859, allocations: 7.031 kB / 1.463 GB, free: 90.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/2.859, allocations: 71.8 kB / 1.463 GB, free: 90.31 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006976/2.86, allocations: 0.9871 MB / 1.464 GB, free: 89.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/2.861, allocations: 186.4 kB / 1.464 GB, free: 89.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/2.862, allocations: 93.09 kB / 1.464 GB, free: 89.36 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QHea.a,QHea.b,QHea.last,$PRE.QHea.nextEvent,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 72 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004496/2.863, allocations: 171.2 kB / 1.464 GB, free: 89.22 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/2.863, allocations: 123.3 kB / 1.464 GB, free: 89.16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001739/2.865, allocations: 499.1 kB / 1.465 GB, free: 89.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/2.865, allocations: 9.578 kB / 1.465 GB, free: 89.1 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.8e-06/2.865, allocations: 3.906 kB / 1.465 GB, free: 89.1 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/2.865, allocations: 0 / 1.465 GB, free: 89.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001747/2.867, allocations: 0.8658 MB / 1.466 GB, free: 88.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/2.867, allocations: 7.625 kB / 1.466 GB, free: 88.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008748/2.868, allocations: 114.5 kB / 1.466 GB, free: 88.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/2.868, allocations: 59.95 kB / 1.466 GB, free: 88.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-05/2.869, allocations: 8.125 kB / 1.466 GB, free: 88.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007861/2.869, allocations: 0.974 MB / 1.467 GB, free: 87.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.937e-06/2.87, allocations: 7.219 kB / 1.467 GB, free: 87.95 MB / 0.6544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001514/2.871, allocations: 0.5173 MB / 1.467 GB, free: 87.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/2.872, allocations: 285.5 kB / 1.468 GB, free: 87.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002788/2.872, allocations: 3.5 kB / 1.468 GB, free: 87.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/2.874, allocations: 76.95 kB / 1.468 GB, free: 87.6 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/2.874, allocations: 40.81 kB / 1.468 GB, free: 87.59 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QHea.a,QHea.b,QHea.last,QHea.nextEvent,QHea.nextEventScaled) * Number of discrete states: 6 (QHea.nextEvent,QHea.last,QHea.nextEventScaled,QHea.b,QHea.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0019/2.876, allocations: 0.9187 MB / 1.469 GB, free: 87.36 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002723/2.878, allocations: 0.7142 MB / 1.469 GB, free: 87.29 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/2.879, allocations: 0 / 1.469 GB, free: 87.29 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009179/2.88, allocations: 248.3 kB / 1.47 GB, free: 87.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/2.885, allocations: 0.4892 MB / 1.47 GB, free: 87.25 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/2.892, allocations: 1.573 MB / 1.472 GB, free: 86.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002393/2.895, allocations: 1.345 MB / 1.473 GB, free: 86.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.724e-06/2.895, allocations: 0 / 1.473 GB, free: 86.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.1275/3.023, allocations: 31.76 MB / 1.504 GB, free: 85.34 MB / 0.6544 GB