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.1_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.882e-05, allocations: 4 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09207, allocations: 38.76 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.00375/0.09588, allocations: 2.257 MB / 269.2 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.09761, allocations: 0.6978 MB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.09784, allocations: 11.94 kB / 269.9 MB, free: 13.49 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.09796, allocations: 35.75 kB / 269.9 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.09827, allocations: 99.69 kB / 270 MB, free: 13.36 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.09864, allocations: 79.78 kB / 270.1 MB, free: 13.28 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.09903, allocations: 187.6 kB / 270.3 MB, free: 13.09 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.09922, allocations: 57.61 kB / 270.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001666/0.0994, allocations: 103.8 kB / 270.4 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.09966, allocations: 115.6 kB / 270.5 MB, free: 12.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.02e-05/0.09974, allocations: 12 kB / 270.6 MB, free: 12.81 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.338e-05/0.0998, allocations: 15.98 kB / 270.6 MB, free: 12.79 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.09988, allocations: 55.77 kB / 270.6 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.039e-05/0.09999, allocations: 28 kB / 270.7 MB, free: 12.71 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.1004, allocations: 259.5 kB / 270.9 MB, free: 12.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.1004, allocations: 0 / 270.9 MB, free: 12.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1004, allocations: 0 / 270.9 MB, free: 12.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.1004, allocations: 0 / 270.9 MB, free: 12.46 MB / 234.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.001334/0.1018, allocations: 0.5356 MB / 271.4 MB, free: 11.87 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1018, allocations: 16.03 kB / 271.5 MB, free: 11.86 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.1019, allocations: 31.62 kB / 271.5 MB, free: 11.82 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.1024, allocations: 267.1 kB / 271.7 MB, free: 11.52 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.796e-05/0.1025, allocations: 80.05 kB / 271.8 MB, free: 11.43 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.1026, allocations: 28 kB / 271.9 MB, free: 11.41 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.1033, allocations: 285.8 kB / 272.1 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1034, allocations: 0 / 272.1 MB, free: 11.11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.803e-05/0.1034, allocations: 23.86 kB / 272.2 MB, free: 11.09 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1035, allocations: 12 kB / 272.2 MB, free: 11.07 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005579/0.104, allocations: 182.2 kB / 272.3 MB, free: 10.89 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.1067, allocations: 1.143 MB / 273.5 MB, free: 9.672 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004816/0.1073, allocations: 166.9 kB / 273.6 MB, free: 9.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.1073, allocations: 3.953 kB / 273.7 MB, free: 9.496 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.1077, allocations: 159.5 kB / 273.8 MB, free: 9.32 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 6.122e-06/0.1077, allocations: 4 kB / 273.8 MB, free: 9.316 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.001736/0.1095, allocations: 392 kB / 274.2 MB, free: 8.91 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.1096, allocations: 106.8 kB / 274.3 MB, free: 8.781 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.1099, allocations: 204.1 kB / 274.5 MB, free: 8.578 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.11, allocations: 33.7 kB / 274.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.1102, allocations: 184.1 kB / 274.7 MB, free: 8.355 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.406e-05/0.1103, allocations: 63.09 kB / 274.8 MB, free: 8.293 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.1103, allocations: 4 kB / 274.8 MB, free: 8.289 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.1105, allocations: 338.8 kB / 275.1 MB, free: 7.949 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.1107, allocations: 71.91 kB / 275.2 MB, free: 7.879 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002949/0.111, allocations: 136.6 kB / 275.3 MB, free: 7.715 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.1113, allocations: 73.2 kB / 275.4 MB, free: 7.645 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/0.1113, allocations: 4 kB / 275.4 MB, free: 7.641 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000738/0.112, allocations: 271.8 kB / 275.7 MB, free: 7.367 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1121, allocations: 9.25 kB / 275.7 MB, free: 7.359 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1121, allocations: 4.203 kB / 275.7 MB, free: 7.355 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003897/0.1125, allocations: 52.83 kB / 275.7 MB, free: 7.301 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.1129, allocations: 55.91 kB / 275.8 MB, free: 7.246 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001962/0.1149, allocations: 1.412 MB / 277.2 MB, free: 5.699 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.1154, allocations: 47.92 kB / 277.2 MB, free: 5.652 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.1154, allocations: 8 kB / 277.2 MB, free: 5.645 MB / 234.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.tSwitch,switch2.tSwitch,$PRE.switch2.quenched,switch2.quenched) * 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.0002223/0.1156, allocations: 149.2 kB / 277.4 MB, free: 5.492 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.764e-05/0.1157, allocations: 19.81 kB / 277.4 MB, free: 5.473 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.1158, allocations: 30.11 kB / 277.4 MB, free: 5.438 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1158, allocations: 4 kB / 277.4 MB, free: 5.434 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1158, allocations: 4 kB / 277.4 MB, free: 5.43 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1159, allocations: 7.984 kB / 277.4 MB, free: 5.422 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.1164, allocations: 321.3 kB / 277.8 MB, free: 5.059 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1164, allocations: 0 / 277.8 MB, free: 5.059 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/0.1167, allocations: 35.97 kB / 277.8 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003121/0.117, allocations: 56.81 kB / 277.9 MB, free: 4.965 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1171, allocations: 4 kB / 277.9 MB, free: 4.961 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001735/0.1188, allocations: 1.327 MB / 279.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1189, allocations: 0 / 279.2 MB, free: 3.504 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.1199, allocations: 337.6 kB / 279.5 MB, free: 3.152 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.1201, allocations: 108.8 kB / 279.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.1202, allocations: 7.984 kB / 279.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.1205, allocations: 23.98 kB / 279.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.1207, allocations: 31.94 kB / 279.7 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.1207, allocations: 4 kB / 279.7 MB, free: 2.961 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.121, allocations: 156.5 kB / 279.8 MB, free: 2.805 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.121, allocations: 4 kB / 279.8 MB, free: 2.801 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005663/0.1215, allocations: 83.8 kB / 279.9 MB, free: 2.719 MB / 234.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.tSwitch,switch2.quenched) * 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.0002014/0.1218, allocations: 115.2 kB / 280 MB, free: 2.598 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008583/0.1226, allocations: 286.5 kB / 280.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.1227, allocations: 0 / 280.3 MB, free: 2.305 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004388/0.1231, allocations: 201.6 kB / 280.5 MB, free: 2.098 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1235, allocations: 32.36 kB / 280.5 MB, free: 2.066 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002841/0.1264, allocations: 0.7988 MB / 281.3 MB, free: 1.238 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.1268, allocations: 0.7677 MB / 282.1 MB, free: 456 kB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.0002002/0.1271, allocations: 22.28 kB / 282.1 MB, free: 436 kB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.1272, allocations: 19.44 kB / 282.2 MB, free: 416 kB / 234.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1272, allocations: 4 kB / 282.2 MB, free: 412 kB / 234.7 MB Notification: Performance of Templates: time 0.01009/0.1373, allocations: 2.667 MB / 284.8 MB, free: 13.74 MB / 250.7 MB