Notification: Performance of loadModel(Modelica): time 1.448/1.448, allocations: 194.3 MB / 200.6 MB, free: 5.312 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.381e-06/8.311e-06, allocations: 0 / 247.1 MB, free: 4.82 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07319/0.07327, allocations: 44.31 MB / 291.4 MB, free: 9.559 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2157/0.289, allocations: 75.95 MB / 367.4 MB, free: 6.918 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/0.2894, allocations: 83.58 kB / 367.5 MB, free: 6.914 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03104/0.3205, allocations: 9.309 MB / 376.8 MB, free: 4.875 MB / 296.6 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.3206, allocations: 7.938 kB / 376.8 MB, free: 4.875 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001135/0.3218, allocations: 0.6434 MB / 377.4 MB, free: 4.352 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.3219, allocations: 7.656 kB / 377.4 MB, free: 4.352 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007127/0.3227, allocations: 91.47 kB / 377.5 MB, free: 4.316 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.3231, allocations: 306.8 kB / 377.8 MB, free: 4.055 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.3232, allocations: 15.84 kB / 377.8 MB, free: 4.051 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.3233, allocations: 19.38 kB / 377.9 MB, free: 4.051 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004508/0.3238, allocations: 204.2 kB / 378.1 MB, free: 4.039 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.3244, allocations: 288.5 kB / 378.3 MB, free: 3.941 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.3245, allocations: 3.938 kB / 378.3 MB, free: 3.938 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/0.3246, allocations: 0 / 378.3 MB, free: 3.938 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.3247, allocations: 11.75 kB / 378.4 MB, free: 3.934 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002058/0.3268, allocations: 1.314 MB / 379.7 MB, free: 3.055 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.3271, allocations: 136.6 kB / 379.8 MB, free: 3.004 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.3273, allocations: 67.53 kB / 379.9 MB, free: 2.988 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008567/0.3282, allocations: 0.8674 MB / 380.7 MB, free: 18.12 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/0.3283, allocations: 38.16 kB / 380.8 MB, free: 18.08 MB / 312.6 MB Notification: Performance of pre-optimization done (n=13): time 2.305e-06/0.3284, allocations: 0 / 380.8 MB, free: 18.08 MB / 312.6 MB Notification: Performance of matching and sorting (n=13): time 0.0003173/0.3288, allocations: 119.2 kB / 380.9 MB, free: 18.02 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.3289, allocations: 85.06 kB / 381 MB, free: 17.93 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.3292, allocations: 230.9 kB / 381.2 MB, free: 17.8 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.3293, allocations: 29.64 kB / 381.2 MB, free: 17.77 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.925e-05/0.3294, allocations: 222 kB / 381.4 MB, free: 17.59 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.3295, allocations: 47.02 kB / 381.5 MB, free: 17.55 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.3296, allocations: 3.875 kB / 381.5 MB, free: 17.55 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002712/0.3299, allocations: 334 kB / 381.8 MB, free: 17.23 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001022/0.3301, allocations: 49.94 kB / 381.9 MB, free: 17.23 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.3303, allocations: 167.9 kB / 382 MB, free: 17.06 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.3305, allocations: 74.91 kB / 382.1 MB, free: 17.04 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.33e-06/0.3305, allocations: 3.875 kB / 382.1 MB, free: 17.04 MB / 312.6 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004185/0.331, allocations: 233.6 kB / 382.3 MB, free: 16.95 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3311, allocations: 7.75 kB / 382.3 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.3311, allocations: 7.859 kB / 382.3 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.3312, allocations: 7.875 kB / 382.4 MB, free: 16.95 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.3316, allocations: 78.31 kB / 382.4 MB, free: 16.93 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3317, allocations: 7.812 kB / 382.4 MB, free: 16.93 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.332, allocations: 38.95 kB / 382.5 MB, free: 16.91 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.332, allocations: 15.44 kB / 382.5 MB, free: 16.91 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.3321, allocations: 75.28 kB / 382.6 MB, free: 16.83 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.3323, allocations: 23.31 kB / 382.6 MB, free: 16.82 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.3324, allocations: 29.3 kB / 382.6 MB, free: 16.81 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.705e-06/0.3324, allocations: 7.859 kB / 382.6 MB, free: 16.8 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.797e-06/0.3325, allocations: 0 / 382.6 MB, free: 16.8 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.098e-06/0.3326, allocations: 7.844 kB / 382.6 MB, free: 16.8 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/0.3332, allocations: 441.8 kB / 383.1 MB, free: 16.46 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.841e-06/0.3332, allocations: 128 / 383.1 MB, free: 16.46 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3335, allocations: 47.22 kB / 383.1 MB, free: 16.45 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.47e-06/0.3336, allocations: 0 / 383.1 MB, free: 16.45 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.3337, allocations: 6.844 kB / 383.1 MB, free: 16.45 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.863e-06/0.3338, allocations: 0 / 383.1 MB, free: 16.45 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.308e-06/0.3338, allocations: 7.812 kB / 383.1 MB, free: 16.45 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003414/0.3342, allocations: 380.4 kB / 383.5 MB, free: 16.16 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.3343, allocations: 100.4 kB / 383.6 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.847e-05/0.3344, allocations: 3.938 kB / 383.6 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3348, allocations: 15.39 kB / 383.6 MB, free: 16.05 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.3349, allocations: 15.8 kB / 383.6 MB, free: 16.04 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.3349, allocations: 3.75 kB / 383.6 MB, free: 16.04 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001562/0.3351, allocations: 179.1 kB / 383.8 MB, free: 15.95 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004742/0.3357, allocations: 77.48 kB / 383.9 MB, free: 15.94 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.3358, allocations: 89.3 kB / 384 MB, free: 15.87 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.3362, allocations: 135.1 kB / 384.1 MB, free: 15.85 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 3.073e-06/0.3362, allocations: 0 / 384.1 MB, free: 15.85 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 8.954e-05/0.3364, allocations: 49.17 kB / 384.2 MB, free: 15.84 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.3368, allocations: 25.64 kB / 384.2 MB, free: 15.83 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00091/0.3377, allocations: 437.2 kB / 384.6 MB, free: 15.55 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3381, allocations: 0.8115 MB / 385.4 MB, free: 14.79 MB / 312.6 MB Notification: Performance of SimCode: time 1.397e-06/0.3381, allocations: 0 / 385.4 MB, free: 14.79 MB / 312.6 MB Notification: Performance of Templates: time 0.04172/0.3799, allocations: 1.996 MB / 387.4 MB, free: 13.78 MB / 312.6 MB "Error: Could not read variable converter_m.Phi.der(im) in file Modelica_3.2.2__O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat. Warning: Get data of variable converter_m.Phi.der(im) from file Modelica_3.2.2__O1_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat failed! " Variables in the reference:L,R,R_m,Time,VRMS,converter_m.N.im,converter_m.N.re,der(converter_m.Phi.im),der(converter_m.Phi.re),converter_m.Phi.im,converter_m.Phi.re,converter_m.V_m.im,converter_m.V_m.re,converter_m.abs_Phi,converter_m.abs_V_m,converter_m.arg_Phi,converter_m.arg_V_m,converter_m.effectiveTurns,converter_m.i,converter_m.orientation,converter_m.pin_n.i,converter_m.pin_n.v,converter_m.pin_p.i,converter_m.pin_p.v,converter_m.port_n.Phi.im,converter_m.port_n.Phi.re,converter_m.port_n.V_m.im,converter_m.port_n.V_m.re,converter_m.port_p.Phi.im,converter_m.port_p.Phi.re,converter_m.port_p.V_m.im,converter_m.port_p.V_m.re,converter_m.v,effectiveTurns,f,groundM_m.port_p.Phi.im,groundM_m.port_p.Phi.re,groundM_m.port_p.V_m.im,groundM_m.port_p.V_m.re,ground_e.p.i,ground_e.p.v,ground_m.p.i,ground_m.p.v,inductor_e.L,der(inductor_e.i),inductor_e.i,inductor_e.n.i,inductor_e.n.v,inductor_e.p.i,inductor_e.p.v,inductor_e.v,reluctance_m.Phi.im,reluctance_m.Phi.re,reluctance_m.R_m.d,reluctance_m.R_m.q,reluctance_m.V_m.im,reluctance_m.V_m.re,reluctance_m.abs_Phi,reluctance_m.abs_V_m,reluctance_m.arg_Phi,reluctance_m.arg_V_m,reluctance_m.port_n.Phi.im,reluctance_m.port_n.Phi.re,reluctance_m.port_n.V_m.im,reluctance_m.port_n.V_m.re,reluctance_m.port_p.Phi.im,reluctance_m.port_p.Phi.re,reluctance_m.port_p.V_m.im,reluctance_m.port_p.V_m.re,resistor_e.LossPower,resistor_e.R,resistor_e.R_actual,resistor_e.T,resistor_e.T_heatPort,resistor_e.T_ref,resistor_e.alpha,resistor_e.i,resistor_e.n.i,resistor_e.n.v,resistor_e.p.i,resistor_e.p.v,resistor_e.v,resistor_m.LossPower,resistor_m.R,resistor_m.R_actual,resistor_m.T,resistor_m.T_heatPort,resistor_m.T_ref,resistor_m.alpha,resistor_m.i,resistor_m.n.i,resistor_m.n.v,resistor_m.p.i,resistor_m.p.v,resistor_m.v,voltageSource_e.V,voltageSource_e.freqHz,voltageSource_e.i,voltageSource_e.n.i,voltageSource_e.n.v,voltageSource_e.offset,voltageSource_e.p.i,voltageSource_e.p.v,voltageSource_e.phase,voltageSource_e.signalSource.amplitude,voltageSource_e.signalSource.freqHz,voltageSource_e.signalSource.offset,voltageSource_e.signalSource.phase,voltageSource_e.signalSource.startTime,voltageSource_e.signalSource.y,voltageSource_e.startTime,voltageSource_e.v,voltageSource_m.V,voltageSource_m.freqHz,voltageSource_m.i,voltageSource_m.n.i,voltageSource_m.n.v,voltageSource_m.offset,voltageSource_m.p.i,voltageSource_m.p.v,voltageSource_m.phase,voltageSource_m.signalSource.amplitude,voltageSource_m.signalSource.freqHz,voltageSource_m.signalSource.offset,voltageSource_m.signalSource.phase,voltageSource_m.signalSource.startTime,voltageSource_m.signalSource.y,voltageSource_m.startTime,voltageSource_m.v Variables in the result:L,R,R_m,VRMS,converter_m.N.im,converter_m.N.re,converter_m.Phi.im,converter_m.Phi.re,converter_m.V_m.im,converter_m.V_m.re,converter_m.abs_Phi,converter_m.abs_V_m,converter_m.arg_Phi,converter_m.arg_V_m,converter_m.effectiveTurns,converter_m.i,converter_m.orientation,converter_m.pin_n.i,converter_m.pin_n.v,converter_m.pin_p.i,converter_m.pin_p.v,converter_m.port_n.Phi.im,converter_m.port_n.Phi.re,converter_m.port_n.V_m.im,converter_m.port_n.V_m.re,converter_m.port_p.Phi.im,converter_m.port_p.Phi.re,converter_m.port_p.V_m.im,converter_m.port_p.V_m.re,converter_m.v,der(converter_m.Phi.re),der(inductor_e.i),effectiveTurns,f,groundM_m.port_p.Phi.im,groundM_m.port_p.Phi.re,groundM_m.port_p.V_m.im,groundM_m.port_p.V_m.re,ground_e.p.i,ground_e.p.v,ground_m.p.i,ground_m.p.v,inductor_e.L,inductor_e.i,inductor_e.n.i,inductor_e.n.v,inductor_e.p.i,inductor_e.p.v,inductor_e.v,reluctance_m.Phi.im,reluctance_m.Phi.re,reluctance_m.R_m.d,reluctance_m.R_m.q,reluctance_m.V_m.im,reluctance_m.V_m.re,reluctance_m.abs_Phi,reluctance_m.abs_V_m,reluctance_m.arg_Phi,reluctance_m.arg_V_m,reluctance_m.port_n.Phi.im,reluctance_m.port_n.Phi.re,reluctance_m.port_n.V_m.im,reluctance_m.port_n.V_m.re,reluctance_m.port_p.Phi.im,reluctance_m.port_p.Phi.re,reluctance_m.port_p.V_m.im,reluctance_m.port_p.V_m.re,resistor_e.LossPower,resistor_e.R,resistor_e.R_actual,resistor_e.T,resistor_e.T_heatPort,resistor_e.T_ref,resistor_e.alpha,resistor_e.i,resistor_e.n.i,resistor_e.n.v,resistor_e.p.i,resistor_e.p.v,resistor_e.v,resistor_m.LossPower,resistor_m.R,resistor_m.R_actual,resistor_m.T,resistor_m.T_heatPort,resistor_m.T_ref,resistor_m.alpha,resistor_m.i,resistor_m.n.i,resistor_m.n.v,resistor_m.p.i,resistor_m.p.v,resistor_m.v,time,voltageSource_e.V,voltageSource_e.freqHz,voltageSource_e.i,voltageSource_e.n.i,voltageSource_e.n.v,voltageSource_e.offset,voltageSource_e.p.i,voltageSource_e.p.v,voltageSource_e.phase,voltageSource_e.signalSource.amplitude,voltageSource_e.signalSource.freqHz,voltageSource_e.signalSource.offset,voltageSource_e.signalSource.phase,voltageSource_e.signalSource.startTime,voltageSource_e.signalSource.y,voltageSource_e.startTime,voltageSource_e.v,voltageSource_m.V,voltageSource_m.freqHz,voltageSource_m.i,voltageSource_m.n.i,voltageSource_m.n.v,voltageSource_m.offset,voltageSource_m.p.i,voltageSource_m.p.v,voltageSource_m.phase,voltageSource_m.signalSource.amplitude,voltageSource_m.signalSource.freqHz,voltageSource_m.signalSource.offset,voltageSource_m.signalSource.phase,voltageSource_m.signalSource.startTime,voltageSource_m.signalSource.y,voltageSource_m.startTime,voltageSource_m.v