Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.698e-05, allocations: 0 / 330.7 MB, free: 13.49 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1165, allocations: 44.53 MB / 375.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.3764, allocations: 73.75 MB / 449 MB, free: 14.18 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.3767, allocations: 76.94 kB / 449.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02973/0.4064, allocations: 6.03 MB / 455.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.399e-06/0.4065, allocations: 0 / 455.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.4065, allocations: 8 kB / 455.1 MB, free: 8.094 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001332/0.4079, allocations: 0.578 MB / 455.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4079, allocations: 8.031 kB / 455.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001684/0.4081, allocations: 39.92 kB / 455.7 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/0.4086, allocations: 267.4 kB / 456 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.4088, allocations: 64.19 kB / 456.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.93e-05/0.4089, allocations: 20 kB / 456.1 MB, free: 7.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007945/0.4097, allocations: 182.8 kB / 456.3 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.4106, allocations: 283.1 kB / 456.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.4107, allocations: 0 / 456.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.085e-05/0.4107, allocations: 4 kB / 456.5 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.4108, allocations: 15.94 kB / 456.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.414, allocations: 1.305 MB / 457.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.4146, allocations: 158.6 kB / 458 MB, free: 4.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.4149, allocations: 72.86 kB / 458.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.4149, allocations: 4 kB / 458.1 MB, free: 4.895 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004168/0.4153, allocations: 143.4 kB / 458.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.676e-06/0.4154, allocations: 0 / 458.2 MB, free: 4.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=21): time 0.001002/0.4164, allocations: 212.5 kB / 458.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4165, allocations: 111.1 kB / 458.5 MB, free: 4.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.4168, allocations: 188.5 kB / 458.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.4169, allocations: 25.7 kB / 458.8 MB, free: 4.168 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.4171, allocations: 212 kB / 459 MB, free: 3.957 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.213e-05/0.4172, allocations: 67.09 kB / 459 MB, free: 3.891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.328e-05/0.4172, allocations: 4 kB / 459 MB, free: 3.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.414e-05/0.4173, allocations: 338.8 kB / 459.4 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.4176, allocations: 56 kB / 459.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.418, allocations: 142.5 kB / 459.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/0.4183, allocations: 81.09 kB / 459.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.034e-06/0.4183, allocations: 0 / 459.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001193/0.4195, allocations: 288.5 kB / 459.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4195, allocations: 5.188 kB / 459.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.4196, allocations: 4 kB / 459.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004088/0.42, allocations: 53.11 kB / 460 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004956/0.4205, allocations: 63.5 kB / 460 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001793/0.4223, allocations: 1.381 MB / 461.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.4229, allocations: 39.95 kB / 461.5 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.423, allocations: 15.98 kB / 461.5 MB, free: 1.273 MB / 318.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,switch1.off,$PRE.switch2.off,switch2.off,$PRE.switch2.quenched,switch2.quenched,$PRE.switch2.tSwitch,switch2.tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.4232, allocations: 120.7 kB / 461.6 MB, free: 1.148 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.033e-05/0.4233, allocations: 23.72 kB / 461.6 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.475e-05/0.4234, allocations: 25.95 kB / 461.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.4234, allocations: 11.95 kB / 461.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.573e-06/0.4234, allocations: 0 / 461.7 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.376e-06/0.4234, allocations: 3.938 kB / 461.7 MB, free: 1.082 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005192/0.424, allocations: 289.9 kB / 461.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.574e-06/0.424, allocations: 0 / 461.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/0.4245, allocations: 39.92 kB / 462 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003682/0.4249, allocations: 52.81 kB / 462 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.488e-05/0.4249, allocations: 4 kB / 462 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.4268, allocations: 1.276 MB / 463.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.926e-06/0.4269, allocations: 0 / 463.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.4385, allocations: 2.392 MB / 465.7 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4388, allocations: 116.8 kB / 465.8 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.972e-05/0.4389, allocations: 4 kB / 465.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.4393, allocations: 23.94 kB / 465.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001576/0.4395, allocations: 35.88 kB / 465.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/0.4396, allocations: 8.062 kB / 465.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.4399, allocations: 152.4 kB / 466 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.44e-07/0.4399, allocations: 4 kB / 466 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001296/0.4413, allocations: 111.7 kB / 466.1 MB, free: 12.28 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor1.i,inductor2.i) * Number of discrete variables: 5 ($whenCondition1,switch1.off,switch2.off,switch2.quenched,switch2.tSwitch) * Number of discrete states: 2 (switch2.quenched,switch2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002431/0.4415, allocations: 107.2 kB / 466.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.4425, allocations: 274.1 kB / 466.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.683e-06/0.4425, allocations: 4.062 kB / 466.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.443, allocations: 178.1 kB / 466.7 MB, free: 11.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003687/0.4434, allocations: 24.42 kB / 466.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002358/0.4458, allocations: 0.6449 MB / 467.4 MB, free: 11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4464, allocations: 0.7794 MB / 468.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002682/0.4467, allocations: 26.06 kB / 468.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.4468, allocations: 23.44 kB / 468.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of SimCode: time 1.769e-06/0.4468, allocations: 0 / 468.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of Templates: time 0.0103/0.4571, allocations: 2.706 MB / 470.9 MB, free: 7.449 MB / 334.1 MB