Running command: translateModel(Modelica.Electrical.Analog.Examples.SwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.944e-05/2.961e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08429/0.08435, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3417/0.4261, allocations: 77.98 MB / 394.9 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4264, allocations: 64.34 kB / 395 MB, free: 10.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02186/0.4483, allocations: 5.382 MB / 400.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.249e-06/0.4484, allocations: 0 / 400.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.4484, allocations: 8 kB / 400.4 MB, free: 5.5 MB / 314.7 MB 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.001048/0.4495, allocations: 0.5409 MB / 400.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4495, allocations: 12.03 kB / 400.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.4496, allocations: 31.62 kB / 400.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003937/0.45, allocations: 254.5 kB / 401.2 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.4502, allocations: 85.19 kB / 401.3 MB, free: 4.531 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/0.4503, allocations: 29.62 kB / 401.3 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.4509, allocations: 287.8 kB / 401.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4509, allocations: 0 / 401.6 MB, free: 4.301 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.451, allocations: 15.06 kB / 401.6 MB, free: 4.297 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.451, allocations: 8 kB / 401.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004586/0.4515, allocations: 169.2 kB / 401.8 MB, free: 4.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.4537, allocations: 1.148 MB / 402.9 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.4542, allocations: 155.9 kB / 403.1 MB, free: 3.008 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002007/0.4544, allocations: 83.31 kB / 403.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.4544, allocations: 4 kB / 403.2 MB, free: 2.949 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003319/0.4548, allocations: 138.8 kB / 403.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.62e-06/0.4548, allocations: 0 / 403.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007526/0.4556, allocations: 235 kB / 403.5 MB, free: 2.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/0.4557, allocations: 110.8 kB / 403.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.456, allocations: 203 kB / 403.8 MB, free: 2.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.456, allocations: 29.52 kB / 403.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.4562, allocations: 170.6 kB / 404 MB, free: 2.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.4563, allocations: 62.61 kB / 404.1 MB, free: 2.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.4563, allocations: 11.88 kB / 404.1 MB, free: 2.082 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.4565, allocations: 329.6 kB / 404.4 MB, free: 1.758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.4567, allocations: 59.12 kB / 404.5 MB, free: 1.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.4569, allocations: 122.4 kB / 404.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001981/0.4571, allocations: 83.36 kB / 404.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.34e-06/0.4571, allocations: 0 / 404.7 MB, free: 1.551 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005987/0.4578, allocations: 246.1 kB / 404.9 MB, free: 1.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.4578, allocations: 4 kB / 404.9 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.4578, allocations: 4.109 kB / 404.9 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003283/0.4582, allocations: 60.25 kB / 405 MB, free: 1.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.4584, allocations: 47.92 kB / 405 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.4603, allocations: 1.41 MB / 406.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.4606, allocations: 43.73 kB / 406.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.4607, allocations: 15.81 kB / 406.5 MB, free: 15.72 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,$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 (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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.4608, allocations: 124.3 kB / 406.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.4609, allocations: 23.72 kB / 406.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.439e-05/0.461, allocations: 25.7 kB / 406.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.395e-06/0.461, allocations: 0 / 406.7 MB, free: 15.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.856e-06/0.461, allocations: 8 kB / 406.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-06/0.461, allocations: 0 / 406.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004643/0.4615, allocations: 327 kB / 407 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.264e-06/0.4615, allocations: 7.891 kB / 407 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002426/0.4618, allocations: 35.86 kB / 407 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.4621, allocations: 56.69 kB / 407.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.4621, allocations: 3.938 kB / 407.1 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.4637, allocations: 1.313 MB / 408.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4638, allocations: 0 / 408.4 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008932/0.4647, allocations: 333.6 kB / 408.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.4648, allocations: 104.6 kB / 408.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.4649, allocations: 7.875 kB / 408.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4652, allocations: 19.86 kB / 408.9 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4653, allocations: 27.89 kB / 408.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.4653, allocations: 7.984 kB / 408.9 MB, free: 13.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.4655, allocations: 160 kB / 409.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.4656, allocations: 4.062 kB / 409.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005352/0.4661, allocations: 87.42 kB / 409.2 MB, free: 13.1 MB / 330.7 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: 6 ($whenCondition2,$whenCondition1,booleanPulse.pulseStart,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): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001947/0.4663, allocations: 123.1 kB / 409.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000632/0.467, allocations: 255.9 kB / 409.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.762e-06/0.467, allocations: 4 kB / 409.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003476/0.4673, allocations: 184.3 kB / 409.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.4677, allocations: 48.17 kB / 409.8 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4695, allocations: 0.5183 MB / 410.3 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.47, allocations: 0.7674 MB / 411 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.4701, allocations: 26.06 kB / 411.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.074e-05/0.4702, allocations: 19.44 kB / 411.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.828e-06/0.4702, allocations: 0 / 411.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of Templates: time 0.009151/0.4794, allocations: 2.718 MB / 413.8 MB, free: 8.508 MB / 330.7 MB