Running command: translateModel(Modelica.Electrical.QuasiStationary.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_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesBode") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.866e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08358/0.08363, allocations: 47.56 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3325/0.4162, allocations: 82.77 MB / 399.7 MB, free: 5.402 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.4165, allocations: 83.77 kB / 399.8 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06494/0.4814, allocations: 17.99 MB / 417.8 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.383e-06/0.4815, allocations: 3.938 kB / 417.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.889e-05/0.4815, allocations: 8 kB / 417.8 MB, free: 6.449 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002362/0.4839, allocations: 0.8321 MB / 418.6 MB, free: 5.633 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4839, allocations: 8.031 kB / 418.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/0.488, allocations: 451.7 kB / 419.1 MB, free: 5.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006911/0.4887, allocations: 374 kB / 419.4 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.49e-05/0.4888, allocations: 49.69 kB / 419.5 MB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.489, allocations: 69.06 kB / 419.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.4907, allocations: 0.7757 MB / 420.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.897e-05/0.4908, allocations: 0 / 420.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.667e-05/0.4909, allocations: 24.5 kB / 420.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.4909, allocations: 16 kB / 420.4 MB, free: 4.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/0.4927, allocations: 0.8062 MB / 421.2 MB, free: 3.773 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005658/0.4984, allocations: 2.79 MB / 424 MB, free: 1.492 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002476/0.5009, allocations: 1.964 MB / 425.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.5015, allocations: 253.5 kB / 426.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001373/0.5016, allocations: 93.03 kB / 426.3 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.5017, allocations: 38.44 kB / 426.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=52): time 4.407e-06/0.5017, allocations: 0 / 426.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=52): time 0.001329/0.503, allocations: 0.5176 MB / 426.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.5031, allocations: 89.17 kB / 426.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.5036, allocations: 266.1 kB / 427.2 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.5036, allocations: 37.02 kB / 427.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.5039, allocations: 285 kB / 427.5 MB, free: 14.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.5041, allocations: 174.6 kB / 427.6 MB, free: 14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.549e-05/0.5041, allocations: 13.75 kB / 427.7 MB, free: 14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001989/0.5043, allocations: 351.9 kB / 428 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004652/0.5048, allocations: 200.8 kB / 428.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.5055, allocations: 399.4 kB / 428.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.506, allocations: 242.2 kB / 428.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.84e-06/0.5061, allocations: 4 kB / 428.8 MB, free: 13.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.00165/0.5077, allocations: 0.688 MB / 429.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001356/0.5091, allocations: 2.438 MB / 432 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.5091, allocations: 4 kB / 432 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003045/0.5094, allocations: 62.64 kB / 432 MB, free: 9.859 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/0.5102, allocations: 146.5 kB / 432.2 MB, free: 9.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.5123, allocations: 1.601 MB / 433.8 MB, free: 8.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.5129, allocations: 86.39 kB / 433.8 MB, free: 8.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.157e-05/0.513, allocations: 30.92 kB / 433.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.513, allocations: 7.938 kB / 433.9 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001506/0.5145, allocations: 0.6231 MB / 434.5 MB, free: 7.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.5146, allocations: 8 kB / 434.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.5148, allocations: 51.94 kB / 434.6 MB, free: 7.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.5155, allocations: 147.3 kB / 434.7 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001774/0.5173, allocations: 1.505 MB / 436.2 MB, free: 5.895 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.5178, allocations: 65.36 kB / 436.3 MB, free: 5.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.5179, allocations: 31.92 kB / 436.3 MB, free: 5.812 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 68 * 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.0002234/0.5182, allocations: 148.1 kB / 436.5 MB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.5183, allocations: 43.59 kB / 436.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001499/0.5198, allocations: 0.6136 MB / 437.1 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.5199, allocations: 8 kB / 437.1 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.961e-06/0.5199, allocations: 7.938 kB / 437.1 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.657e-06/0.5199, allocations: 0 / 437.1 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002672/0.5226, allocations: 1.329 MB / 438.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.172e-06/0.5226, allocations: 0 / 438.5 MB, free: 4.199 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005784/0.5232, allocations: 95.44 kB / 438.6 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002497/0.5235, allocations: 51.2 kB / 438.6 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/0.5235, allocations: 18.61 kB / 438.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001962/0.5255, allocations: 1.597 MB / 440.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5255, allocations: 0 / 440.2 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.5275, allocations: 0.9261 MB / 441.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.5278, allocations: 160.5 kB / 441.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.5279, allocations: 15.98 kB / 441.3 MB, free: 1.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.5284, allocations: 28.11 kB / 441.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/0.5285, allocations: 40.38 kB / 441.4 MB, free: 1.547 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-05/0.5286, allocations: 19.98 kB / 441.4 MB, free: 1.527 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000312/0.5289, allocations: 207.1 kB / 441.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.5289, allocations: 0 / 441.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001385/0.5303, allocations: 287.1 kB / 441.9 MB, free: 1.043 MB / 346.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 (48): * Single equations (assignments): 45 * 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.0003199/0.5306, allocations: 158.7 kB / 442 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002405/0.5331, allocations: 1.099 MB / 443.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.889e-06/0.5331, allocations: 0.75 kB / 443.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.5339, allocations: 383.4 kB / 443.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.5343, allocations: 40.7 kB / 443.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004407/0.5387, allocations: 1.215 MB / 444.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006415/0.5394, allocations: 0.8575 MB / 445.6 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00215/0.5415, allocations: 1.1 MB / 446.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.5418, allocations: 47.41 kB / 446.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of SimCode: time 1.943e-06/0.5418, allocations: 0 / 446.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Templates: time 0.01748/0.5593, allocations: 5.979 MB / 452.7 MB, free: 6.105 MB / 362.7 MB