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.2_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.002e-05/3.012e-05, allocations: 4 kB / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07816/0.07821, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/0.402, allocations: 73.76 MB / 373.6 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.4023, allocations: 67.28 kB / 373.7 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02025/0.4226, allocations: 5.391 MB / 379.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.922e-06/0.4226, allocations: 0 / 379.1 MB, free: 21.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.199e-05/0.4226, allocations: 6.875 kB / 379.1 MB, free: 21.8 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.0008443/0.4235, allocations: 0.5374 MB / 379.6 MB, free: 21.38 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.4236, allocations: 11.58 kB / 379.7 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.4237, allocations: 33.78 kB / 379.7 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003121/0.424, allocations: 247.9 kB / 379.9 MB, free: 21.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.408e-05/0.4241, allocations: 81.25 kB / 380 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.285e-05/0.4242, allocations: 30 kB / 380 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.4248, allocations: 287.2 kB / 380.3 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.4248, allocations: 1.094 kB / 380.3 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.4248, allocations: 9.875 kB / 380.3 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4249, allocations: 7.969 kB / 380.3 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004553/0.4253, allocations: 179.3 kB / 380.5 MB, free: 21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.4273, allocations: 1.15 MB / 381.7 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4276, allocations: 149.1 kB / 381.8 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001758/0.4278, allocations: 73.91 kB / 381.9 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.4279, allocations: 6.328 kB / 381.9 MB, free: 20.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002933/0.4282, allocations: 151.5 kB / 382 MB, free: 20.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.24e-06/0.4282, allocations: 224 / 382 MB, free: 20.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007041/0.4289, allocations: 219 kB / 382.3 MB, free: 20.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.429, allocations: 117.5 kB / 382.4 MB, free: 20.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.4292, allocations: 203.5 kB / 382.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.4293, allocations: 30.92 kB / 382.6 MB, free: 19.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.62e-05/0.4294, allocations: 175.8 kB / 382.8 MB, free: 19.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.994e-05/0.4295, allocations: 65.67 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.604e-05/0.4295, allocations: 5.344 kB / 382.8 MB, free: 19.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.4296, allocations: 337.9 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/0.4297, allocations: 59.47 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/0.4299, allocations: 134.2 kB / 383.4 MB, free: 19.35 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.4301, allocations: 82.14 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.198e-06/0.4301, allocations: 0 / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005321/0.4307, allocations: 250.6 kB / 383.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4307, allocations: 7.656 kB / 383.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.4307, allocations: 1.844 kB / 383.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.431, allocations: 60.12 kB / 383.7 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.4313, allocations: 45.11 kB / 383.8 MB, free: 19.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.4326, allocations: 1.406 MB / 385.2 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.4329, allocations: 41.16 kB / 385.2 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.067e-05/0.4329, allocations: 14.81 kB / 385.3 MB, free: 17.9 MB / 314.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.pulsStart,booleanPulse.pulsStart,$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.000108/0.4331, allocations: 126.2 kB / 385.4 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/0.4331, allocations: 24.3 kB / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.4332, allocations: 28.33 kB / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.4332, allocations: 3.875 kB / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.308e-06/0.4332, allocations: 0 / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.772e-06/0.4332, allocations: 2.016 kB / 385.4 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003624/0.4336, allocations: 319.8 kB / 385.7 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-06/0.4336, allocations: 0 / 385.7 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.4339, allocations: 38.91 kB / 385.8 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002254/0.4341, allocations: 52.95 kB / 385.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.342e-05/0.4341, allocations: 3.109 kB / 385.8 MB, free: 17.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.4352, allocations: 1.322 MB / 387.2 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.19e-06/0.4352, allocations: 3.984 kB / 387.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007816/0.436, allocations: 326.6 kB / 387.5 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.4361, allocations: 110.1 kB / 387.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.4362, allocations: 10.42 kB / 387.6 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.4364, allocations: 24.5 kB / 387.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4366, allocations: 30.78 kB / 387.7 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.4366, allocations: 6.453 kB / 387.7 MB, free: 16.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001774/0.4368, allocations: 160.3 kB / 387.8 MB, free: 16 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4368, allocations: 0 / 387.8 MB, free: 16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005151/0.4373, allocations: 84.02 kB / 387.9 MB, free: 15.99 MB / 314.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.pulsStart,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.0001464/0.4375, allocations: 113.9 kB / 388 MB, free: 15.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005653/0.4381, allocations: 263.9 kB / 388.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.218e-06/0.4381, allocations: 0 / 388.3 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.4384, allocations: 191.1 kB / 388.5 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003131/0.4387, allocations: 48.91 kB / 388.5 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001525/0.4403, allocations: 0.5047 MB / 389 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.441, allocations: 0.7616 MB / 389.8 MB, free: 30.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001381/0.4411, allocations: 24.12 kB / 389.8 MB, free: 30.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.4412, allocations: 18.81 kB / 389.8 MB, free: 30.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.69e-06/0.4412, allocations: 3.938 kB / 389.8 MB, free: 30.71 MB / 330.7 MB Notification: Performance of Templates: time 0.007866/0.4491, allocations: 2.729 MB / 392.5 MB, free: 30.51 MB / 330.7 MB