Notification: Performance of loadModel(Modelica): time 1.458/1.458, allocations: 194.3 MB / 200.6 MB, free: 5.309 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.102e-06/8.101e-06, allocations: 4 kB / 247.1 MB, free: 4.848 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05515/0.05523, allocations: 44.31 MB / 291.4 MB, free: 9.551 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/0.2694, allocations: 75.95 MB / 367.4 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.2697, allocations: 84.83 kB / 367.5 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.03187/0.3017, allocations: 9.317 MB / 376.8 MB, free: 4.926 MB / 296.6 MB Notification: Performance of Transformations before backend: time 1.949e-05/0.3018, allocations: 5.375 kB / 376.8 MB, free: 4.926 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001126/0.303, allocations: 0.6459 MB / 377.4 MB, free: 4.402 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.3031, allocations: 11.86 kB / 377.4 MB, free: 4.398 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007253/0.3039, allocations: 84.72 kB / 377.5 MB, free: 4.363 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004261/0.3044, allocations: 312.9 kB / 377.8 MB, free: 4.105 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3045, allocations: 11.75 kB / 377.8 MB, free: 4.105 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.3046, allocations: 19.41 kB / 377.9 MB, free: 4.105 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004552/0.3051, allocations: 199.4 kB / 378.1 MB, free: 4.098 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005242/0.3057, allocations: 288.9 kB / 378.3 MB, free: 4 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3057, allocations: 0 / 378.3 MB, free: 4 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.946e-05/0.3058, allocations: 3.938 kB / 378.3 MB, free: 3.996 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3059, allocations: 7.781 kB / 378.3 MB, free: 3.996 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002109/0.3081, allocations: 1.315 MB / 379.7 MB, free: 3.113 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.3084, allocations: 136.7 kB / 379.8 MB, free: 3.062 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000124/0.3086, allocations: 65.09 kB / 379.9 MB, free: 3.047 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008533/0.3095, allocations: 0.8664 MB / 380.7 MB, free: 18.18 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3096, allocations: 37.16 kB / 380.8 MB, free: 18.14 MB / 312.6 MB Notification: Performance of pre-optimization done (n=13): time 2.445e-06/0.3097, allocations: 0 / 380.8 MB, free: 18.14 MB / 312.6 MB Notification: Performance of matching and sorting (n=13): time 0.0003128/0.31, allocations: 124.2 kB / 380.9 MB, free: 18.08 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002109/0.3103, allocations: 85.02 kB / 381 MB, free: 17.98 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.3106, allocations: 232.6 kB / 381.2 MB, free: 17.86 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3107, allocations: 29.64 kB / 381.2 MB, free: 17.83 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.3108, allocations: 218.1 kB / 381.4 MB, free: 17.65 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3109, allocations: 53.11 kB / 381.5 MB, free: 17.61 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.311, allocations: 3.938 kB / 381.5 MB, free: 17.61 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.3111, allocations: 335.8 kB / 381.8 MB, free: 17.29 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.3113, allocations: 50.83 kB / 381.9 MB, free: 17.28 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3115, allocations: 170 kB / 382 MB, free: 17.11 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3117, allocations: 73.72 kB / 382.1 MB, free: 17.09 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.4e-06/0.3117, allocations: 0 / 382.1 MB, free: 17.09 MB / 312.6 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004255/0.3122, allocations: 233.3 kB / 382.3 MB, free: 17.01 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3123, allocations: 3.875 kB / 382.3 MB, free: 17.01 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3124, allocations: 7.75 kB / 382.3 MB, free: 17.01 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.3124, allocations: 3.875 kB / 382.3 MB, free: 17.01 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.3128, allocations: 78.34 kB / 382.4 MB, free: 16.99 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3129, allocations: 15.7 kB / 382.4 MB, free: 16.98 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.3132, allocations: 35.16 kB / 382.5 MB, free: 16.96 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.605e-05/0.3133, allocations: 15.44 kB / 382.5 MB, free: 16.96 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.3134, allocations: 75.28 kB / 382.6 MB, free: 16.89 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.353e-05/0.3135, allocations: 26.73 kB / 382.6 MB, free: 16.87 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.3136, allocations: 27.95 kB / 382.6 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.518e-06/0.3137, allocations: 7.875 kB / 382.6 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.007e-06/0.3138, allocations: 0 / 382.6 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.796e-06/0.3138, allocations: 3.906 kB / 382.6 MB, free: 16.86 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006019/0.3145, allocations: 451.1 kB / 383.1 MB, free: 16.52 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-06/0.3145, allocations: 0 / 383.1 MB, free: 16.52 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.3148, allocations: 39.2 kB / 383.1 MB, free: 16.51 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.098e-06/0.3149, allocations: 0 / 383.1 MB, free: 16.51 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.315, allocations: 3.938 kB / 383.1 MB, free: 16.51 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.33e-06/0.315, allocations: 3.984 kB / 383.1 MB, free: 16.5 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.727e-06/0.3151, allocations: 7.656 kB / 383.1 MB, free: 16.5 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003614/0.3155, allocations: 377.8 kB / 383.5 MB, free: 16.22 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3156, allocations: 99.89 kB / 383.6 MB, free: 16.11 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.903e-05/0.3157, allocations: 7.859 kB / 383.6 MB, free: 16.11 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.3161, allocations: 11.78 kB / 383.6 MB, free: 16.11 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3162, allocations: 19.83 kB / 383.6 MB, free: 16.09 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3163, allocations: 7.781 kB / 383.6 MB, free: 16.09 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001622/0.3165, allocations: 179.1 kB / 383.8 MB, free: 16 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0004941/0.317, allocations: 74.25 kB / 383.9 MB, free: 15.99 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001199/0.3172, allocations: 91.84 kB / 384 MB, free: 15.93 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.0002696/0.3175, allocations: 128 kB / 384.1 MB, free: 15.91 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.933e-06/0.3176, allocations: 3.969 kB / 384.1 MB, free: 15.91 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.3177, allocations: 49.39 kB / 384.2 MB, free: 15.9 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.3181, allocations: 18.52 kB / 384.2 MB, free: 15.89 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009415/0.3191, allocations: 451 kB / 384.6 MB, free: 15.6 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002942/0.3195, allocations: 0.8038 MB / 385.4 MB, free: 14.85 MB / 312.6 MB Notification: Performance of SimCode: time 1.816e-06/0.3196, allocations: 0 / 385.4 MB, free: 14.85 MB / 312.6 MB Notification: Performance of Templates: time 0.04323/0.3628, allocations: 2.001 MB / 387.4 MB, free: 13.82 MB / 312.6 MB "Error: Could not read variable converter_m.Phi.der(im) in file Modelica_3.2.2__O2_Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance_res.mat. Warning: Get data of variable converter_m.Phi.der(im) from file Modelica_3.2.2__O2_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