Running command: translateModel(Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=48000,variableFilter="time|inductor1.i|inductor2.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ControlledSwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 208 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.842e-05/2.859e-05, allocations: 4 kB / 255.4 MB, free: 2.691 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07928/0.07933, allocations: 44.49 MB / 299.9 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/0.495, allocations: 74.4 MB / 374.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4953, allocations: 67.95 kB / 374.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02282/0.5181, allocations: 6.065 MB / 380.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.845e-06/0.5182, allocations: 0 / 380.4 MB, free: 21.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.428e-05/0.5182, allocations: 7.594 kB / 380.4 MB, free: 21.73 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.0009297/0.5191, allocations: 0.5706 MB / 381 MB, free: 21.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5192, allocations: 10.72 kB / 381 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.5193, allocations: 41.78 kB / 381 MB, free: 21.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.5197, allocations: 263.2 kB / 381.3 MB, free: 21.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.521e-05/0.5198, allocations: 82.23 kB / 381.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.106e-05/0.5199, allocations: 31.89 kB / 381.4 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006567/0.5205, allocations: 323.2 kB / 381.7 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5206, allocations: 3.938 kB / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.286e-05/0.5206, allocations: 10.53 kB / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.5207, allocations: 8.531 kB / 381.7 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004914/0.5212, allocations: 199.8 kB / 381.9 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.5233, allocations: 1.384 MB / 383.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003659/0.5237, allocations: 160.7 kB / 383.5 MB, free: 20.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.5239, allocations: 82.5 kB / 383.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.524, allocations: 2.656 kB / 383.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003049/0.5243, allocations: 149.8 kB / 383.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.556e-06/0.5243, allocations: 0 / 383.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007074/0.525, allocations: 224.2 kB / 383.9 MB, free: 19.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.5251, allocations: 113.7 kB / 384 MB, free: 19.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.5254, allocations: 229.8 kB / 384.3 MB, free: 19.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.5254, allocations: 35.42 kB / 384.3 MB, free: 19.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.5256, allocations: 205.9 kB / 384.5 MB, free: 19.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.5256, allocations: 69.83 kB / 384.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.769e-05/0.5257, allocations: 5.094 kB / 384.6 MB, free: 19.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.276e-05/0.5258, allocations: 334.4 kB / 384.9 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001715/0.5259, allocations: 68.75 kB / 385 MB, free: 19.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.5262, allocations: 149.5 kB / 385.1 MB, free: 19.06 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.5264, allocations: 90.16 kB / 385.2 MB, free: 19.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.5264, allocations: 1.5 kB / 385.2 MB, free: 19.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007915/0.5272, allocations: 310.9 kB / 385.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.5273, allocations: 7.281 kB / 385.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.961e-06/0.5273, allocations: 2.75 kB / 385.5 MB, free: 18.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.5276, allocations: 55.64 kB / 385.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.5279, allocations: 65.58 kB / 385.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/0.5292, allocations: 1.413 MB / 387 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003621/0.5296, allocations: 43.02 kB / 387.1 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.5297, allocations: 14.39 kB / 387.1 MB, free: 17.59 MB / 314.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.0001123/0.5298, allocations: 129.1 kB / 387.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.639e-05/0.5299, allocations: 30.11 kB / 387.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.555e-05/0.5299, allocations: 31.3 kB / 387.3 MB, free: 17.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.001e-06/0.53, allocations: 5.312 kB / 387.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.104e-06/0.53, allocations: 1.375 kB / 387.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.117e-06/0.53, allocations: 0 / 387.3 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.5304, allocations: 337.8 kB / 387.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-06/0.5305, allocations: 0 / 387.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.5308, allocations: 40.03 kB / 387.7 MB, free: 17.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002575/0.531, allocations: 55.69 kB / 387.7 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.736e-05/0.5311, allocations: 12.48 kB / 387.7 MB, free: 17.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/0.5322, allocations: 1.311 MB / 389 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.285e-06/0.5322, allocations: 0 / 389 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.533, allocations: 343.7 kB / 389.4 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.5332, allocations: 120.2 kB / 389.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.812e-05/0.5333, allocations: 9.156 kB / 389.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5335, allocations: 25.02 kB / 389.5 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5337, allocations: 35.73 kB / 389.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.293e-05/0.5337, allocations: 4.781 kB / 389.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002136/0.5339, allocations: 182.9 kB / 389.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.5339, allocations: 0 / 389.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005666/0.5345, allocations: 91.81 kB / 389.8 MB, free: 15.65 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: 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.0001506/0.5347, allocations: 117 kB / 390 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.5353, allocations: 285.4 kB / 390.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.152e-06/0.5353, allocations: 0 / 390.2 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.5356, allocations: 190.3 kB / 390.4 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.536, allocations: 35.66 kB / 390.5 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.5375, allocations: 494.1 kB / 390.9 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007525/0.5382, allocations: 0.7769 MB / 391.7 MB, free: 30.39 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001712/0.5384, allocations: 30.81 kB / 391.7 MB, free: 30.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.5385, allocations: 20.19 kB / 391.8 MB, free: 30.37 MB / 330.7 MB Notification: Performance of SimCode: time 1.877e-06/0.5385, allocations: 0 / 391.8 MB, free: 30.37 MB / 330.7 MB Notification: Performance of Templates: time 0.008451/0.547, allocations: 2.748 MB / 394.5 MB, free: 30.16 MB / 330.7 MB