Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.802/1.802, allocations: 205.8 MB / 218.9 MB, free: 9.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.813e-05/2.823e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08263/0.08268, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3469/0.4296, allocations: 91.68 MB / 408.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4299, allocations: 79.89 kB / 408.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.304/1.734, allocations: 305 MB / 0.697 GB, free: 62.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.002e-06/1.734, allocations: 0 / 0.697 GB, free: 62.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003981/1.734, allocations: 196.9 kB / 0.6972 GB, free: 62.5 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03025/1.765, allocations: 7.991 MB / 0.705 GB, free: 60.1 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/1.765, allocations: 9.625 kB / 0.705 GB, free: 60.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02985/1.795, allocations: 3.878 MB / 0.7088 GB, free: 59.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01308/1.808, allocations: 5.384 MB / 0.714 GB, free: 58.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009232/1.809, allocations: 0.6773 MB / 0.7147 GB, free: 58.9 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003191/1.812, allocations: 0.8625 MB / 0.7155 GB, free: 58.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03692/1.849, allocations: 15.09 MB / 0.7302 GB, free: 57.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002315/1.849, allocations: 11.34 kB / 0.7303 GB, free: 57.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/1.851, allocations: 376.8 kB / 0.7306 GB, free: 57.84 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005901/1.851, allocations: 0.5886 MB / 0.7312 GB, free: 57.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03077/1.882, allocations: 12.63 MB / 0.7435 GB, free: 57.78 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09539/1.977, allocations: 47.8 MB / 0.7902 GB, free: 36.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0155/1.993, allocations: 9.586 MB / 0.7996 GB, free: 27.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01115/2.004, allocations: 6.585 MB / 0.806 GB, free: 21.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04505/2.049, allocations: 21 MB / 0.8265 GB, free: 3.902 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.307e-05/2.049, allocations: 90.31 kB / 0.8266 GB, free: 3.805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=711): time 1.175e-05/2.049, allocations: 4 kB / 0.8266 GB, free: 3.801 MB / 442.7 MB Notification: Performance of matching and sorting (n=711): time 0.0258/2.075, allocations: 11.58 MB / 0.8379 GB, free: 9.715 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/2.075, allocations: 111.7 kB / 0.838 GB, free: 9.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003525/2.079, allocations: 1.73 MB / 0.8397 GB, free: 8.074 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00103/2.08, allocations: 117.7 kB / 0.8398 GB, free: 7.953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002595/2.083, allocations: 3.027 MB / 0.8428 GB, free: 5.281 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003475/2.086, allocations: 2.334 MB / 0.845 GB, free: 3.176 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006294/2.087, allocations: 116 kB / 0.8452 GB, free: 3.062 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006374/2.087, allocations: 0.5886 MB / 0.8457 GB, free: 2.551 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01987/2.107, allocations: 5.173 MB / 0.8508 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3273/2.435, allocations: 5.768 MB / 0.8564 GB, free: 76.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01208/2.447, allocations: 5.566 MB / 0.8618 GB, free: 76.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.485e-05/2.447, allocations: 11.62 kB / 0.8619 GB, free: 76.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02577/2.473, allocations: 13.01 MB / 0.8746 GB, free: 76.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/2.473, allocations: 20.25 kB / 0.8746 GB, free: 76.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-05/2.473, allocations: 32.5 kB / 0.8746 GB, free: 76.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008018/2.481, allocations: 3.693 MB / 0.8782 GB, free: 76.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005499/2.486, allocations: 1.03 MB / 0.8792 GB, free: 76.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01499/2.501, allocations: 9.18 MB / 0.8882 GB, free: 73.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004806/2.506, allocations: 0.7159 MB / 0.8889 GB, free: 72.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008004/2.507, allocations: 270 kB / 0.8892 GB, free: 72.89 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 143 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (570): * Single equations (assignments): 479 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of prepare postOptimizeDAE: time 0.001343/2.508, allocations: 417.8 kB / 0.8896 GB, free: 72.79 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/2.509, allocations: 353.8 kB / 0.8899 GB, free: 72.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/2.533, allocations: 12.89 MB / 0.9025 GB, free: 72.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02057/2.554, allocations: 11.47 MB / 0.9137 GB, free: 69.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/2.554, allocations: 7.016 kB / 0.9137 GB, free: 69.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-05/2.554, allocations: 29 kB / 0.9137 GB, free: 69.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04365/2.598, allocations: 24.4 MB / 0.9375 GB, free: 59.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/2.598, allocations: 0 / 0.9375 GB, free: 59.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003941/2.602, allocations: 0.707 MB / 0.9382 GB, free: 59.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007936/2.61, allocations: 3.65 MB / 0.9418 GB, free: 58.44 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007628/2.61, allocations: 149.8 kB / 0.9419 GB, free: 58.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/2.622, allocations: 9.121 MB / 0.9508 GB, free: 52.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.012e-06/2.622, allocations: 0 / 0.9508 GB, free: 52.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03281/2.654, allocations: 18.88 MB / 0.9693 GB, free: 35.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003438/2.658, allocations: 1.495 MB / 0.9707 GB, free: 34.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008463/2.659, allocations: 90.56 kB / 0.9708 GB, free: 34.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002675/2.661, allocations: 253.7 kB / 0.9711 GB, free: 34.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/2.663, allocations: 0.5172 MB / 0.9716 GB, free: 33.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006603/2.663, allocations: 185 kB / 0.9718 GB, free: 33.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002068/2.665, allocations: 1.297 MB / 0.973 GB, free: 32.64 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.65e-07/2.666, allocations: 0 / 0.973 GB, free: 32.64 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005451/2.671, allocations: 2.162 MB / 0.9751 GB, free: 30.71 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (currentQuasiRMSSensor.currentSensor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (403): * Single equations (assignments): 312 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 85 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {6 9,6 9,6 9,6 9,6 9,12 86} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008341/2.672, allocations: 293.9 kB / 0.9754 GB, free: 30.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01848/2.69, allocations: 10.85 MB / 0.986 GB, free: 20.89 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.941e-06/2.69, allocations: 4.125 kB / 0.986 GB, free: 20.89 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009986/2.7, allocations: 5.52 MB / 0.9914 GB, free: 16.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003469/2.704, allocations: 0.6115 MB / 0.992 GB, free: 15.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03173/2.736, allocations: 16.88 MB / 1.008 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008871/2.745, allocations: 6.169 MB / 1.015 GB, free: 12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005126/2.75, allocations: 1.297 MB / 1.016 GB, free: 11.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/2.751, allocations: 249.4 kB / 1.016 GB, free: 10.87 MB / 474.7 MB Notification: Performance of SimCode: time 1.763e-06/2.751, allocations: 0 / 1.016 GB, free: 10.87 MB / 474.7 MB Notification: Performance of Templates: time 0.4645/3.215, allocations: 93.15 MB / 1.107 GB, free: 78.36 MB / 474.7 MB