Running command: translateModel(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.564e-05/2.584e-05, allocations: 0 / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09045, allocations: 50.41 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3944/0.4849, allocations: 80.52 MB / 423.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/0.4853, allocations: 65.78 kB / 423.1 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04251/0.5279, allocations: 6.291 MB / 429.4 MB, free: 8.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.114e-06/0.5279, allocations: 0 / 429.4 MB, free: 8.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.94e-05/0.528, allocations: 11.38 kB / 429.4 MB, free: 8.297 MB / 346.7 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.001959/0.5299, allocations: 0.5788 MB / 430 MB, free: 7.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.53, allocations: 8.031 kB / 430 MB, free: 7.684 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.5303, allocations: 39.78 kB / 430.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007473/0.531, allocations: 264.8 kB / 430.3 MB, free: 7.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/0.5312, allocations: 85.53 kB / 430.4 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.5314, allocations: 42.77 kB / 430.5 MB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.5327, allocations: 319.2 kB / 430.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.5328, allocations: 0 / 430.8 MB, free: 7.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.599e-05/0.5329, allocations: 13.81 kB / 430.8 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.5329, allocations: 8 kB / 430.8 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5339, allocations: 201.7 kB / 431 MB, free: 6.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004611/0.5386, allocations: 1.386 MB / 432.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007075/0.5393, allocations: 155.1 kB / 432.5 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.5397, allocations: 81.59 kB / 432.6 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.5398, allocations: 352 / 432.6 MB, free: 5.426 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006006/0.5404, allocations: 161.2 kB / 432.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 4.415e-06/0.5404, allocations: 0 / 432.8 MB, free: 5.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0015/0.5419, allocations: 217.8 kB / 433 MB, free: 5.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.5421, allocations: 110 kB / 433.1 MB, free: 4.969 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.5428, allocations: 233.7 kB / 433.3 MB, free: 4.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.195e-05/0.5429, allocations: 29.64 kB / 433.3 MB, free: 4.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.5431, allocations: 205.1 kB / 433.5 MB, free: 4.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.252e-05/0.5432, allocations: 71.8 kB / 433.6 MB, free: 4.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.5432, allocations: 10 kB / 433.6 MB, free: 4.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.5434, allocations: 333.6 kB / 433.9 MB, free: 4.188 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.5436, allocations: 65.56 kB / 434 MB, free: 4.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5439, allocations: 153.3 kB / 434.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.5441, allocations: 84.92 kB / 434.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5441, allocations: 0 / 434.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008783/0.545, allocations: 306.4 kB / 434.5 MB, free: 3.688 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.5451, allocations: 7.984 kB / 434.5 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5451, allocations: 7.938 kB / 434.6 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003097/0.5454, allocations: 61.11 kB / 434.6 MB, free: 3.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.5458, allocations: 59.91 kB / 434.7 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/0.5475, allocations: 1.397 MB / 436.1 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.5479, allocations: 50.58 kB / 436.1 MB, free: 2.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.548, allocations: 8.094 kB / 436.1 MB, free: 2.031 MB / 346.7 MB 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.0001447/0.5481, allocations: 136.6 kB / 436.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.5482, allocations: 31.61 kB / 436.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.5483, allocations: 27.59 kB / 436.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-06/0.5483, allocations: 0 / 436.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.27e-06/0.5483, allocations: 0 / 436.3 MB, free: 1.859 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.5483, allocations: 7.922 kB / 436.3 MB, free: 1.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.5488, allocations: 337.8 kB / 436.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.466e-06/0.5488, allocations: 3.984 kB / 436.7 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.5491, allocations: 43.97 kB / 436.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002508/0.5494, allocations: 51.06 kB / 436.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.5494, allocations: 3.312 kB / 436.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.551, allocations: 1.327 MB / 438.1 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.318e-06/0.5511, allocations: 160 / 438.1 MB, free: 36 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.552, allocations: 336.9 kB / 438.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.5522, allocations: 114.5 kB / 438.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.042e-05/0.5522, allocations: 7.312 kB / 438.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.5525, allocations: 27.98 kB / 438.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.5526, allocations: 27.88 kB / 438.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.42e-05/0.5526, allocations: 7.688 kB / 438.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.5529, allocations: 181.4 kB / 438.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5529, allocations: 0 / 438.8 MB, free: 15.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005584/0.5535, allocations: 100.2 kB / 438.9 MB, free: 15.35 MB / 362.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: 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.0001922/0.5537, allocations: 114.8 kB / 439 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.5544, allocations: 272.9 kB / 439.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.415e-06/0.5544, allocations: 0 / 439.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003533/0.5548, allocations: 194.8 kB / 439.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.5551, allocations: 36.08 kB / 439.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5568, allocations: 497.5 kB / 440 MB, free: 14.35 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.5573, allocations: 0.7798 MB / 440.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001764/0.5575, allocations: 34.05 kB / 440.8 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.5576, allocations: 19.44 kB / 440.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.716e-06/0.5576, allocations: 0 / 440.8 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Templates: time 0.00961/0.5672, allocations: 2.757 MB / 443.5 MB, free: 10.75 MB / 362.7 MB