Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.535/2.535, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.347e-05/4.362e-05, allocations: 5.125 kB / 249.8 MB, free: 5.285 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1153, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5075/0.6229, allocations: 73.97 MB / 368.2 MB, free: 7.301 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.6233, allocations: 66.22 kB / 368.3 MB, free: 7.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05148/0.6748, allocations: 7.954 MB / 376.3 MB, free: 22.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.6749, allocations: 0 / 376.3 MB, free: 22.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.604e-05/0.6749, allocations: 11.47 kB / 376.3 MB, free: 22.32 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002152/0.6771, allocations: 0.7247 MB / 377 MB, free: 21.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.405e-05/0.6772, allocations: 11.38 kB / 377 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002767/0.6775, allocations: 80.22 kB / 377.1 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002259/0.6777, allocations: 71.94 kB / 377.2 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007927/0.6785, allocations: 365 kB / 377.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.6786, allocations: 24.69 kB / 377.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.6787, allocations: 31 kB / 377.6 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00101/0.6798, allocations: 280.3 kB / 377.8 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.681, allocations: 401.4 kB / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.681, allocations: 0 / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.6811, allocations: 3.953 kB / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/0.6812, allocations: 15.41 kB / 378.2 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005347/0.6865, allocations: 1.647 MB / 379.9 MB, free: 20.35 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009513/0.6875, allocations: 233.3 kB / 380.1 MB, free: 20.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.688, allocations: 121.2 kB / 380.2 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.6881, allocations: 3.875 kB / 380.2 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.6882, allocations: 40.47 kB / 380.3 MB, free: 20.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.529e-06/0.6882, allocations: 4 kB / 380.3 MB, free: 20.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.00246/0.6907, allocations: 0.7186 MB / 381 MB, free: 19.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.6908, allocations: 80.98 kB / 381.1 MB, free: 19.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.6914, allocations: 306.3 kB / 381.4 MB, free: 19.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.437e-05/0.6915, allocations: 29.7 kB / 381.4 MB, free: 19.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.6918, allocations: 297.5 kB / 381.7 MB, free: 19.28 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.6919, allocations: 108.4 kB / 381.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.017e-05/0.692, allocations: 224 / 381.8 MB, free: 19.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002819/0.6923, allocations: 348.4 kB / 382.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/0.6928, allocations: 80.84 kB / 382.2 MB, free: 18.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.6933, allocations: 175.7 kB / 382.4 MB, free: 18.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/0.6939, allocations: 102.6 kB / 382.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.6939, allocations: 0 / 382.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001579/0.6955, allocations: 385.1 kB / 382.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.094e-05/0.6956, allocations: 3.906 kB / 382.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.737e-05/0.6956, allocations: 3.969 kB / 382.9 MB, free: 18.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006947/0.6964, allocations: 87.25 kB / 383 MB, free: 18.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007932/0.6972, allocations: 77.78 kB / 383 MB, free: 18.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/0.7019, allocations: 2.746 MB / 385.8 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.703, allocations: 19.61 kB / 385.8 MB, free: 15.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.7031, allocations: 15.03 kB / 385.8 MB, free: 15.99 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003008/0.7035, allocations: 116.3 kB / 385.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003152/0.7038, allocations: 46.66 kB / 386 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/0.704, allocations: 39.56 kB / 386 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.7041, allocations: 3.875 kB / 386 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.7041, allocations: 3.953 kB / 386 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.7041, allocations: 3.938 kB / 386 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003684/0.7078, allocations: 0.8222 MB / 386.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.7079, allocations: 0 / 386.9 MB, free: 15.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007281/0.7087, allocations: 46.64 kB / 386.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008857/0.7096, allocations: 84.67 kB / 387 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.679e-05/0.7097, allocations: 192 / 387 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005286/0.715, allocations: 2.752 MB / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.7151, allocations: 0 / 389.7 MB, free: 12.7 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/0.7167, allocations: 0.5594 MB / 390.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.717, allocations: 119.5 kB / 390.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.7171, allocations: 0 / 390.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/0.7179, allocations: 27.27 kB / 390.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.718, allocations: 34.92 kB / 390.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.7181, allocations: 15.17 kB / 390.5 MB, free: 12.24 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005104/0.7186, allocations: 233.1 kB / 390.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.134e-06/0.7186, allocations: 0 / 390.7 MB, free: 12.15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001143/0.7198, allocations: 108.8 kB / 390.8 MB, free: 12.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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: 2 {(1,100.0%) 5,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001972/0.7218, allocations: 1.182 MB / 392 MB, free: 11.24 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.7232, allocations: 462.5 kB / 392.5 MB, free: 11.01 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.7232, allocations: 3.938 kB / 392.5 MB, free: 11 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.7242, allocations: 351.7 kB / 392.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000701/0.7249, allocations: 39.11 kB / 392.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.7279, allocations: 0.7932 MB / 393.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.7285, allocations: 0.856 MB / 394.5 MB, free: 9.484 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003878/0.7289, allocations: 38.59 kB / 394.5 MB, free: 9.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.7293, allocations: 171.6 kB / 394.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7293, allocations: 0 / 394.7 MB, free: 9.441 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1185/0.8479, allocations: 7.22 MB / 401.9 MB, free: 6.027 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004125/0.8483, allocations: 156.7 kB / 402.1 MB, free: 5.828 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.716/4.565, allocations: 0 / 402.1 MB, free: 5.828 MB / 314.7 MB "Warning: Resultfile and Reference have different end time points! Reffile[100002]=50.000000 File[126]=31.313131 " Variables in the reference:time,basicTransformer.i1,basicTransformer.i2,inductor22.i Variables in the result:L1,L1sigma,L2,L2sigma,Lm1,M,R1,R2,RL,Vdc,Vpeak,_D_outputAlias_i1B,_D_outputAlias_i1I,_D_outputAlias_i2B,_D_outputAlias_i2I,_D_outputAlias_v1B,_D_outputAlias_v1I,_D_outputAlias_v2B,_D_outputAlias_v2I,basicTransformer.L1,basicTransformer.L2,basicTransformer.M,basicTransformer.dv,basicTransformer.i1,basicTransformer.i2,basicTransformer.n1.i,basicTransformer.n1.v,basicTransformer.n2.i,basicTransformer.n2.v,basicTransformer.p1.i,basicTransformer.p1.v,basicTransformer.p2.i,basicTransformer.p2.v,basicTransformer.v1,basicTransformer.v2,der(basicTransformer.i1),der(basicTransformer.i2),der(inductor21.i),der(inductor22.i),f,ground11.p.i,ground11.p.v,ground12.p.i,ground12.p.v,ground21.p.i,ground21.p.v,ground22.p.i,ground22.p.v,i1B,i1I,i2B,i2I,idealTransformer.Lm1,idealTransformer.considerMagnetization,idealTransformer.i1,idealTransformer.i2,idealTransformer.im1,idealTransformer.n,idealTransformer.n1.i,idealTransformer.n1.v,idealTransformer.n2.i,idealTransformer.n2.v,idealTransformer.p1.i,idealTransformer.p1.v,idealTransformer.p2.i,idealTransformer.p2.v,idealTransformer.psim1,idealTransformer.v1,idealTransformer.v2,inductor21.L,inductor21.i,inductor21.n.i,inductor21.n.v,inductor21.p.i,inductor21.p.v,inductor21.v,inductor22.L,inductor22.i,inductor22.n.i,inductor22.n.v,inductor22.p.i,inductor22.p.v,inductor22.v,load1.LossPower,load1.R,load1.R_actual,load1.T,load1.T_heatPort,load1.T_ref,load1.alpha,load1.i,load1.n.i,load1.n.v,load1.p.i,load1.p.v,load1.useHeatPort,load1.v,load2.LossPower,load2.R,load2.R_actual,load2.T,load2.T_heatPort,load2.T_ref,load2.alpha,load2.i,load2.n.i,load2.n.v,load2.p.i,load2.p.v,load2.useHeatPort,load2.v,n,phi0,resistor11.LossPower,resistor11.R,resistor11.R_actual,resistor11.T,resistor11.T_heatPort,resistor11.T_ref,resistor11.alpha,resistor11.i,resistor11.n.i,resistor11.n.v,resistor11.p.i,resistor11.p.v,resistor11.useHeatPort,resistor11.v,resistor12.LossPower,resistor12.R,resistor12.R_actual,resistor12.T,resistor12.T_heatPort,resistor12.T_ref,resistor12.alpha,resistor12.i,resistor12.n.i,resistor12.n.v,resistor12.p.i,resistor12.p.v,resistor12.useHeatPort,resistor12.v,resistor21.LossPower,resistor21.R,resistor21.R_actual,resistor21.T,resistor21.T_heatPort,resistor21.T_ref,resistor21.alpha,resistor21.i,resistor21.n.i,resistor21.n.v,resistor21.p.i,resistor21.p.v,resistor21.useHeatPort,resistor21.v,resistor22.LossPower,resistor22.R,resistor22.R_actual,resistor22.T,resistor22.T_heatPort,resistor22.T_ref,resistor22.alpha,resistor22.i,resistor22.n.i,resistor22.n.v,resistor22.p.i,resistor22.p.v,resistor22.useHeatPort,resistor22.v,sineVoltage1.V,sineVoltage1.freqHz,sineVoltage1.i,sineVoltage1.n.i,sineVoltage1.n.v,sineVoltage1.offset,sineVoltage1.p.i,sineVoltage1.p.v,sineVoltage1.phase,sineVoltage1.signalSource.amplitude,sineVoltage1.signalSource.freqHz,sineVoltage1.signalSource.offset,sineVoltage1.signalSource.phase,sineVoltage1.signalSource.startTime,sineVoltage1.signalSource.y,sineVoltage1.startTime,sineVoltage1.v,sineVoltage2.V,sineVoltage2.freqHz,sineVoltage2.i,sineVoltage2.n.i,sineVoltage2.n.v,sineVoltage2.offset,sineVoltage2.p.i,sineVoltage2.p.v,sineVoltage2.phase,sineVoltage2.signalSource.amplitude,sineVoltage2.signalSource.freqHz,sineVoltage2.signalSource.offset,sineVoltage2.signalSource.phase,sineVoltage2.signalSource.startTime,sineVoltage2.signalSource.y,sineVoltage2.startTime,sineVoltage2.v,time,v1B,v1I,v2B,v2I