Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma|abs_y|dB_y|arg_y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 1.851/1.851, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.548e-05, allocations: 1.562 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08773, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4431, allocations: 84.65 MB / 427.7 MB, free: 9.621 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4434, allocations: 80.52 kB / 427.8 MB, free: 9.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05736/0.5008, allocations: 16.47 MB / 444.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.071e-06/0.5008, allocations: 4 kB / 444.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.64e-05/0.5008, allocations: 12 kB / 444.3 MB, free: 12 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002221/0.5031, allocations: 0.7995 MB / 445.1 MB, free: 11.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5031, allocations: 12.02 kB / 445.1 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002585/0.5057, allocations: 304.1 kB / 445.4 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.5063, allocations: 332 kB / 445.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.59e-05/0.5064, allocations: 43.12 kB / 445.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5065, allocations: 61.81 kB / 445.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.508, allocations: 0.6695 MB / 446.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.508, allocations: 4 kB / 446.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.5081, allocations: 29.7 kB / 446.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.5081, allocations: 12 kB / 446.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.5096, allocations: 0.6678 MB / 447.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004698/0.5143, allocations: 2.426 MB / 449.6 MB, free: 7.723 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.5162, allocations: 1.203 MB / 450.8 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005048/0.5167, allocations: 234.1 kB / 451.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.5168, allocations: 97.84 kB / 451.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.5169, allocations: 47.34 kB / 451.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.539e-06/0.5169, allocations: 0 / 451.2 MB, free: 6.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001293/0.5182, allocations: 0.4958 MB / 451.7 MB, free: 5.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.5183, allocations: 81.48 kB / 451.8 MB, free: 5.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/0.5187, allocations: 234.9 kB / 452 MB, free: 5.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/0.5187, allocations: 37.7 kB / 452 MB, free: 5.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.5189, allocations: 244.4 kB / 452.3 MB, free: 4.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.5191, allocations: 161.6 kB / 452.4 MB, free: 4.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.396e-05/0.5192, allocations: 12 kB / 452.5 MB, free: 4.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.5194, allocations: 342.8 kB / 452.8 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/0.5199, allocations: 181.1 kB / 453 MB, free: 4.297 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.5204, allocations: 315.3 kB / 453.3 MB, free: 3.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/0.521, allocations: 216.5 kB / 453.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.903e-06/0.521, allocations: 0 / 453.5 MB, free: 3.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00147/0.5225, allocations: 0.5968 MB / 454.1 MB, free: 3.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007834/0.5233, allocations: 1.395 MB / 455.5 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.5233, allocations: 8 kB / 455.5 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002774/0.5236, allocations: 52.83 kB / 455.5 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.5242, allocations: 119.8 kB / 455.7 MB, free: 1.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/0.5262, allocations: 1.592 MB / 457.2 MB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004615/0.5267, allocations: 71.42 kB / 457.3 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.209e-05/0.5268, allocations: 27.98 kB / 457.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.5268, allocations: 4 kB / 457.3 MB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001347/0.5282, allocations: 0.5319 MB / 457.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.721e-06/0.5282, allocations: 4 kB / 457.9 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002105/0.5284, allocations: 52.8 kB / 457.9 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/0.529, allocations: 111.8 kB / 458 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.5308, allocations: 1.496 MB / 459.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/0.5312, allocations: 59.58 kB / 459.6 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.066e-05/0.5313, allocations: 23.98 kB / 459.6 MB, free: 13.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001818/0.5315, allocations: 128.9 kB / 459.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.5316, allocations: 31.62 kB / 459.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/0.5331, allocations: 0.5945 MB / 460.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.464e-05/0.5331, allocations: 4 kB / 460.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.27e-06/0.5331, allocations: 7.938 kB / 460.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.751e-06/0.5331, allocations: 8 kB / 460.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.5357, allocations: 1.252 MB / 461.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.812e-06/0.5357, allocations: 0 / 461.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005516/0.5363, allocations: 91.88 kB / 461.7 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.5365, allocations: 56.83 kB / 461.8 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/0.5366, allocations: 11.98 kB / 461.8 MB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0019/0.5385, allocations: 1.577 MB / 463.4 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.652e-06/0.5385, allocations: 7.891 kB / 463.4 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.5405, allocations: 0.9015 MB / 464.3 MB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.5407, allocations: 156.5 kB / 464.4 MB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.771e-05/0.5408, allocations: 12.12 kB / 464.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003786/0.5412, allocations: 27.98 kB / 464.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.5413, allocations: 40.38 kB / 464.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.5414, allocations: 15.98 kB / 464.5 MB, free: 8.035 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000253/0.5417, allocations: 191.1 kB / 464.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.5417, allocations: 0 / 464.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001124/0.5428, allocations: 255.2 kB / 465 MB, free: 7.594 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003347/0.5432, allocations: 175 kB / 465.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002087/0.5453, allocations: 1.008 MB / 466.1 MB, free: 6.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.513e-06/0.5453, allocations: 3.938 kB / 466.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007201/0.546, allocations: 379.2 kB / 466.5 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003756/0.5464, allocations: 39.89 kB / 466.6 MB, free: 5.973 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.548, allocations: 0.6584 MB / 467.2 MB, free: 5.289 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005863/0.5486, allocations: 0.833 MB / 468.1 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001918/0.5505, allocations: 1.091 MB / 469.1 MB, free: 3.332 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.5507, allocations: 43.41 kB / 469.2 MB, free: 3.289 MB / 378.7 MB Notification: Performance of SimCode: time 1.379e-06/0.5508, allocations: 0 / 469.2 MB, free: 3.289 MB / 378.7 MB Notification: Performance of Templates: time 0.01597/0.5667, allocations: 5.796 MB / 475 MB, free: 13.51 MB / 394.7 MB