Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.184e-05/2.191e-05, allocations: 0 / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08917, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3698/0.459, allocations: 96.25 MB / 438.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4593, allocations: 82.89 kB / 438.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.312/1.772, allocations: 301.3 MB / 0.7228 GB, free: 50.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.074e-06/1.772, allocations: 4 kB / 0.7229 GB, free: 50.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003718/1.772, allocations: 195.4 kB / 0.723 GB, free: 50.43 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: 2457 * Number of variables: 2457 Notification: Performance of Generate backend data structure: time 0.0294/1.801, allocations: 7.789 MB / 0.7306 GB, free: 48.13 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/1.801, allocations: 14.34 kB / 0.7307 GB, free: 48.13 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01968/1.821, allocations: 2.596 MB / 0.7332 GB, free: 47.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01316/1.834, allocations: 5.52 MB / 0.7386 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005519/1.835, allocations: 0.6353 MB / 0.7392 GB, free: 46.93 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/1.837, allocations: 0.8378 MB / 0.74 GB, free: 46.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03014/1.868, allocations: 13.35 MB / 0.7531 GB, free: 45.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/1.868, allocations: 13.3 kB / 0.7531 GB, free: 45.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.869, allocations: 365.9 kB / 0.7534 GB, free: 45.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005605/1.87, allocations: 0.6138 MB / 0.754 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/1.893, allocations: 9.999 MB / 0.7638 GB, free: 45.84 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07324/1.967, allocations: 43.68 MB / 0.8064 GB, free: 23.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/1.977, allocations: 10.47 MB / 0.8167 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0027/1.98, allocations: 1.72 MB / 0.8184 GB, free: 12.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002363/1.98, allocations: 133.3 kB / 0.8185 GB, free: 12.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/1.98, allocations: 59.94 kB / 0.8185 GB, free: 12.06 MB / 442.7 MB Notification: Performance of pre-optimization done (n=234): time 6.746e-06/1.98, allocations: 0 / 0.8185 GB, free: 12.06 MB / 442.7 MB Notification: Performance of matching and sorting (n=234): time 0.00553/1.986, allocations: 3.054 MB / 0.8215 GB, free: 9.391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/1.986, allocations: 77.41 kB / 0.8216 GB, free: 9.305 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00415/1.99, allocations: 2.594 MB / 0.8241 GB, free: 7.02 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001794/1.99, allocations: 65.7 kB / 0.8242 GB, free: 6.949 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/1.992, allocations: 3.819 MB / 0.8279 GB, free: 3.574 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/1.992, allocations: 0.8322 MB / 0.8287 GB, free: 2.832 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/1.993, allocations: 99.75 kB / 0.8288 GB, free: 2.738 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002904/1.993, allocations: 499.8 kB / 0.8293 GB, free: 2.297 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/1.996, allocations: 1.984 MB / 0.8312 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01402/2.01, allocations: 4.59 MB / 0.8357 GB, free: 12.87 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/2.016, allocations: 3.048 MB / 0.8387 GB, free: 10.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-05/2.016, allocations: 20 kB / 0.8387 GB, free: 10.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01355/2.03, allocations: 6.312 MB / 0.8449 GB, free: 4.742 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/2.03, allocations: 36 kB / 0.8449 GB, free: 4.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001064/2.03, allocations: 76 kB / 0.845 GB, free: 4.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/2.031, allocations: 416.3 kB / 0.8454 GB, free: 4.273 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004694/2.036, allocations: 1.071 MB / 0.8464 GB, free: 3.344 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006877/2.043, allocations: 4.064 MB / 0.8504 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/2.047, allocations: 0.6255 MB / 0.851 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006251/2.048, allocations: 243.9 kB / 0.8512 GB, free: 14.79 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 340 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (574): * Single equations (assignments): 569 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008547/2.049, allocations: 422.9 kB / 0.8517 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000659/2.049, allocations: 271.8 kB / 0.8519 GB, free: 14.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00856/2.058, allocations: 3.657 MB / 0.8555 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005978/2.064, allocations: 2.872 MB / 0.8583 GB, free: 8.539 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.487e-05/2.064, allocations: 4 kB / 0.8583 GB, free: 8.535 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.849e-05/2.064, allocations: 11.95 kB / 0.8583 GB, free: 8.535 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/2.087, allocations: 10.34 MB / 0.8684 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.572e-05/2.087, allocations: 4 kB / 0.8684 GB, free: 16 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2801/2.367, allocations: 429.7 kB / 0.8688 GB, free: 77.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/2.368, allocations: 312.5 kB / 0.8691 GB, free: 77.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/2.369, allocations: 52.61 kB / 0.8692 GB, free: 77.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006187/2.375, allocations: 3.858 MB / 0.8729 GB, free: 75.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.345e-06/2.375, allocations: 1.406 kB / 0.8729 GB, free: 75.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01049/2.385, allocations: 5.333 MB / 0.8781 GB, free: 75.48 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/2.387, allocations: 0.6329 MB / 0.8788 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/2.387, allocations: 43.53 kB / 0.8788 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/2.389, allocations: 136.8 kB / 0.8789 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003923/2.389, allocations: 152.2 kB / 0.8791 GB, free: 75.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000224/2.39, allocations: 65.17 kB / 0.8791 GB, free: 75.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003759/2.393, allocations: 1.915 MB / 0.881 GB, free: 75.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.3e-07/2.393, allocations: 0 / 0.881 GB, free: 75.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006347/2.4, allocations: 1.987 MB / 0.8829 GB, free: 74.82 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (223): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(3,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006244/2.4, allocations: 299.1 kB / 0.8832 GB, free: 74.73 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008928/2.409, allocations: 4.526 MB / 0.8877 GB, free: 74.54 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.778e-06/2.409, allocations: 0 / 0.8877 GB, free: 74.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003317/2.413, allocations: 1.752 MB / 0.8894 GB, free: 74.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003205/2.416, allocations: 0.6043 MB / 0.89 GB, free: 74.38 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02334/2.439, allocations: 10.89 MB / 0.9006 GB, free: 72.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007672/2.447, allocations: 5.795 MB / 0.9063 GB, free: 71.39 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005651/2.453, allocations: 1.695 MB / 0.9079 GB, free: 71.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000875/2.454, allocations: 231.6 kB / 0.9081 GB, free: 71.34 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/2.454, allocations: 0 / 0.9081 GB, free: 71.34 MB / 474.7 MB Notification: Performance of Templates: time 0.1269/2.581, allocations: 39.84 MB / 0.947 GB, free: 69.22 MB / 474.7 MB