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 2.114/2.114, allocations: 194.9 MB / 210.6 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.093e-05, allocations: 4 kB / 258.8 MB, free: 7.863 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3098, allocations: 44.5 MB / 303.3 MB, free: 12.99 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.00373/0.3136, allocations: 2.286 MB / 305.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3154, allocations: 0.7002 MB / 306.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.3156, allocations: 11.69 kB / 306.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000103/0.3157, allocations: 40.11 kB / 306.4 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000314/0.316, allocations: 99.09 kB / 306.4 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.3164, allocations: 73.95 kB / 306.5 MB, free: 10.37 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000394/0.3168, allocations: 195 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002098/0.317, allocations: 65.53 kB / 306.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.3172, allocations: 103.8 kB / 306.9 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002712/0.3175, allocations: 119.6 kB / 307 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-05/0.3176, allocations: 12 kB / 307 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.3176, allocations: 12 kB / 307 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.815e-05/0.3177, allocations: 51.75 kB / 307.1 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.3178, allocations: 32 kB / 307.1 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003656/0.3182, allocations: 257.7 kB / 307.3 MB, free: 9.539 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3182, allocations: 0 / 307.3 MB, free: 9.539 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3182, allocations: 0 / 307.3 MB, free: 9.539 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.3182, allocations: 0 / 307.3 MB, free: 9.539 MB / 250.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.001228/0.3195, allocations: 0.5434 MB / 307.9 MB, free: 8.949 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.3195, allocations: 16.03 kB / 307.9 MB, free: 8.934 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3196, allocations: 31.62 kB / 307.9 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.3201, allocations: 259.1 kB / 308.2 MB, free: 8.609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.947e-05/0.3202, allocations: 72.06 kB / 308.3 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.3203, allocations: 28 kB / 308.3 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007094/0.321, allocations: 289.8 kB / 308.6 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.321, allocations: 3.938 kB / 308.6 MB, free: 8.199 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.423e-05/0.3211, allocations: 20 kB / 308.6 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.358e-05/0.3211, allocations: 8 kB / 308.6 MB, free: 8.172 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006138/0.3217, allocations: 182.2 kB / 308.8 MB, free: 7.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002525/0.3243, allocations: 1.15 MB / 309.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.3248, allocations: 146.6 kB / 310.1 MB, free: 6.605 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.3248, allocations: 12.33 kB / 310.1 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003877/0.3252, allocations: 162.3 kB / 310.2 MB, free: 6.418 MB / 250.7 MB Notification: Performance of pre-optimization done (n=21): time 2.475e-06/0.3252, allocations: 4 kB / 310.3 MB, free: 6.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=21): time 0.001658/0.3269, allocations: 392.9 kB / 310.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.158e-05/0.327, allocations: 102.8 kB / 310.7 MB, free: 5.879 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002867/0.3273, allocations: 204.2 kB / 310.9 MB, free: 5.676 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.3273, allocations: 29.7 kB / 311 MB, free: 5.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3275, allocations: 188 kB / 311.1 MB, free: 5.449 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.365e-05/0.3276, allocations: 63.16 kB / 311.2 MB, free: 5.387 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/0.3276, allocations: 8 kB / 311.2 MB, free: 5.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3278, allocations: 334.8 kB / 311.5 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.328, allocations: 59.98 kB / 311.6 MB, free: 4.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.3283, allocations: 136.8 kB / 311.7 MB, free: 4.82 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.3285, allocations: 89.11 kB / 311.8 MB, free: 4.734 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3285, allocations: 0 / 311.8 MB, free: 4.734 MB / 250.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007016/0.3293, allocations: 267.9 kB / 312.1 MB, free: 4.465 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.3293, allocations: 4.938 kB / 312.1 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.3293, allocations: 12.16 kB / 312.1 MB, free: 4.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004004/0.3298, allocations: 56.81 kB / 312.2 MB, free: 4.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.3302, allocations: 51.92 kB / 312.2 MB, free: 4.34 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001783/0.332, allocations: 1.404 MB / 313.6 MB, free: 2.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004188/0.3324, allocations: 47.95 kB / 313.7 MB, free: 2.754 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.3325, allocations: 11.98 kB / 313.7 MB, free: 2.742 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (34): * Single equations (assignments): 33 * 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.000218/0.3327, allocations: 149.7 kB / 313.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.3327, allocations: 19.72 kB / 313.8 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.341e-05/0.3328, allocations: 30.17 kB / 313.9 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3328, allocations: 4 kB / 313.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3328, allocations: 0 / 313.9 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.3329, allocations: 4 kB / 313.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.3334, allocations: 321.4 kB / 314.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3334, allocations: 0 / 314.2 MB, free: 2.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.3337, allocations: 31.98 kB / 314.2 MB, free: 2.137 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002979/0.334, allocations: 56.75 kB / 314.3 MB, free: 2.078 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3341, allocations: 11.98 kB / 314.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.3358, allocations: 1.339 MB / 315.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3358, allocations: 0 / 315.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3369, allocations: 335.9 kB / 316 MB, free: 248 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.3371, allocations: 116.8 kB / 316.1 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.3372, allocations: 4 kB / 316.1 MB, free: 108 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.3375, allocations: 19.98 kB / 316.1 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.3377, allocations: 31.94 kB / 316.1 MB, free: 56 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3377, allocations: 4 kB / 316.1 MB, free: 52 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002583/0.338, allocations: 164.5 kB / 316.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.338, allocations: 0 / 316.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005303/0.3385, allocations: 79.84 kB / 316.4 MB, free: 15.81 MB / 266.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.0001679/0.3387, allocations: 111.2 kB / 316.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007913/0.3395, allocations: 294.4 kB / 316.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3395, allocations: 448 / 316.8 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.3399, allocations: 198.2 kB / 317 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003646/0.3403, allocations: 40.25 kB / 317 MB, free: 15.15 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.343, allocations: 0.7997 MB / 317.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.3433, allocations: 0.7677 MB / 318.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001907/0.3436, allocations: 22.3 kB / 318.6 MB, free: 13.51 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.567e-05/0.3436, allocations: 19.44 kB / 318.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3437, allocations: 0 / 318.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Templates: time 0.009843/0.3535, allocations: 2.662 MB / 321.3 MB, free: 10.84 MB / 266.7 MB