Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/2.01e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 44.49 MB / 294.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.4633, allocations: 76.07 MB / 370.3 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.4636, allocations: 71.95 kB / 370.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07649/0.5401, allocations: 18.8 MB / 389.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.5402, allocations: 0 / 389.1 MB, free: 2.824 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001124/0.5403, allocations: 35.94 kB / 389.2 MB, free: 2.789 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004262/0.5446, allocations: 1.338 MB / 390.5 MB, free: 1.402 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.5446, allocations: 11.97 kB / 390.5 MB, free: 1.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000562/0.5452, allocations: 138.4 kB / 390.6 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002715/0.5479, allocations: 0.9139 MB / 391.6 MB, free: 304 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/0.548, allocations: 36 kB / 391.6 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.5483, allocations: 64 kB / 391.7 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003118/0.5514, allocations: 1.109 MB / 392.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003343/0.5548, allocations: 1.334 MB / 394.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/0.5549, allocations: 0 / 394.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001385/0.555, allocations: 0 / 394.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.914e-05/0.5551, allocations: 31.98 kB / 394.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/0.5661, allocations: 4.094 MB / 398.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.5677, allocations: 1.272 MB / 399.5 MB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009157/0.5687, allocations: 441.5 kB / 399.9 MB, free: 7.559 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.924e-05/0.5688, allocations: 4.438 kB / 399.9 MB, free: 7.555 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.82e-05/0.5688, allocations: 39 kB / 400 MB, free: 7.508 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.406e-06/0.5688, allocations: 0 / 400 MB, free: 7.508 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.00143/0.5703, allocations: 0.5615 MB / 400.5 MB, free: 6.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.5703, allocations: 63.84 kB / 400.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/0.5717, allocations: 0.6673 MB / 401.3 MB, free: 6.191 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.107e-05/0.5718, allocations: 25.7 kB / 401.3 MB, free: 6.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004765/0.5723, allocations: 0.5595 MB / 401.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.5726, allocations: 169.5 kB / 402 MB, free: 5.426 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.5726, allocations: 0 / 402 MB, free: 5.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5728, allocations: 334.8 kB / 402.3 MB, free: 5.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006065/0.5734, allocations: 265 kB / 402.6 MB, free: 4.832 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006883/0.5741, allocations: 361.4 kB / 403 MB, free: 4.445 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007588/0.5749, allocations: 333.9 kB / 403.3 MB, free: 4.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.5749, allocations: 4 kB / 403.3 MB, free: 4.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001632/0.5766, allocations: 0.678 MB / 404 MB, free: 3.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.5766, allocations: 8 kB / 404 MB, free: 3.422 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.5767, allocations: 4.281 kB / 404 MB, free: 3.418 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.5767, allocations: 8 kB / 404 MB, free: 3.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.578, allocations: 147.8 kB / 404.1 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.578, allocations: 8 kB / 404.1 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008018/0.5788, allocations: 55.45 kB / 404.2 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.5789, allocations: 16 kB / 404.2 MB, free: 3.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001913/0.5791, allocations: 125.5 kB / 404.3 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00137/0.5805, allocations: 0.5577 MB / 404.9 MB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.5807, allocations: 71.16 kB / 405 MB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.581, allocations: 86.55 kB / 405 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.581, allocations: 11.95 kB / 405 MB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5811, allocations: 3.938 kB / 405.1 MB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.5811, allocations: 7.984 kB / 405.1 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.5852, allocations: 1.693 MB / 406.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.812e-06/0.5853, allocations: 0 / 406.8 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/0.5863, allocations: 119.8 kB / 406.9 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.5863, allocations: 4 kB / 406.9 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.5864, allocations: 7.984 kB / 406.9 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5864, allocations: 0 / 406.9 MB, free: 440 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-05/0.5865, allocations: 4 kB / 406.9 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.5886, allocations: 1.038 MB / 407.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003508/0.589, allocations: 164.2 kB / 408.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001601/0.5891, allocations: 7.984 kB / 408.1 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007467/0.5899, allocations: 47.91 kB / 408.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.59, allocations: 36.33 kB / 408.2 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.386e-05/0.5901, allocations: 23.98 kB / 408.2 MB, free: 15.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001064/0.5912, allocations: 0.5108 MB / 408.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.5912, allocations: 0 / 408.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001088/0.5923, allocations: 270.7 kB / 409 MB, free: 14.28 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.002421/0.5947, allocations: 1.797 MB / 410.8 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001324/0.5961, allocations: 0.5737 MB / 411.3 MB, free: 11.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5961, allocations: 8.5 kB / 411.3 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005973/0.5967, allocations: 281.6 kB / 411.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.598, allocations: 143.2 kB / 411.8 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005765/0.6038, allocations: 2.141 MB / 413.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001322/0.6051, allocations: 1.336 MB / 415.2 MB, free: 7.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008742/0.606, allocations: 387.3 kB / 415.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of SimCode: time 1.172e-06/0.606, allocations: 0 / 415.6 MB, free: 7.488 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.97/3.576, allocations: 18.87 MB / 434.5 MB, free: 98.4 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat