Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.579e-05/2.617e-05, allocations: 0.9844 kB / 292.7 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09595/0.096, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.5056, allocations: 86.96 MB / 430 MB, free: 7.336 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5059, allocations: 74.22 kB / 430.1 MB, free: 7.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1219/0.6279, allocations: 32.5 MB / 462.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.807e-06/0.6279, allocations: 0 / 462.6 MB, free: 11.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001359/0.6281, allocations: 55.94 kB / 462.7 MB, free: 11.07 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005219/0.6333, allocations: 1.959 MB / 464.6 MB, free: 9.051 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.6333, allocations: 12.03 kB / 464.6 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009385/0.6343, allocations: 257.1 kB / 464.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003039/0.6374, allocations: 1.25 MB / 466.1 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/0.6376, allocations: 164.5 kB / 466.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.638, allocations: 220 kB / 466.5 MB, free: 7.113 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006262/0.6443, allocations: 2.677 MB / 469.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.116e-05/0.6444, allocations: 0 / 469.2 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003043/0.6447, allocations: 100 kB / 469.3 MB, free: 4.199 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.154e-05/0.6448, allocations: 59.95 kB / 469.3 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/0.6494, allocations: 1.848 MB / 471.2 MB, free: 2.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01674/0.6662, allocations: 7.71 MB / 478.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/0.6679, allocations: 1.245 MB / 480.1 MB, free: 8.973 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.6694, allocations: 0.5946 MB / 480.7 MB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/0.6695, allocations: 4.562 kB / 480.7 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.6696, allocations: 43.12 kB / 480.8 MB, free: 8.324 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 4.011e-06/0.6696, allocations: 0 / 480.8 MB, free: 8.324 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.004662/0.6743, allocations: 2.084 MB / 482.9 MB, free: 6.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.6744, allocations: 59.97 kB / 482.9 MB, free: 6.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/0.6757, allocations: 0.6989 MB / 483.6 MB, free: 5.402 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.6758, allocations: 41.7 kB / 483.7 MB, free: 5.355 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008022/0.6766, allocations: 0.9099 MB / 484.6 MB, free: 4.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/0.6768, allocations: 220.8 kB / 484.8 MB, free: 4.211 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.6769, allocations: 16 kB / 484.8 MB, free: 4.195 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.6772, allocations: 402.6 kB / 485.2 MB, free: 3.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007248/0.6779, allocations: 349.6 kB / 485.5 MB, free: 3.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.6789, allocations: 0.5649 MB / 486.1 MB, free: 2.793 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009103/0.6798, allocations: 454.9 kB / 486.6 MB, free: 2.348 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.19e-06/0.6798, allocations: 4 kB / 486.6 MB, free: 2.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002483/0.6823, allocations: 1.096 MB / 487.7 MB, free: 1.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.6824, allocations: 8 kB / 487.7 MB, free: 1.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.6824, allocations: 16.02 kB / 487.7 MB, free: 1.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003759/0.6828, allocations: 108.8 kB / 487.8 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/0.6838, allocations: 175.7 kB / 488 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003078/0.6869, allocations: 2.135 MB / 490.1 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000782/0.6877, allocations: 44.03 kB / 490.1 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/0.6879, allocations: 32 kB / 490.2 MB, free: 14.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * 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%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002466/0.6881, allocations: 160.7 kB / 490.3 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/0.6884, allocations: 83.05 kB / 490.4 MB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002087/0.6905, allocations: 0.902 MB / 491.3 MB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6905, allocations: 7.938 kB / 491.3 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.6905, allocations: 7.953 kB / 491.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.6906, allocations: 3.984 kB / 491.3 MB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007174/0.6977, allocations: 2.662 MB / 494 MB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.864e-05/0.6978, allocations: 8 kB / 494 MB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00126/0.6991, allocations: 103.9 kB / 494.1 MB, free: 10.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/0.6997, allocations: 100.9 kB / 494.2 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/0.6999, allocations: 19.94 kB / 494.2 MB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004585/0.7045, allocations: 2.077 MB / 496.3 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.556e-06/0.7045, allocations: 0 / 496.3 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004343/0.7089, allocations: 1.447 MB / 497.7 MB, free: 6.707 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005409/0.7094, allocations: 228 kB / 498 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.7096, allocations: 19.92 kB / 498 MB, free: 6.445 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.7102, allocations: 47.97 kB / 498 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.7104, allocations: 52.5 kB / 498.1 MB, free: 6.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/0.7104, allocations: 20 kB / 498.1 MB, free: 6.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001046/0.7115, allocations: 0.5421 MB / 498.6 MB, free: 5.789 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.7115, allocations: 0 / 498.6 MB, free: 5.789 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001525/0.7131, allocations: 319.9 kB / 499 MB, free: 5.477 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000334/0.7134, allocations: 143.1 kB / 499.1 MB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002096/0.7155, allocations: 1.01 MB / 0.4884 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.524e-06/0.7155, allocations: 1.875 kB / 0.4884 GB, free: 4.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.7167, allocations: 0.5891 MB / 0.489 GB, free: 3.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001235/0.718, allocations: 203 kB / 0.4892 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00611/0.7241, allocations: 2.503 MB / 0.4916 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002169/0.7263, allocations: 1.763 MB / 0.4933 GB, free: 15.13 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008444/0.7272, allocations: 191 kB / 0.4935 GB, free: 14.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.7274, allocations: 59.42 kB / 0.4936 GB, free: 14.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.592e-06/0.7275, allocations: 0 / 0.4936 GB, free: 14.89 MB / 426.7 MB Notification: Performance of Templates: time 0.03267/0.7601, allocations: 11.28 MB / 0.5046 GB, free: 3.734 MB / 426.7 MB