Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.SinglePhaseInductance,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_Components_SinglePhaseInductance",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.954/2.954, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.212e-05, allocations: 1.938 kB / 249.8 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.54/0.659, allocations: 76.11 MB / 370.4 MB, free: 7.266 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.6594, allocations: 78.03 kB / 370.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04762/0.7071, allocations: 9.6 MB / 380.1 MB, free: 21.29 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.7071, allocations: 0 / 380.1 MB, free: 21.29 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.089e-05/0.7072, allocations: 7.781 kB / 380.1 MB, free: 21.29 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00216/0.7093, allocations: 0.6358 MB / 380.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/0.7094, allocations: 11.75 kB / 380.7 MB, free: 20.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.7096, allocations: 64.09 kB / 380.8 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009896/0.7106, allocations: 84.91 kB / 380.9 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.7114, allocations: 296.9 kB / 381.1 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/0.7114, allocations: 16.28 kB / 381.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.7116, allocations: 19.38 kB / 381.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007392/0.7123, allocations: 209 kB / 381.4 MB, free: 20.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008569/0.7132, allocations: 280.7 kB / 381.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.7133, allocations: 3.875 kB / 381.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.7133, allocations: 0 / 381.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.7134, allocations: 7.75 kB / 381.7 MB, free: 20.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.7173, allocations: 1.314 MB / 383 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005041/0.7178, allocations: 162.1 kB / 383.1 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.718, allocations: 70.41 kB / 383.2 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001447/0.7195, allocations: 0.8766 MB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/0.7196, allocations: 38.34 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.627e-06/0.7196, allocations: 0 / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005049/0.7201, allocations: 130 kB / 384.2 MB, free: 18.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.7202, allocations: 77.11 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.7206, allocations: 231.1 kB / 384.5 MB, free: 18.17 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.7207, allocations: 25.7 kB / 384.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.7209, allocations: 239.6 kB / 384.8 MB, free: 17.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.274e-05/0.721, allocations: 55.78 kB / 384.9 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/0.721, allocations: 3.938 kB / 384.9 MB, free: 17.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7212, allocations: 333.1 kB / 385.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.7214, allocations: 48.78 kB / 385.2 MB, free: 17.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.7216, allocations: 175.2 kB / 385.4 MB, free: 17.42 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.7219, allocations: 67.38 kB / 385.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.7219, allocations: 3.875 kB / 385.5 MB, free: 17.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007081/0.7226, allocations: 241.4 kB / 385.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.7227, allocations: 7.719 kB / 385.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.7227, allocations: 3.938 kB / 385.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/0.7227, allocations: 7.688 kB / 385.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.7234, allocations: 70.16 kB / 385.8 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.7234, allocations: 19.7 kB / 385.8 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004327/0.7239, allocations: 27.34 kB / 385.8 MB, free: 17.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.7239, allocations: 14.84 kB / 385.9 MB, free: 17.27 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001693/0.7241, allocations: 112.6 kB / 386 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.7242, allocations: 27.17 kB / 386 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.7243, allocations: 27.17 kB / 386 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.313e-06/0.7244, allocations: 3.875 kB / 386 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.7244, allocations: 0 / 386 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.7244, allocations: 7.984 kB / 386 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.7255, allocations: 443.7 kB / 386.5 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.7255, allocations: 0 / 386.5 MB, free: 16.79 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.726, allocations: 38.94 kB / 386.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.726, allocations: 3.938 kB / 386.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.7261, allocations: 10.61 kB / 386.5 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.7261, allocations: 4.031 kB / 386.5 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.7261, allocations: 3.938 kB / 386.5 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006231/0.7267, allocations: 372.9 kB / 386.9 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.7269, allocations: 96.75 kB / 387 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.727, allocations: 8.031 kB / 387 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.7274, allocations: 8.094 kB / 387 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.758e-05/0.7275, allocations: 19.17 kB / 387 MB, free: 16.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.7276, allocations: 11.92 kB / 387 MB, free: 16.36 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003059/0.7279, allocations: 172.9 kB / 387.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.7279, allocations: 0 / 387.2 MB, free: 16.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008031/0.7287, allocations: 77.88 kB / 387.3 MB, free: 16.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor_e.i,converter_m.Phi.re) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.00121/0.7299, allocations: 1.075 MB / 388.4 MB, free: 15.31 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000477/0.7305, allocations: 127.2 kB / 388.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7305, allocations: 4.094 kB / 388.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.7307, allocations: 47.44 kB / 388.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005496/0.7312, allocations: 25.02 kB / 388.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.7333, allocations: 0.4938 MB / 389 MB, free: 14.92 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.7339, allocations: 0.7815 MB / 389.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.7342, allocations: 29.75 kB / 389.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.7344, allocations: 102.5 kB / 390 MB, free: 14.14 MB / 314.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7345, allocations: 0 / 390 MB, free: 14.14 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0688/0.8033, allocations: 4.196 MB / 394.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004332/0.8038, allocations: 180.5 kB / 394.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.357/4.16, allocations: 0 / 394.3 MB, free: 11.96 MB / 314.7 MB "" Variables in the reference:time,converter_m.Phi.re,inductor_e.i 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.useHeatPort,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.useHeatPort,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