Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FluxTubes_Examples_SaturatedInductor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.672/2.672, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.379e-05, allocations: 2.531 kB / 249.7 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5539/0.6611, allocations: 74.26 MB / 368.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003273/0.6615, allocations: 77.38 kB / 368.6 MB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04281/0.7043, allocations: 6.812 MB / 375.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.7044, allocations: 0 / 375.4 MB, free: 22.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.764e-05/0.7044, allocations: 3.906 kB / 375.4 MB, free: 22.09 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001565/0.706, allocations: 0.523 MB / 375.9 MB, free: 21.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/0.7061, allocations: 7.812 kB / 375.9 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.7062, allocations: 54.95 kB / 376 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.7064, allocations: 31.34 kB / 376 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/0.707, allocations: 272.2 kB / 376.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.562e-05/0.7071, allocations: 12.22 kB / 376.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.157e-05/0.7072, allocations: 15.66 kB / 376.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006751/0.7079, allocations: 171.6 kB / 376.5 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.7086, allocations: 189.7 kB / 376.7 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.7086, allocations: 3.875 kB / 376.7 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-05/0.7087, allocations: 0 / 376.7 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.7087, allocations: 7.844 kB / 376.7 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003088/0.7118, allocations: 0.9584 MB / 377.6 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.7124, allocations: 192.9 kB / 377.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003311/0.7128, allocations: 91.19 kB / 377.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.7129, allocations: 10.72 kB / 377.9 MB, free: 20.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/0.7129, allocations: 34.06 kB / 378 MB, free: 20.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 3.937e-06/0.7129, allocations: 0 / 378 MB, free: 20.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.007882/0.7208, allocations: 1.099 MB / 379.1 MB, free: 20.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.721, allocations: 55.34 kB / 379.1 MB, free: 20.3 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.7213, allocations: 187.1 kB / 379.3 MB, free: 20.19 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.486e-05/0.7215, allocations: 25.7 kB / 379.3 MB, free: 20.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.7217, allocations: 189.7 kB / 379.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.7219, allocations: 108.5 kB / 379.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.722, allocations: 0 / 379.6 MB, free: 19.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00028/0.7223, allocations: 344.3 kB / 379.9 MB, free: 19.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005489/0.7228, allocations: 82.69 kB / 380 MB, free: 19.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.7235, allocations: 147.8 kB / 380.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.7242, allocations: 117 kB / 380.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.7242, allocations: 0 / 380.3 MB, free: 19.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.005141/0.7294, allocations: 484.3 kB / 380.8 MB, free: 19.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.7295, allocations: 3.812 kB / 380.8 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.7295, allocations: 3.875 kB / 380.8 MB, free: 19.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002984/0.7325, allocations: 202.5 kB / 381 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/0.7336, allocations: 53.84 kB / 381 MB, free: 19.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.7466, allocations: 3.621 MB / 384.6 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009542/0.7477, allocations: 7.969 kB / 384.6 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.7478, allocations: 11.19 kB / 384.7 MB, free: 16.49 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.7482, allocations: 116.7 kB / 384.8 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.7484, allocations: 23.34 kB / 384.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.7486, allocations: 31.25 kB / 384.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.7487, allocations: 3.844 kB / 384.8 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.155e-05/0.7487, allocations: 7.75 kB / 384.8 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.7488, allocations: 11.94 kB / 384.8 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.7543, allocations: 0.8532 MB / 385.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/0.7543, allocations: 3.938 kB / 385.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007019/0.7551, allocations: 42.91 kB / 385.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002124/0.7572, allocations: 182.9 kB / 385.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-05/0.7574, allocations: 7.297 kB / 385.9 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009629/0.767, allocations: 3.617 MB / 389.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.7671, allocations: 0 / 389.5 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003552/0.7706, allocations: 0.6739 MB / 390.2 MB, free: 12.75 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001758/0.7709, allocations: 108.4 kB / 390.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.213e-05/0.771, allocations: 0 / 390.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/0.7716, allocations: 15.67 kB / 390.3 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001628/0.7718, allocations: 31.17 kB / 390.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/0.7718, allocations: 11.73 kB / 390.4 MB, free: 12.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.7721, allocations: 146.1 kB / 390.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.7721, allocations: 0 / 390.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00116/0.7733, allocations: 97.28 kB / 390.6 MB, free: 12.52 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004191/0.7775, allocations: 1.295 MB / 391.9 MB, free: 11.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.7791, allocations: 0.4975 MB / 392.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.935e-06/0.7791, allocations: 4.594 kB / 392.4 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009398/0.7801, allocations: 397.1 kB / 392.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.7806, allocations: 16.81 kB / 392.8 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.7829, allocations: 492.8 kB / 393.3 MB, free: 10.83 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.7835, allocations: 0.7821 MB / 394.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002461/0.7837, allocations: 21.84 kB / 394.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.784, allocations: 98.3 kB / 394.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of SimCode: time 1.433e-06/0.784, allocations: 0 / 394.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07822/0.8622, allocations: 7.363 MB / 401.6 MB, free: 6.488 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004479/0.8627, allocations: 152.3 kB / 401.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.142/5.005, allocations: 3.938 kB / 401.7 MB, free: 6.289 MB / 314.7 MB "" Variables in the reference:time,coil.Phi Variables in the result:coil.L_stat,coil.N,coil.Phi,coil.Psi,coil.V_m,coil.eps,coil.i,coil.n.i,coil.n.v,coil.p.i,coil.p.v,coil.port_n.Phi,coil.port_n.V_m,coil.port_p.Phi,coil.port_p.V_m,coil.v,der(coil.Phi),der(coil.V_m),der(coil.i),der(r_mAirPar.Phi),der(r_mAirPar.V_m),der(r_mFe.B),der(r_mFe.B_N),der(r_mFe.G_m),der(r_mFe.R_m),der(r_mFe.V_m),der(r_mFe.mu_r),der(r_mLeak.Phi),ground.p.i,ground.p.v,ground_m.port.Phi,ground_m.port.V_m,r.LossPower,r.R,r.R_actual,r.T,r.T_heatPort,r.T_ref,r.alpha,r.i,r.n.i,r.n.v,r.p.i,r.p.v,r.useHeatPort,r.v,r_mAirPar.A,r_mAirPar.B,r_mAirPar.B_N,r_mAirPar.G_m,r_mAirPar.H,r_mAirPar.Phi,r_mAirPar.R_m,r_mAirPar.V_m,r_mAirPar.a,r_mAirPar.b,r_mAirPar.l,r_mAirPar.material.B_myMax,r_mAirPar.material.c_a,r_mAirPar.material.c_b,r_mAirPar.material.mu_i,r_mAirPar.material.n,r_mAirPar.mu_r,r_mAirPar.mu_rConst,r_mAirPar.nonLinearPermeability,r_mAirPar.port_n.Phi,r_mAirPar.port_n.V_m,r_mAirPar.port_p.Phi,r_mAirPar.port_p.V_m,r_mFe.A,r_mFe.B,r_mFe.B_N,r_mFe.G_m,r_mFe.H,r_mFe.Phi,r_mFe.R_m,r_mFe.V_m,r_mFe.a,r_mFe.b,r_mFe.l,r_mFe.material.B_myMax,r_mFe.material.c_a,r_mFe.material.c_b,r_mFe.material.mu_i,r_mFe.material.n,r_mFe.mu_r,r_mFe.mu_rConst,r_mFe.nonLinearPermeability,r_mFe.port_n.Phi,r_mFe.port_n.V_m,r_mFe.port_p.Phi,r_mFe.port_p.V_m,r_mLeak.Phi,r_mLeak.R_m,r_mLeak.V_m,r_mLeak.port_n.Phi,r_mLeak.port_n.V_m,r_mLeak.port_p.Phi,r_mLeak.port_p.V_m,source.V,source.freqHz,source.i,source.n.i,source.n.v,source.offset,source.p.i,source.p.v,source.phase,source.signalSource.amplitude,source.signalSource.freqHz,source.signalSource.offset,source.signalSource.phase,source.signalSource.startTime,source.signalSource.y,source.startTime,source.v,time