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_cpp_Modelica.Electrical.Analog.Examples.SwitchWithArc") Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 171.1 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.567e-05, allocations: 8 kB / 228.1 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08754/0.0876, allocations: 38.78 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SwitchWithArc): time 0.00403/0.0917, allocations: 2.251 MB / 269.1 MB, free: 14.86 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001902/0.09366, allocations: 0.6939 MB / 269.8 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.09391, allocations: 8 kB / 269.9 MB, free: 14.16 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.09404, allocations: 39.67 kB / 269.9 MB, free: 14.12 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.09437, allocations: 103.7 kB / 270 MB, free: 14.02 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.09475, allocations: 71.81 kB / 270.1 MB, free: 13.95 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004126/0.09518, allocations: 187.6 kB / 270.2 MB, free: 13.76 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002031/0.0954, allocations: 65.59 kB / 270.3 MB, free: 13.7 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001796/0.09559, allocations: 103.8 kB / 270.4 MB, free: 13.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.09585, allocations: 119.6 kB / 270.5 MB, free: 13.48 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.47e-05/0.09594, allocations: 12 kB / 270.5 MB, free: 13.46 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.561e-05/0.096, allocations: 12 kB / 270.5 MB, free: 13.45 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.09608, allocations: 47.77 kB / 270.6 MB, free: 13.41 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.278e-05/0.09618, allocations: 32 kB / 270.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.09658, allocations: 259.5 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.0966, allocations: 0 / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.09662, allocations: 4 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.09664, allocations: 0 / 270.9 MB, free: 13.12 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.001359/0.09801, allocations: 0.5433 MB / 271.4 MB, free: 12.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.09807, allocations: 8.031 kB / 271.4 MB, free: 12.52 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.0982, allocations: 35.62 kB / 271.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004509/0.09866, allocations: 271.1 kB / 271.7 MB, free: 12.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.09878, allocations: 72.06 kB / 271.8 MB, free: 12.09 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.09887, allocations: 28 kB / 271.8 MB, free: 12.07 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007431/0.09962, allocations: 297.8 kB / 272.1 MB, free: 11.76 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.09966, allocations: 0 / 272.1 MB, free: 11.76 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.074e-05/0.09972, allocations: 12 kB / 272.1 MB, free: 11.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.09974, allocations: 7.938 kB / 272.1 MB, free: 11.74 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005661/0.1003, allocations: 194.1 kB / 272.3 MB, free: 11.55 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.103, allocations: 1.139 MB / 273.5 MB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.1035, allocations: 150.9 kB / 273.6 MB, free: 10.17 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1036, allocations: 7.953 kB / 273.6 MB, free: 10.16 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.104, allocations: 163.4 kB / 273.8 MB, free: 9.984 MB / 234.7 MB Notification: Performance of pre-optimization done (n=21): time 2.575e-06/0.104, allocations: 0 / 273.8 MB, free: 9.984 MB / 234.7 MB Notification: Performance of matching and sorting (n=21): time 0.001711/0.1057, allocations: 387.6 kB / 274.2 MB, free: 9.582 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.841e-05/0.1058, allocations: 114.8 kB / 274.3 MB, free: 9.445 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.1061, allocations: 204 kB / 274.5 MB, free: 9.242 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.172e-05/0.1062, allocations: 33.7 kB / 274.5 MB, free: 9.203 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.1064, allocations: 234.6 kB / 274.7 MB, free: 8.973 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.608e-05/0.1065, allocations: 67.09 kB / 274.8 MB, free: 8.906 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.1065, allocations: 8 kB / 274.8 MB, free: 8.898 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1067, allocations: 326.8 kB / 275.1 MB, free: 8.57 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.1069, allocations: 63.97 kB / 275.2 MB, free: 8.508 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/0.1072, allocations: 136.6 kB / 275.3 MB, free: 8.344 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.1074, allocations: 81.19 kB / 275.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1074, allocations: 0 / 275.4 MB, free: 8.266 MB / 234.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007117/0.1082, allocations: 264.2 kB / 275.7 MB, free: 8 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1082, allocations: 4 kB / 275.7 MB, free: 7.996 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/0.1082, allocations: 4 kB / 275.7 MB, free: 7.992 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/0.1086, allocations: 52.81 kB / 275.7 MB, free: 7.938 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.1091, allocations: 55.91 kB / 275.8 MB, free: 7.883 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/0.111, allocations: 1.416 MB / 277.2 MB, free: 6.332 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.1115, allocations: 39.73 kB / 277.2 MB, free: 6.293 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.1116, allocations: 8 kB / 277.2 MB, free: 6.285 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.0002378/0.1118, allocations: 165.1 kB / 277.4 MB, free: 6.117 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.661e-05/0.1119, allocations: 23.91 kB / 277.4 MB, free: 6.094 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.54e-05/0.112, allocations: 30.17 kB / 277.5 MB, free: 6.059 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.112, allocations: 7.938 kB / 277.5 MB, free: 6.051 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.112, allocations: 0 / 277.5 MB, free: 6.051 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.112, allocations: 0 / 277.5 MB, free: 6.051 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004871/0.1125, allocations: 325.3 kB / 277.8 MB, free: 5.684 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1125, allocations: 0 / 277.8 MB, free: 5.684 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003327/0.1129, allocations: 31.98 kB / 277.8 MB, free: 5.652 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003191/0.1132, allocations: 56.81 kB / 277.9 MB, free: 5.594 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.1132, allocations: 3.984 kB / 277.9 MB, free: 5.59 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.1149, allocations: 1.327 MB / 279.2 MB, free: 4.133 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.1149, allocations: 7.984 kB / 279.2 MB, free: 4.125 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.116, allocations: 325.7 kB / 279.5 MB, free: 3.785 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001513/0.1162, allocations: 116.8 kB / 279.6 MB, free: 3.652 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.1162, allocations: 4 kB / 279.6 MB, free: 3.648 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.1165, allocations: 19.98 kB / 279.7 MB, free: 3.629 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.1167, allocations: 39.88 kB / 279.7 MB, free: 3.59 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.1167, allocations: 8.062 kB / 279.7 MB, free: 3.582 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0002424/0.117, allocations: 160.5 kB / 279.9 MB, free: 3.422 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.117, allocations: 0 / 279.9 MB, free: 3.422 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005037/0.1175, allocations: 87.7 kB / 280 MB, free: 3.336 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.0001719/0.1177, allocations: 112.7 kB / 280.1 MB, free: 3.219 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0008318/0.1185, allocations: 293.8 kB / 280.3 MB, free: 2.922 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1185, allocations: 4 kB / 280.4 MB, free: 2.918 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.119, allocations: 186.6 kB / 280.5 MB, free: 2.723 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.1193, allocations: 32.42 kB / 280.6 MB, free: 2.691 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/0.1221, allocations: 0.8317 MB / 281.4 MB, free: 1.824 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1226, allocations: 0.7638 MB / 282.2 MB, free: 1.035 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.988e-05/0.1227, allocations: 23.44 kB / 282.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1227, allocations: 0 / 282.2 MB, free: 1.012 MB / 234.7 MB Notification: Performance of Templates: time 0.009233/0.1319, allocations: 4.032 MB / 286.2 MB, free: 12.98 MB / 250.7 MB