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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.937/1.937, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.853e-05, allocations: 7.938 kB / 292.7 MB, free: 11.48 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09019/0.09024, allocations: 50.41 MB / 343.1 MB, free: 9.07 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4598, allocations: 96.02 MB / 439.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.46, allocations: 84.61 kB / 439.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.352/1.812, allocations: 301.3 MB / 0.7231 GB, free: 60.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.792e-06/1.812, allocations: 0 / 0.7231 GB, free: 60.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004645/1.812, allocations: 196.5 kB / 0.7233 GB, free: 60.14 MB / 458.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.0337/1.846, allocations: 7.793 MB / 0.7309 GB, free: 58.03 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/1.846, allocations: 9.188 kB / 0.7309 GB, free: 58.03 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01744/1.863, allocations: 2.604 MB / 0.7335 GB, free: 57.58 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01404/1.878, allocations: 5.521 MB / 0.7389 GB, free: 56.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007026/1.878, allocations: 0.6348 MB / 0.7395 GB, free: 56.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002878/1.881, allocations: 0.8311 MB / 0.7403 GB, free: 56.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03382/1.915, allocations: 13.36 MB / 0.7533 GB, free: 55.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.915, allocations: 6.047 kB / 0.7533 GB, free: 55.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/1.917, allocations: 366.8 kB / 0.7537 GB, free: 55.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006216/1.917, allocations: 0.6182 MB / 0.7543 GB, free: 55.82 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/1.943, allocations: 10 MB / 0.7641 GB, free: 55.78 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07859/2.022, allocations: 43.68 MB / 0.8067 GB, free: 41.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/2.032, allocations: 10.47 MB / 0.8169 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/2.036, allocations: 1.721 MB / 0.8186 GB, free: 31.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/2.036, allocations: 133.6 kB / 0.8187 GB, free: 31.88 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/2.036, allocations: 56.2 kB / 0.8188 GB, free: 31.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=234): time 6.832e-06/2.036, allocations: 0 / 0.8188 GB, free: 31.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=234): time 0.006279/2.042, allocations: 3.056 MB / 0.8218 GB, free: 30.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/2.042, allocations: 76.75 kB / 0.8219 GB, free: 30.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004714/2.047, allocations: 2.594 MB / 0.8244 GB, free: 29.61 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003595/2.047, allocations: 65.42 kB / 0.8245 GB, free: 29.55 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002033/2.05, allocations: 3.817 MB / 0.8282 GB, free: 26.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008754/2.05, allocations: 0.8309 MB / 0.829 GB, free: 26.06 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/2.051, allocations: 93.22 kB / 0.8291 GB, free: 25.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002991/2.051, allocations: 0.4982 MB / 0.8296 GB, free: 25.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003378/2.054, allocations: 1.971 MB / 0.8315 GB, free: 24.89 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004813/2.059, allocations: 4.126 MB / 0.8355 GB, free: 21.26 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005237/2.065, allocations: 3.045 MB / 0.8385 GB, free: 20.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.446e-05/2.065, allocations: 20.38 kB / 0.8385 GB, free: 20.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=603) (initialization): time 0.01281/2.078, allocations: 6.316 MB / 0.8447 GB, free: 17.25 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.506e-05/2.078, allocations: 40.19 kB / 0.8447 GB, free: 17.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-05/2.078, allocations: 76 kB / 0.8448 GB, free: 17.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/2.079, allocations: 420 kB / 0.8452 GB, free: 16.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004494/2.083, allocations: 1.068 MB / 0.8462 GB, free: 15.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006927/2.09, allocations: 4.05 MB / 0.8502 GB, free: 12.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004471/2.095, allocations: 0.6328 MB / 0.8508 GB, free: 11.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008354/2.096, allocations: 243.9 kB / 0.851 GB, free: 11.43 MB / 458.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.0008839/2.096, allocations: 421.3 kB / 0.8514 GB, free: 11.09 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007618/2.097, allocations: 276.5 kB / 0.8517 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008219/2.106, allocations: 3.664 MB / 0.8553 GB, free: 7.746 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006159/2.112, allocations: 2.865 MB / 0.8581 GB, free: 5.266 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.99e-05/2.112, allocations: 7.953 kB / 0.8581 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-05/2.112, allocations: 11.34 kB / 0.8581 GB, free: 5.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02748/2.139, allocations: 10.45 MB / 0.8683 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/2.139, allocations: 4 kB / 0.8683 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/2.142, allocations: 418.2 kB / 0.8687 GB, free: 12.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/2.143, allocations: 313.4 kB / 0.869 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/2.143, allocations: 47.52 kB / 0.8691 GB, free: 12.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00667/2.15, allocations: 3.872 MB / 0.8728 GB, free: 8.812 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.772e-06/2.15, allocations: 6.344 kB / 0.8728 GB, free: 8.809 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01103/2.161, allocations: 5.317 MB / 0.878 GB, free: 4.082 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/2.163, allocations: 0.6388 MB / 0.8787 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005316/2.163, allocations: 44 kB / 0.8787 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/2.165, allocations: 134.3 kB / 0.8788 GB, free: 3.348 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/2.165, allocations: 157.7 kB / 0.879 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/2.165, allocations: 63.28 kB / 0.879 GB, free: 3.191 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004174/2.17, allocations: 1.913 MB / 0.8809 GB, free: 1.516 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.035e-06/2.17, allocations: 0 / 0.8809 GB, free: 1.516 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007622/2.177, allocations: 1.998 MB / 0.8829 GB, free: 15.52 MB / 490.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.0008426/2.178, allocations: 287.1 kB / 0.8831 GB, free: 15.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01008/2.188, allocations: 4.525 MB / 0.8876 GB, free: 11.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/2.188, allocations: 4.125 kB / 0.8876 GB, free: 11.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003923/2.192, allocations: 1.749 MB / 0.8893 GB, free: 9.605 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/2.196, allocations: 0.6159 MB / 0.8899 GB, free: 9.133 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3576/2.553, allocations: 11.01 MB / 0.9006 GB, free: 83.18 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/2.564, allocations: 5.79 MB / 0.9063 GB, free: 82.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005836/2.57, allocations: 1.692 MB / 0.9079 GB, free: 82.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009192/2.571, allocations: 235.7 kB / 0.9082 GB, free: 82.28 MB / 490.7 MB Notification: Performance of SimCode: time 1.873e-06/2.571, allocations: 0 / 0.9082 GB, free: 82.28 MB / 490.7 MB Notification: Performance of Templates: time 0.1048/2.676, allocations: 39.84 MB / 0.9471 GB, free: 80.31 MB / 490.7 MB