Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance") Notification: Performance of loadModel(Modelica): time 1.923/1.923, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.056e-05/3.066e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.09965, allocations: 50.41 MB / 342.5 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3967/0.4963, allocations: 82.68 MB / 425.2 MB, free: 11.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4966, allocations: 82.08 kB / 425.3 MB, free: 11.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03764/0.5343, allocations: 10.07 MB / 435.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.5343, allocations: 0 / 435.4 MB, free: 3.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.5344, allocations: 8 kB / 435.4 MB, free: 3.137 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00139/0.5358, allocations: 0.6335 MB / 436 MB, free: 2.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5358, allocations: 8.031 kB / 436 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006454/0.5365, allocations: 83.34 kB / 436.1 MB, free: 2.406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/0.537, allocations: 303.7 kB / 436.4 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.5371, allocations: 22.97 kB / 436.4 MB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.077e-05/0.5372, allocations: 42.56 kB / 436.5 MB, free: 2.059 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007103/0.5379, allocations: 326.1 kB / 436.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5379, allocations: 0 / 436.8 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.538, allocations: 18.05 kB / 436.8 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.538, allocations: 8 kB / 436.8 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.5386, allocations: 221.5 kB / 437 MB, free: 1.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.5414, allocations: 1.376 MB / 438.4 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.5418, allocations: 160.4 kB / 438.6 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.542, allocations: 77.47 kB / 438.6 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.5432, allocations: 0.8732 MB / 439.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.5432, allocations: 42.55 kB / 439.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.18e-06/0.5433, allocations: 0 / 439.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003885/0.5437, allocations: 131.5 kB / 439.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.5437, allocations: 77.11 kB / 439.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000362/0.5441, allocations: 246.3 kB / 440 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.5442, allocations: 33.2 kB / 440 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.5444, allocations: 302 kB / 440.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.441e-05/0.5445, allocations: 50.34 kB / 440.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.5445, allocations: 3.938 kB / 440.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.5447, allocations: 330 kB / 440.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/0.5448, allocations: 53.61 kB / 440.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.5451, allocations: 177.9 kB / 440.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.5453, allocations: 76.56 kB / 441 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.43e-06/0.5453, allocations: 4 kB / 441 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005567/0.5459, allocations: 244.2 kB / 441.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5459, allocations: 8.562 kB / 441.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.5459, allocations: 8 kB / 441.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.546, allocations: 8 kB / 441.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003684/0.5463, allocations: 71.89 kB / 441.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.5464, allocations: 8 kB / 441.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.5467, allocations: 38.5 kB / 441.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.5467, allocations: 15.98 kB / 441.4 MB, free: 13.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.5468, allocations: 135.4 kB / 441.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.547, allocations: 23.72 kB / 441.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.521e-05/0.547, allocations: 27.72 kB / 441.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.318e-06/0.5471, allocations: 4 kB / 441.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.505e-06/0.5471, allocations: 0 / 441.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.617e-06/0.5471, allocations: 0 / 441.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.548, allocations: 0.4947 MB / 442.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-06/0.548, allocations: 0 / 442.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.5483, allocations: 40.02 kB / 442.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-06/0.5483, allocations: 0 / 442.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.5484, allocations: 11.8 kB / 442.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.378e-06/0.5484, allocations: 4.125 kB / 442.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.5484, allocations: 0 / 442.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.549, allocations: 385.7 kB / 442.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.5491, allocations: 104.8 kB / 442.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5e-05/0.5491, allocations: 7.703 kB / 442.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.5494, allocations: 15.98 kB / 442.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.5495, allocations: 7.984 kB / 442.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.5495, allocations: 11.88 kB / 442.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002618/0.5498, allocations: 196.7 kB / 442.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.5498, allocations: 0 / 442.8 MB, free: 12.18 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005929/0.5504, allocations: 78.53 kB / 442.9 MB, free: 12.11 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0002291/0.5507, allocations: 142.6 kB / 443.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000396/0.5511, allocations: 137.6 kB / 443.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.444e-06/0.5511, allocations: 1.125 kB / 443.2 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.5512, allocations: 49.88 kB / 443.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.5516, allocations: 30.25 kB / 443.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.5528, allocations: 477 kB / 443.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005253/0.5533, allocations: 0.7833 MB / 444.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.5534, allocations: 23.44 kB / 444.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.614e-06/0.5534, allocations: 0 / 444.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of Templates: time 0.007097/0.5605, allocations: 3.331 MB / 447.9 MB, free: 7.234 MB / 362.7 MB