Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.532e-05, allocations: 0 / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1611, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4845/0.6456, allocations: 97.87 MB / 397.8 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/0.6459, allocations: 85.45 kB / 397.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.67/5.316, allocations: 0.8213 GB / 1.21 GB, free: 33.83 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.056e-06/5.316, allocations: 0 / 1.21 GB, free: 33.83 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.002603/5.319, allocations: 394.8 kB / 1.21 GB, free: 33.8 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0893/5.408, allocations: 16.49 MB / 1.226 GB, free: 29.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/5.408, allocations: 11.97 kB / 1.226 GB, free: 29.14 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01557/5.424, allocations: 3.07 MB / 1.229 GB, free: 28.94 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0701/5.494, allocations: 8.643 MB / 1.238 GB, free: 27.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04188/5.536, allocations: 11.92 MB / 1.249 GB, free: 26.56 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002633/5.539, allocations: 1.34 MB / 1.251 GB, free: 26.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01022/5.549, allocations: 1.722 MB / 1.252 GB, free: 26.51 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1104/5.659, allocations: 31.87 MB / 1.284 GB, free: 24.36 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001199/5.661, allocations: 19.88 kB / 1.284 GB, free: 24.35 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009001/5.67, allocations: 0.7479 MB / 1.284 GB, free: 24.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002248/5.672, allocations: 1.252 MB / 1.286 GB, free: 24.31 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08468/5.757, allocations: 27.74 MB / 1.313 GB, free: 19.02 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7811/6.538, allocations: 99.34 MB / 1.41 GB, free: 25.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05989/6.598, allocations: 33.88 MB / 1.443 GB, free: 28.01 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03949/6.637, allocations: 15.12 MB / 1.458 GB, free: 27.84 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1356/6.773, allocations: 47.23 MB / 1.504 GB, free: 18.82 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/6.773, allocations: 150.6 kB / 1.504 GB, free: 18.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=1454): time 2.028e-05/6.773, allocations: 0 / 1.504 GB, free: 18.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1454): time 0.07321/6.847, allocations: 25.45 MB / 1.529 GB, free: 7.695 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001843/6.847, allocations: 200.6 kB / 1.529 GB, free: 7.48 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01281/6.86, allocations: 3.915 MB / 1.533 GB, free: 4.066 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.003597/6.863, allocations: 201.7 kB / 1.533 GB, free: 3.863 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006667/6.87, allocations: 6.111 MB / 1.539 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.01016/6.88, allocations: 4.761 MB / 1.543 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004038/6.884, allocations: 232 kB / 1.544 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002302/6.887, allocations: 0.8972 MB / 1.545 GB, free: 9.609 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03019/6.917, allocations: 9.809 MB / 1.554 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.593/7.51, allocations: 14.79 MB / 1.569 GB, free: 73.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0427/7.553, allocations: 11.87 MB / 1.58 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000171/7.553, allocations: 23.62 kB / 1.58 GB, free: 73.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1803) (initialization): time 0.08839/7.641, allocations: 28.46 MB / 1.608 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002102/7.641, allocations: 30.44 kB / 1.608 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003784/7.642, allocations: 63.34 kB / 1.608 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05006/7.692, allocations: 10.41 MB / 1.618 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02496/7.717, allocations: 1.946 MB / 1.62 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05057/7.768, allocations: 21.2 MB / 1.641 GB, free: 68.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01489/7.783, allocations: 1.423 MB / 1.642 GB, free: 68.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004461/7.787, allocations: 0.5211 MB / 1.643 GB, free: 68.06 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 275 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1062): * Single equations (assignments): 909 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.008092/7.795, allocations: 0.7065 MB / 1.643 GB, free: 67.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005129/7.8, allocations: 0.73 MB / 1.644 GB, free: 67.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08268/7.883, allocations: 27.79 MB / 1.671 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.08389/7.967, allocations: 25.33 MB / 1.696 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.302e-05/7.967, allocations: 0 / 1.696 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003146/7.967, allocations: 56.58 kB / 1.696 GB, free: 48.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6248/8.592, allocations: 52.35 MB / 1.747 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002508/8.593, allocations: 5.781 kB / 1.747 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01795/8.611, allocations: 1.356 MB / 1.749 GB, free: 61.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04772/8.658, allocations: 10.29 MB / 1.759 GB, free: 61.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004622/8.663, allocations: 299.6 kB / 1.759 GB, free: 61.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06234/8.725, allocations: 21.09 MB / 1.779 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/8.725, allocations: 5.938 kB / 1.779 GB, free: 57.34 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1755/8.901, allocations: 41.3 MB / 1.82 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01184/8.913, allocations: 3.136 MB / 1.823 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005099/8.918, allocations: 183.6 kB / 1.823 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01121/8.929, allocations: 0.5061 MB / 1.824 GB, free: 56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005457/8.935, allocations: 1.062 MB / 1.825 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003646/8.938, allocations: 378.2 kB / 1.825 GB, free: 55.99 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007698/8.946, allocations: 2.929 MB / 1.828 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.142e-06/8.946, allocations: 0.9062 kB / 1.828 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02045/8.967, allocations: 4.356 MB / 1.832 GB, free: 54.99 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensorL.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (756): * Single equations (assignments): 603 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 146 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {6 9,6 9,6 9,6 9,54 290,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.1154/9.082, allocations: 42.25 MB / 1.873 GB, free: 39.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.06479/9.147, allocations: 23.59 MB / 1.896 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/9.147, allocations: 4 kB / 1.896 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.03635/9.183, allocations: 12.21 MB / 1.908 GB, free: 16.62 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01493/9.198, allocations: 1.363 MB / 1.91 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5668/9.765, allocations: 41.62 MB / 1.95 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03265/9.798, allocations: 12.33 MB / 1.962 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01772/9.816, allocations: 2.791 MB / 1.965 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01767/9.833, allocations: 6.158 MB / 1.971 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of SimCode: time 1.793e-06/9.833, allocations: 0 / 1.971 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.136/10.97, allocations: 333.9 MB / 2.297 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000297/10.97, allocations: 217.6 kB / 2.297 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/22.48, allocations: 3.75 kB / 2.297 GB, free: 11.88 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat