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.884/1.884, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.485e-05, allocations: 4 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.09862, allocations: 44.51 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.405/0.5036, allocations: 76.72 MB / 376.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.504, allocations: 72.09 kB / 376.7 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07461/0.5786, allocations: 19.02 MB / 395.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5787, allocations: 0 / 395.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001031/0.5788, allocations: 35.03 kB / 395.8 MB, free: 10.44 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003773/0.5826, allocations: 1.336 MB / 397.1 MB, free: 9.766 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.5827, allocations: 15.66 kB / 397.1 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004413/0.5831, allocations: 172.9 kB / 397.3 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.5835, allocations: 140.8 kB / 397.4 MB, free: 9.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002462/0.586, allocations: 0.9112 MB / 398.3 MB, free: 9.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/0.5861, allocations: 85.59 kB / 398.4 MB, free: 9.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002552/0.5864, allocations: 113.7 kB / 398.5 MB, free: 9.242 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003371/0.5898, allocations: 1.48 MB / 400 MB, free: 8.828 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.452e-05/0.5899, allocations: 7.75 kB / 400 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.59, allocations: 53.66 kB / 400.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.5901, allocations: 27.16 kB / 400.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002795/0.5929, allocations: 1.171 MB / 401.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009832/0.6028, allocations: 4.31 MB / 405.6 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.6041, allocations: 1.288 MB / 406.9 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008361/0.605, allocations: 456.8 kB / 407.3 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.605, allocations: 8.156 kB / 407.3 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.6051, allocations: 45.86 kB / 407.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.276e-06/0.6051, allocations: 0 / 407.4 MB, free: 5.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001364/0.6065, allocations: 0.5954 MB / 408 MB, free: 5.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.6065, allocations: 55.62 kB / 408 MB, free: 5.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.6078, allocations: 0.7236 MB / 408.7 MB, free: 5.191 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.6079, allocations: 39.89 kB / 408.8 MB, free: 5.156 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.6082, allocations: 0.5551 MB / 409.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.6084, allocations: 175.9 kB / 409.5 MB, free: 4.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.6085, allocations: 11.81 kB / 409.5 MB, free: 4.645 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.6085, allocations: 336.3 kB / 409.8 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/0.6091, allocations: 276.5 kB / 410.1 MB, free: 4.285 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.6097, allocations: 374.8 kB / 410.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006704/0.6104, allocations: 344.5 kB / 410.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.6104, allocations: 0 / 410.8 MB, free: 4.07 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001425/0.6118, allocations: 0.7279 MB / 411.5 MB, free: 3.898 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.6119, allocations: 5.781 kB / 411.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.6119, allocations: 3.875 kB / 411.6 MB, free: 3.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.6119, allocations: 7.828 kB / 411.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6131, allocations: 156.8 kB / 411.7 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.6131, allocations: 3.875 kB / 411.7 MB, free: 3.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00073/0.6138, allocations: 65.56 kB / 411.8 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-05/0.6139, allocations: 15.5 kB / 411.8 MB, free: 3.828 MB / 314.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.0001565/0.6141, allocations: 141.9 kB / 411.9 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001661/0.6142, allocations: 81.94 kB / 412 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002482/0.6145, allocations: 87.27 kB / 412.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.6145, allocations: 7.719 kB / 412.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.6145, allocations: 3.953 kB / 412.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.6146, allocations: 3.984 kB / 412.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.6185, allocations: 1.88 MB / 414 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.6185, allocations: 0 / 414 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009724/0.6195, allocations: 121.9 kB / 414.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.6196, allocations: 3.875 kB / 414.1 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.844e-05/0.6196, allocations: 14.95 kB / 414.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.6196, allocations: 0 / 414.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.6196, allocations: 3.812 kB / 414.1 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.6215, allocations: 1.082 MB / 415.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003077/0.6218, allocations: 166 kB / 415.4 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.622, allocations: 19.23 kB / 415.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007639/0.6228, allocations: 58.31 kB / 415.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.6229, allocations: 34.95 kB / 415.5 MB, free: 2.312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.542e-05/0.623, allocations: 19.73 kB / 415.5 MB, free: 2.305 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001005/0.624, allocations: 0.5716 MB / 416.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.624, allocations: 0 / 416.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009672/0.625, allocations: 289.8 kB / 416.4 MB, free: 2.074 MB / 314.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.002088/0.6271, allocations: 1.842 MB / 418.2 MB, free: 0.957 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.6283, allocations: 0.6093 MB / 418.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.6284, allocations: 0 / 418.8 MB, free: 0.8594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.6289, allocations: 297.7 kB / 419.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6302, allocations: 163.6 kB / 419.3 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.6359, allocations: 2.2 MB / 421.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/0.6371, allocations: 1.339 MB / 422.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008681/0.638, allocations: 382.4 kB / 423.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.263e-06/0.638, allocations: 3.938 kB / 423.2 MB, free: 14.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.734/3.372, allocations: 19.25 MB / 442.4 MB, free: 2.441 MB / 330.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