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 2.082/2.082, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.837e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 50.41 MB / 345 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01252/0.1283, allocations: 7.732 MB / 352.7 MB, free: 1.164 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008023/0.1364, allocations: 2.884 MB / 355.6 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001529/0.138, allocations: 75.81 kB / 355.7 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002229/0.1402, allocations: 0.5246 MB / 356.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004859/0.1451, allocations: 1.106 MB / 357.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.1483, allocations: 0.8026 MB / 358.1 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02372/0.1721, allocations: 10.78 MB / 368.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03597/0.2081, allocations: 12.89 MB / 381.8 MB, free: 4.016 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005723/0.2139, allocations: 2.545 MB / 384.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007813/0.2217, allocations: 3.415 MB / 387.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003657/0.2254, allocations: 455.8 kB / 388.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001538/0.227, allocations: 283.9 kB / 388.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002448/0.2295, allocations: 1.436 MB / 389.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003258/0.2328, allocations: 0.6172 MB / 390.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3161/0.5489, allocations: 15.81 MB / 406.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.549, allocations: 0 / 406.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.549, allocations: 3.188 kB / 406.3 MB, free: 24.51 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005748/0.5496, allocations: 0 / 406.3 MB, free: 24.51 MB / 330.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.04544/0.595, allocations: 10.57 MB / 416.9 MB, free: 19.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.5951, allocations: 9 kB / 416.9 MB, free: 19.54 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07388/0.669, allocations: 8.514 MB / 425.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01901/0.688, allocations: 5.866 MB / 431.3 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000835/0.6889, allocations: 0.6635 MB / 432 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005154/0.6941, allocations: 0.8584 MB / 432.8 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05419/0.7483, allocations: 15.84 MB / 448.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004594/0.7488, allocations: 11.91 kB / 448.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0047/0.7535, allocations: 368 kB / 449 MB, free: 14.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009488/0.7545, allocations: 0.5543 MB / 449.6 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05166/0.8062, allocations: 15.65 MB / 465.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1295/0.9358, allocations: 48.42 MB / 0.5016 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03276/0.9686, allocations: 19.29 MB / 0.5204 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009259/0.9696, allocations: 179.1 kB / 0.5206 GB, free: 8.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.487e-05/0.9697, allocations: 90.55 kB / 0.5207 GB, free: 8.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=468): time 8.116e-06/0.9697, allocations: 0 / 0.5207 GB, free: 8.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=468): time 0.0436/1.013, allocations: 11.5 MB / 0.5319 GB, free: 12.65 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.014, allocations: 128.5 kB / 0.532 GB, free: 12.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009791/1.023, allocations: 3.456 MB / 0.5354 GB, free: 9.051 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/1.024, allocations: 101.7 kB / 0.5355 GB, free: 8.945 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004124/1.029, allocations: 3.839 MB / 0.5393 GB, free: 5.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00298/1.032, allocations: 1.611 MB / 0.5408 GB, free: 3.492 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001229/1.033, allocations: 144 kB / 0.541 GB, free: 3.352 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008265/1.034, allocations: 0.6242 MB / 0.5416 GB, free: 2.719 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/1.045, allocations: 3.656 MB / 0.5452 GB, free: 15.06 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01353/1.058, allocations: 6.466 MB / 0.5515 GB, free: 7.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/1.072, allocations: 5.191 MB / 0.5565 GB, free: 2.215 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.072, allocations: 32 kB / 0.5566 GB, free: 2.184 MB / 458.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.3525/1.424, allocations: 11.79 MB / 0.5681 GB, free: 145.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.371e-05/1.425, allocations: 43 kB / 0.5681 GB, free: 145.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/1.425, allocations: 92.94 kB / 0.5682 GB, free: 145.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008629/1.433, allocations: 1.629 MB / 0.5698 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01163/1.445, allocations: 1.66 MB / 0.5714 GB, free: 145.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02747/1.473, allocations: 16.54 MB / 0.5876 GB, free: 133.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008551/1.481, allocations: 0.9501 MB / 0.5885 GB, free: 133.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/1.483, allocations: 361.2 kB / 0.5889 GB, free: 133.3 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.009182/1.492, allocations: 3.729 MB / 0.5925 GB, free: 131.5 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001172/1.493, allocations: 395 kB / 0.5929 GB, free: 131.3 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02524/1.519, allocations: 8.562 MB / 0.6012 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-05/1.519, allocations: 48 kB / 0.6013 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.615e-05/1.519, allocations: 16 kB / 0.6013 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001234/1.519, allocations: 22.88 kB / 0.6013 GB, free: 125.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05057/1.57, allocations: 16.9 MB / 0.6178 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-05/1.57, allocations: 4 kB / 0.6178 GB, free: 109.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0099/1.58, allocations: 0.8581 MB / 0.6187 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01172/1.591, allocations: 1.503 MB / 0.6201 GB, free: 107.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001254/1.593, allocations: 99.97 kB / 0.6202 GB, free: 107.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0375/1.63, allocations: 16.35 MB / 0.6362 GB, free: 89.97 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.63, allocations: 3.938 kB / 0.6362 GB, free: 89.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03239/1.663, allocations: 12.37 MB / 0.6483 GB, free: 77.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003985/1.667, allocations: 1.108 MB / 0.6494 GB, free: 76.18 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/1.668, allocations: 91.98 kB / 0.6494 GB, free: 76.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005254/1.674, allocations: 303.7 kB / 0.6497 GB, free: 75.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001376/1.675, allocations: 326.7 kB / 0.65 GB, free: 75.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005016/1.676, allocations: 136 kB / 0.6502 GB, free: 75.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006099/1.682, allocations: 2.551 MB / 0.6527 GB, free: 72.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.212e-06/1.682, allocations: 0 / 0.6527 GB, free: 72.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01097/1.693, allocations: 2.38 MB / 0.655 GB, free: 70.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_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.001472/1.694, allocations: 257.9 kB / 0.6552 GB, free: 70.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02284/1.717, allocations: 9.316 MB / 0.6643 GB, free: 60.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.426e-05/1.717, allocations: 3.75 kB / 0.6643 GB, free: 60.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01178/1.729, allocations: 4.465 MB / 0.6687 GB, free: 56.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005873/1.735, allocations: 0.6321 MB / 0.6693 GB, free: 55.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04451/1.78, allocations: 19.87 MB / 0.6887 GB, free: 35.62 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01194/1.792, allocations: 6.07 MB / 0.6947 GB, free: 29.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003208/1.795, allocations: 431.3 kB / 0.6951 GB, free: 29.09 MB / 458.7 MB Notification: Performance of SimCode: time 1.834e-06/1.795, allocations: 8 kB / 0.6951 GB, free: 29.09 MB / 458.7 MB Notification: Performance of Templates: time 1.214/3.009, allocations: 395.8 MB / 1.082 GB, free: 8.785 MB / 490.7 MB