Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 194.9 MB / 211.2 MB, free: 9.133 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.613e-05, allocations: 4 kB / 258.8 MB, free: 9.477 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4011, allocations: 44.51 MB / 303.3 MB, free: 12.7 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.01839/0.4196, allocations: 7.998 MB / 311.3 MB, free: 5.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.4303, allocations: 2.849 MB / 314.2 MB, free: 2.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.4324, allocations: 75.75 kB / 314.2 MB, free: 2.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003313/0.4358, allocations: 0.5207 MB / 314.8 MB, free: 2.316 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006421/0.4423, allocations: 1.024 MB / 315.8 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004513/0.4468, allocations: 0.8656 MB / 316.6 MB, free: 432 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.02611/0.473, allocations: 10.79 MB / 327.4 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03299/0.506, allocations: 12.87 MB / 340.3 MB, free: 8.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005852/0.5119, allocations: 2.541 MB / 342.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008008/0.52, allocations: 3.419 MB / 346.3 MB, free: 2.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003518/0.5236, allocations: 451.7 kB / 346.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002021/0.5256, allocations: 272 kB / 347 MB, free: 1.996 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003049/0.5288, allocations: 1.436 MB / 348.4 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003266/0.5321, allocations: 0.6211 MB / 349 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02235/0.5545, allocations: 15.67 MB / 364.7 MB, free: 228 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5545, allocations: 0 / 364.7 MB, free: 228 kB / 298.7 MB Notification: Performance of FrontEnd: time 6.101e-06/0.5546, allocations: 0 / 364.7 MB, free: 228 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004683/0.555, allocations: 3.938 kB / 364.7 MB, free: 224 kB / 298.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.04511/0.6001, allocations: 10.57 MB / 375.3 MB, free: 5.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.6002, allocations: 12.03 kB / 375.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07457/0.6748, allocations: 8.506 MB / 383.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01802/0.6929, allocations: 5.491 MB / 389.3 MB, free: 7.477 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/0.6939, allocations: 0.6622 MB / 389.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004478/0.6984, allocations: 0.871 MB / 390.8 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05427/0.7527, allocations: 15.83 MB / 406.6 MB, free: 6.074 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003891/0.7532, allocations: 7.906 kB / 406.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003154/0.7564, allocations: 368 kB / 407 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009154/0.7573, allocations: 0.5582 MB / 407.6 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05021/0.8075, allocations: 15.64 MB / 423.2 MB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6295/1.437, allocations: 48.42 MB / 471.6 MB, free: 61.69 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02754/1.465, allocations: 19.29 MB / 490.9 MB, free: 40.29 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009771/1.466, allocations: 182.5 kB / 491.1 MB, free: 40.11 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.592e-05/1.466, allocations: 90.48 kB / 491.2 MB, free: 40.02 MB / 362.8 MB Notification: Performance of pre-optimization done (n=468): time 8.015e-06/1.466, allocations: 4 kB / 491.2 MB, free: 40.01 MB / 362.8 MB Notification: Performance of matching and sorting (n=468): time 0.04008/1.506, allocations: 11.49 MB / 0.4909 GB, free: 28.39 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/1.506, allocations: 125.1 kB / 0.491 GB, free: 28.25 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008432/1.515, allocations: 3.469 MB / 0.4944 GB, free: 24.8 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00095/1.516, allocations: 105.7 kB / 0.4945 GB, free: 24.7 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002827/1.518, allocations: 3.837 MB / 0.4982 GB, free: 20.84 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002239/1.521, allocations: 1.61 MB / 0.4998 GB, free: 19.25 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001051/1.522, allocations: 144 kB / 0.5 GB, free: 19.11 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0006551/1.522, allocations: 0.6126 MB / 0.5006 GB, free: 18.48 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009243/1.532, allocations: 3.656 MB / 0.5041 GB, free: 14.82 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01137/1.543, allocations: 6.466 MB / 0.5104 GB, free: 7.059 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/1.555, allocations: 5.196 MB / 0.5155 GB, free: 1.84 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-05/1.555, allocations: 24 kB / 0.5155 GB, free: 1.816 MB / 362.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.03755/1.593, allocations: 11.78 MB / 0.527 GB, free: 5.965 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/1.593, allocations: 52.06 kB / 0.5271 GB, free: 5.914 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001968/1.593, allocations: 99.95 kB / 0.5272 GB, free: 5.816 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00927/1.602, allocations: 1.625 MB / 0.5288 GB, free: 4.172 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01257/1.615, allocations: 1.665 MB / 0.5304 GB, free: 2.504 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03355/1.649, allocations: 16.53 MB / 0.5465 GB, free: 1.16 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008719/1.657, allocations: 0.9484 MB / 0.5475 GB, free: 208 kB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/1.659, allocations: 365.4 kB / 0.5478 GB, free: 15.84 MB / 410.8 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.01059/1.67, allocations: 3.731 MB / 0.5515 GB, free: 12.1 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.671, allocations: 391.1 kB / 0.5518 GB, free: 11.71 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02929/1.701, allocations: 8.561 MB / 0.5602 GB, free: 3.07 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.429e-05/1.701, allocations: 51.94 kB / 0.5602 GB, free: 3.02 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.882e-05/1.701, allocations: 12 kB / 0.5603 GB, free: 3.008 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001401/1.701, allocations: 27.91 kB / 0.5603 GB, free: 2.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0554/1.756, allocations: 16.89 MB / 0.5768 GB, free: 2.012 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/1.757, allocations: 3.938 kB / 0.5768 GB, free: 2.008 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007686/1.764, allocations: 0.8662 MB / 0.5776 GB, free: 1.141 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.321/2.085, allocations: 1.494 MB / 0.5791 GB, free: 137.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/2.087, allocations: 102.7 kB / 0.5792 GB, free: 137.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02946/2.116, allocations: 16.36 MB / 0.5952 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/2.116, allocations: 2.938 kB / 0.5952 GB, free: 127.9 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03323/2.149, allocations: 12.37 MB / 0.6072 GB, free: 122.9 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003953/2.153, allocations: 1.12 MB / 0.6083 GB, free: 122.3 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002/2.155, allocations: 87.36 kB / 0.6084 GB, free: 122.2 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005397/2.161, allocations: 315.8 kB / 0.6087 GB, free: 122.2 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001708/2.163, allocations: 313.3 kB / 0.609 GB, free: 122.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00084/2.164, allocations: 140.1 kB / 0.6092 GB, free: 122.1 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.006532/2.17, allocations: 2.553 MB / 0.6116 GB, free: 121.2 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.523e-06/2.17, allocations: 0 / 0.6116 GB, free: 121.2 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01063/2.181, allocations: 2.372 MB / 0.614 GB, free: 120.5 MB / 426.8 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.001479/2.182, allocations: 255.1 kB / 0.6142 GB, free: 120.3 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02409/2.206, allocations: 9.311 MB / 0.6233 GB, free: 112.9 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.536e-05/2.207, allocations: 2 kB / 0.6233 GB, free: 112.9 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01215/2.219, allocations: 4.458 MB / 0.6277 GB, free: 109 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005687/2.224, allocations: 0.6328 MB / 0.6283 GB, free: 108.5 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04385/2.268, allocations: 19.88 MB / 0.6477 GB, free: 90.2 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0117/2.28, allocations: 6.063 MB / 0.6536 GB, free: 84.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003213/2.283, allocations: 431.3 kB / 0.654 GB, free: 83.68 MB / 426.8 MB Notification: Performance of SimCode: time 1.603e-06/2.283, allocations: 0 / 0.654 GB, free: 83.68 MB / 426.8 MB Notification: Performance of Templates: time 1.143/3.427, allocations: 395.7 MB / 1.04 GB, free: 15.36 MB / 442.8 MB