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 2.148/2.148, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.89e-05/2.875e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.123, allocations: 50.42 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006599/0.1297, allocations: 3.666 MB / 348.6 MB, free: 5.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1336, allocations: 1.476 MB / 350.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000581/0.1342, allocations: 31.88 kB / 350.2 MB, free: 3.75 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.1349, allocations: 182.9 kB / 350.3 MB, free: 3.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002035/0.137, allocations: 0.4982 MB / 350.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007061/0.1377, allocations: 151.7 kB / 351 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002367/0.1401, allocations: 0.9042 MB / 351.9 MB, free: 2.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.1414, allocations: 0.6557 MB / 352.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009208/0.1424, allocations: 474.7 kB / 353 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001331/0.1437, allocations: 0.6152 MB / 353.6 MB, free: 280 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.1446, allocations: 159.8 kB / 353.8 MB, free: 120 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002892/0.1449, allocations: 64 kB / 353.8 MB, free: 56 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005877/0.1455, allocations: 362.8 kB / 354.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.146, allocations: 140 kB / 354.3 MB, free: 15.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.1492, allocations: 2.026 MB / 356.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.1493, allocations: 0 / 356.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1493, allocations: 0 / 356.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.148e-05/0.1494, allocations: 0 / 356.4 MB, free: 13.53 MB / 298.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.006355/0.1557, allocations: 1.78 MB / 358.1 MB, free: 11.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1558, allocations: 12.03 kB / 358.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.1588, allocations: 365.7 kB / 358.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003084/0.1619, allocations: 1.036 MB / 359.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.1621, allocations: 94.67 kB / 359.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004155/0.1626, allocations: 135.9 kB / 359.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005614/0.1682, allocations: 1.882 MB / 361.6 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.372e-05/0.1683, allocations: 4 kB / 361.6 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002282/0.1685, allocations: 55.95 kB / 361.7 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001161/0.1686, allocations: 46 kB / 361.7 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005361/0.174, allocations: 1.707 MB / 363.5 MB, free: 6.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01544/0.1895, allocations: 5.595 MB / 369.1 MB, free: 492 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005172/0.1947, allocations: 2.9 MB / 372 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003842/0.1986, allocations: 1.533 MB / 373.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/0.1987, allocations: 42.8 kB / 373.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 4.058e-06/0.1987, allocations: 0 / 373.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=52): time 0.005657/0.2044, allocations: 1.429 MB / 375 MB, free: 10.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.2045, allocations: 81.11 kB / 375 MB, free: 9.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.2066, allocations: 0.9259 MB / 376 MB, free: 8.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001358/0.2068, allocations: 41.7 kB / 376 MB, free: 8.945 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006194/0.2075, allocations: 0.6721 MB / 376.7 MB, free: 8.266 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.2077, allocations: 193.3 kB / 376.9 MB, free: 8.074 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/0.2078, allocations: 12 kB / 376.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.208, allocations: 342.8 kB / 377.2 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.2091, allocations: 365 kB / 377.6 MB, free: 7.359 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.2104, allocations: 0.5175 MB / 378.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2116, allocations: 437.5 kB / 378.5 MB, free: 6.352 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.2116, allocations: 8 kB / 378.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002785/0.2144, allocations: 0.9482 MB / 379.5 MB, free: 5.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.2145, allocations: 11.97 kB / 379.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.2145, allocations: 8 kB / 379.5 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.2146, allocations: 8 kB / 379.5 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.216, allocations: 187.7 kB / 379.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/0.2161, allocations: 8 kB / 379.7 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/0.2172, allocations: 95.23 kB / 379.8 MB, free: 5.078 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.593e-05/0.2173, allocations: 28 kB / 379.8 MB, free: 5.051 MB / 314.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.001227/0.2185, allocations: 0.5247 MB / 380.3 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003044/0.2188, allocations: 86.97 kB / 380.4 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.221, allocations: 0.7006 MB / 381.1 MB, free: 3.715 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.2211, allocations: 4 kB / 381.1 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/0.2211, allocations: 4 kB / 381.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.2211, allocations: 0 / 381.1 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004262/0.2254, allocations: 1.672 MB / 382.8 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.2255, allocations: 0 / 382.8 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.2264, allocations: 104 kB / 382.9 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007215/0.2271, allocations: 144.7 kB / 383 MB, free: 1.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.269e-05/0.2273, allocations: 19.98 kB / 383.1 MB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00489/0.2322, allocations: 2.668 MB / 385.7 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2322, allocations: 4.031 kB / 385.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004108/0.2363, allocations: 1.543 MB / 387.3 MB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004832/0.2369, allocations: 191.9 kB / 387.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/0.2371, allocations: 16 kB / 387.5 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009869/0.2381, allocations: 71.92 kB / 387.5 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.2384, allocations: 55.86 kB / 387.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.584e-05/0.2384, allocations: 16 kB / 387.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001574/0.24, allocations: 0.7254 MB / 388.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.82e-07/0.2401, allocations: 0 / 388.3 MB, free: 12.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001567/0.2416, allocations: 358.4 kB / 388.7 MB, free: 11.86 MB / 330.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.0003952/0.2421, allocations: 139.1 kB / 388.8 MB, free: 11.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002428/0.2445, allocations: 0.7845 MB / 389.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/0.2446, allocations: 320 / 389.6 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.2464, allocations: 0.5902 MB / 390.2 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.2479, allocations: 169.6 kB / 390.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007806/0.2558, allocations: 3.308 MB / 393.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.2575, allocations: 1.484 MB / 395.2 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004796/0.258, allocations: 67.42 kB / 395.2 MB, free: 5.23 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.258, allocations: 0 / 395.2 MB, free: 5.23 MB / 330.7 MB Notification: Performance of Templates: time 0.3166/0.5746, allocations: 19.03 MB / 414.3 MB, free: 43.32 MB / 330.7 MB