Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.848e-05, allocations: 4 kB / 292.1 MB, free: 8.848 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09219/0.09223, allocations: 50.42 MB / 342.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3856/0.4779, allocations: 96.44 MB / 439 MB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/0.4782, allocations: 86.97 kB / 439.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376/1.854, allocations: 315 MB / 0.7364 GB, free: 80.07 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.11e-06/1.854, allocations: 0 / 0.7364 GB, free: 80.07 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004144/1.854, allocations: 175 kB / 0.7365 GB, free: 80.06 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: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03944/1.894, allocations: 9.56 MB / 0.7459 GB, free: 77.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/1.894, allocations: 10.16 kB / 0.7459 GB, free: 77.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04485/1.939, allocations: 5.527 MB / 0.7513 GB, free: 77.11 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/1.956, allocations: 6.32 MB / 0.7575 GB, free: 76.12 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006568/1.957, allocations: 0.6158 MB / 0.7581 GB, free: 76.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003377/1.96, allocations: 0.8031 MB / 0.7588 GB, free: 76.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03936/1.999, allocations: 15.44 MB / 0.7739 GB, free: 74.77 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002938/2, allocations: 11.88 kB / 0.7739 GB, free: 74.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002738/2.002, allocations: 354.9 kB / 0.7743 GB, free: 74.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009565/2.003, allocations: 0.8272 MB / 0.7751 GB, free: 74.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03475/2.038, allocations: 14.26 MB / 0.789 GB, free: 68.95 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08848/2.127, allocations: 47.69 MB / 0.8356 GB, free: 28.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02216/2.149, allocations: 19.17 MB / 0.8543 GB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007267/2.156, allocations: 3.5 MB / 0.8577 GB, free: 3.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/2.157, allocations: 182.6 kB / 0.8579 GB, free: 3.34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.211e-05/2.157, allocations: 82.56 kB / 0.858 GB, free: 3.25 MB / 458.7 MB Notification: Performance of pre-optimization done (n=468): time 1.012e-05/2.157, allocations: 0 / 0.858 GB, free: 3.25 MB / 458.7 MB Notification: Performance of matching and sorting (n=468): time 0.2938/2.451, allocations: 7.135 MB / 0.8649 GB, free: 74.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/2.451, allocations: 128.7 kB / 0.8651 GB, free: 74.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008354/2.459, allocations: 3.423 MB / 0.8684 GB, free: 74.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008433/2.46, allocations: 102.7 kB / 0.8685 GB, free: 74.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002973/2.463, allocations: 3.839 MB / 0.8722 GB, free: 72.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002144/2.465, allocations: 1.612 MB / 0.8738 GB, free: 71.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009199/2.466, allocations: 154.9 kB / 0.874 GB, free: 71.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006836/2.467, allocations: 0.6165 MB / 0.8746 GB, free: 71.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008258/2.475, allocations: 3.586 MB / 0.8781 GB, free: 71.61 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0101/2.485, allocations: 6.354 MB / 0.8843 GB, free: 68.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009976/2.496, allocations: 5.158 MB / 0.8893 GB, free: 68.14 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/2.496, allocations: 26.5 kB / 0.8893 GB, free: 68.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02789/2.524, allocations: 11.37 MB / 0.9004 GB, free: 67.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.687e-05/2.524, allocations: 42.78 kB / 0.9005 GB, free: 67.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001446/2.524, allocations: 94.19 kB / 0.9006 GB, free: 67.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006562/2.53, allocations: 1.607 MB / 0.9021 GB, free: 67.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008697/2.539, allocations: 1.663 MB / 0.9038 GB, free: 67.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/2.561, allocations: 16.17 MB / 0.9196 GB, free: 59.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007212/2.568, allocations: 0.9529 MB / 0.9205 GB, free: 58.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001773/2.57, allocations: 358 kB / 0.9208 GB, free: 58.82 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002392/2.573, allocations: 0.5637 MB / 0.9214 GB, free: 58.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/2.574, allocations: 390.3 kB / 0.9218 GB, free: 58.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03023/2.604, allocations: 8.437 MB / 0.93 GB, free: 57.14 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.838e-05/2.604, allocations: 45.78 kB / 0.93 GB, free: 57.14 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.507e-05/2.604, allocations: 15 kB / 0.93 GB, free: 57.14 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001379/2.604, allocations: 24.98 kB / 0.9301 GB, free: 57.14 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06325/2.668, allocations: 16.78 MB / 0.9465 GB, free: 50.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.534e-05/2.668, allocations: 3.531 kB / 0.9465 GB, free: 50.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008566/2.676, allocations: 0.8601 MB / 0.9473 GB, free: 50.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009784/2.686, allocations: 1.489 MB / 0.9488 GB, free: 50.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00123/2.687, allocations: 105.8 kB / 0.9489 GB, free: 50.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03415/2.722, allocations: 15.96 MB / 0.9644 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.579e-06/2.722, allocations: 2.438 kB / 0.9644 GB, free: 39.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0442/2.766, allocations: 12.22 MB / 0.9764 GB, free: 34.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006639/2.773, allocations: 1.117 MB / 0.9775 GB, free: 33.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002556/2.775, allocations: 92.06 kB / 0.9776 GB, free: 33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/2.782, allocations: 306.6 kB / 0.9778 GB, free: 32.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009554/2.783, allocations: 328.4 kB / 0.9782 GB, free: 32.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004466/2.783, allocations: 139.3 kB / 0.9783 GB, free: 32.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004553/2.788, allocations: 2.519 MB / 0.9808 GB, free: 30.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.71e-07/2.788, allocations: 0 / 0.9808 GB, free: 30.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009787/2.798, allocations: 2.381 MB / 0.9831 GB, free: 27.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 6 {(8,100.0%) 30,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/2.799, allocations: 308.4 kB / 0.9834 GB, free: 27.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01689/2.816, allocations: 8.953 MB / 0.9921 GB, free: 19.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.816, allocations: 4 kB / 0.9921 GB, free: 19.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008155/2.824, allocations: 4.292 MB / 0.9963 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004047/2.828, allocations: 0.6398 MB / 0.9969 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03176/2.86, allocations: 14.14 MB / 1.011 GB, free: 2.551 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0124/2.872, allocations: 6.065 MB / 1.017 GB, free: 13.89 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002777/2.875, allocations: 433.3 kB / 1.017 GB, free: 13.49 MB / 474.7 MB Notification: Performance of SimCode: time 1.9e-06/2.875, allocations: 4 kB / 1.017 GB, free: 13.48 MB / 474.7 MB Notification: Performance of Templates: time 1.378/4.253, allocations: 394.4 MB / 1.402 GB, free: 104.9 MB / 0.4948 GB