Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadModel(Modelica): time 1.944/1.944, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.663e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09271, allocations: 50.42 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.4583, allocations: 86.03 MB / 428.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/0.4585, allocations: 80.2 kB / 428.7 MB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1223/0.5808, allocations: 31.49 MB / 460.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.005e-06/0.5809, allocations: 4 kB / 460.1 MB, free: 13.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001005/0.581, allocations: 32 kB / 460.2 MB, free: 13.19 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004591/0.5856, allocations: 1.693 MB / 461.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5857, allocations: 11.97 kB / 461.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.5877, allocations: 321.7 kB / 462.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002593/0.5903, allocations: 1.082 MB / 463.3 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.5904, allocations: 99.02 kB / 463.4 MB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.5907, allocations: 136 kB / 463.5 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00399/0.5948, allocations: 1.767 MB / 465.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.5948, allocations: 0 / 465.3 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.595, allocations: 59.98 kB / 465.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.032e-05/0.5951, allocations: 46 kB / 465.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.5985, allocations: 1.486 MB / 466.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.6109, allocations: 5.583 MB / 472.5 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003944/0.6149, allocations: 2.854 MB / 475.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.6158, allocations: 467.6 kB / 475.8 MB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003242/0.6191, allocations: 1.529 MB / 477.3 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/0.6192, allocations: 46.78 kB / 477.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.591e-06/0.6192, allocations: 0 / 477.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001923/0.6211, allocations: 0.7923 MB / 478.1 MB, free: 10.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.6212, allocations: 81.11 kB / 478.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.623, allocations: 0.9221 MB / 479.1 MB, free: 9.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.657e-05/0.6231, allocations: 33.7 kB / 479.2 MB, free: 9.258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005911/0.6237, allocations: 0.6721 MB / 479.8 MB, free: 8.578 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.6239, allocations: 185.4 kB / 480 MB, free: 8.395 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.624, allocations: 12 kB / 480 MB, free: 8.383 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/0.6242, allocations: 342.8 kB / 480.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/0.6249, allocations: 321.4 kB / 480.7 MB, free: 7.727 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008337/0.6257, allocations: 489.8 kB / 481.2 MB, free: 7.176 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/0.6265, allocations: 401.2 kB / 481.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.96e-06/0.6266, allocations: 0 / 481.5 MB, free: 6.785 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001855/0.6284, allocations: 0.8622 MB / 482.4 MB, free: 5.918 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.6285, allocations: 12.06 kB / 482.4 MB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6285, allocations: 4 kB / 482.4 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.6285, allocations: 8 kB / 482.4 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.6296, allocations: 183.7 kB / 482.6 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.435e-05/0.6296, allocations: 20.2 kB / 482.6 MB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000814/0.6305, allocations: 87.34 kB / 482.7 MB, free: 5.609 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/0.6306, allocations: 31.98 kB / 482.7 MB, free: 5.578 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002108/0.6308, allocations: 140.7 kB / 482.9 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.631, allocations: 90.88 kB / 483 MB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.6327, allocations: 0.6502 MB / 483.6 MB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6327, allocations: 4 kB / 483.6 MB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.6327, allocations: 4 kB / 483.6 MB, free: 4.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.6327, allocations: 3.984 kB / 483.6 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/0.6361, allocations: 1.625 MB / 485.3 MB, free: 2.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.744e-06/0.6362, allocations: 7.938 kB / 485.3 MB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.6368, allocations: 91.88 kB / 485.4 MB, free: 2.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/0.6374, allocations: 152.7 kB / 485.5 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-05/0.6375, allocations: 19.98 kB / 485.5 MB, free: 2.707 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004181/0.6417, allocations: 2.595 MB / 488.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.6417, allocations: 0 / 488.1 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002771/0.6445, allocations: 1.417 MB / 489.5 MB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.6449, allocations: 191.9 kB / 489.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.6451, allocations: 15.98 kB / 489.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.6459, allocations: 68.06 kB / 489.8 MB, free: 14.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.6461, allocations: 59.8 kB / 489.9 MB, free: 14.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.6461, allocations: 23.98 kB / 489.9 MB, free: 14.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001372/0.6475, allocations: 0.7138 MB / 490.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.06e-07/0.6475, allocations: 0 / 490.6 MB, free: 13.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001371/0.6489, allocations: 362.4 kB / 491 MB, free: 13.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003495/0.6493, allocations: 163 kB / 491.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001465/0.6508, allocations: 0.6862 MB / 491.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.978e-06/0.6508, allocations: 7.984 kB / 491.8 MB, free: 12.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.6521, allocations: 0.5401 MB / 492.4 MB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.6532, allocations: 163.1 kB / 492.5 MB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/0.6583, allocations: 2.249 MB / 494.8 MB, free: 9.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.66, allocations: 1.488 MB / 496.2 MB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.6604, allocations: 67.42 kB / 496.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.913e-06/0.6604, allocations: 0 / 496.3 MB, free: 7.617 MB / 410.7 MB Notification: Performance of Templates: time 0.03341/0.6938, allocations: 18.99 MB / 0.5032 GB, free: 4.664 MB / 426.7 MB