Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.735e-05, allocations: 3 kB / 249.8 MB, free: 5.246 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09745/0.09751, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5372, allocations: 76.05 MB / 370.3 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5375, allocations: 73.36 kB / 370.4 MB, free: 7.223 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1002/0.6377, allocations: 18.81 MB / 389.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.6378, allocations: 0 / 389.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001197/0.6379, allocations: 39.11 kB / 389.3 MB, free: 17.61 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.00413/0.642, allocations: 1.334 MB / 390.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/0.6421, allocations: 11.62 kB / 390.6 MB, free: 16.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004084/0.6425, allocations: 140.2 kB / 390.7 MB, free: 16.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00261/0.6451, allocations: 0.9115 MB / 391.6 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.6452, allocations: 34.84 kB / 391.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.6455, allocations: 69.16 kB / 391.8 MB, free: 16.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003035/0.6485, allocations: 1.112 MB / 392.9 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/0.6518, allocations: 1.329 MB / 394.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.745e-05/0.6519, allocations: 0 / 394.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.6521, allocations: 0 / 394.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.235e-05/0.6521, allocations: 27.12 kB / 394.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.6635, allocations: 4.094 MB / 398.3 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/0.6651, allocations: 1.267 MB / 399.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009407/0.6661, allocations: 440.2 kB / 400 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.632e-05/0.6662, allocations: 12.16 kB / 400 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.6662, allocations: 34.5 kB / 400.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.937e-06/0.6662, allocations: 0 / 400.1 MB, free: 12.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001388/0.6676, allocations: 0.5658 MB / 400.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.6677, allocations: 55.72 kB / 400.7 MB, free: 12.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.669, allocations: 0.6728 MB / 401.3 MB, free: 12.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.849e-05/0.6691, allocations: 25.7 kB / 401.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005362/0.6696, allocations: 0.5443 MB / 401.9 MB, free: 11.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.6699, allocations: 168.4 kB / 402.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/0.6699, allocations: 0 / 402.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002335/0.6702, allocations: 381.7 kB / 402.5 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005771/0.6708, allocations: 266.1 kB / 402.7 MB, free: 11.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.6714, allocations: 368.3 kB / 403.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007116/0.6722, allocations: 331.6 kB / 403.4 MB, free: 11.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6722, allocations: 3.938 kB / 403.4 MB, free: 11.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001699/0.6739, allocations: 0.7297 MB / 404.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6739, allocations: 7.75 kB / 404.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.309e-05/0.674, allocations: 0 / 404.1 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.961e-05/0.674, allocations: 11.86 kB / 404.1 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.6753, allocations: 151.4 kB / 404.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.6753, allocations: 7.688 kB / 404.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.6761, allocations: 54.89 kB / 404.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.6761, allocations: 22.5 kB / 404.4 MB, free: 10.93 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.0001884/0.6763, allocations: 113 kB / 404.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001222/0.6776, allocations: 0.5651 MB / 405.1 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001671/0.6778, allocations: 69.94 kB / 405.1 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000292/0.6781, allocations: 87.25 kB / 405.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6781, allocations: 7.859 kB / 405.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6781, allocations: 0 / 405.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.6781, allocations: 0 / 405.2 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004103/0.6822, allocations: 1.682 MB / 406.9 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6823, allocations: 3.875 kB / 406.9 MB, free: 9.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.6834, allocations: 124.5 kB / 407 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.6834, allocations: 0 / 407 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.134e-05/0.6835, allocations: 3.875 kB / 407 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.513e-06/0.6835, allocations: 7.812 kB / 407 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6835, allocations: 0 / 407 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002037/0.6856, allocations: 1.049 MB / 408.1 MB, free: 9.508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003257/0.6859, allocations: 165.6 kB / 408.2 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.6861, allocations: 3.781 kB / 408.3 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008115/0.687, allocations: 51.08 kB / 408.3 MB, free: 9.344 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00015/0.6871, allocations: 38.92 kB / 408.3 MB, free: 9.328 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.021e-05/0.6872, allocations: 13.69 kB / 408.4 MB, free: 9.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009812/0.6882, allocations: 0.5204 MB / 408.9 MB, free: 9.176 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6882, allocations: 4 kB / 408.9 MB, free: 9.172 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001067/0.6893, allocations: 264.5 kB / 409.1 MB, free: 9.109 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.002487/0.6918, allocations: 1.801 MB / 410.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.6932, allocations: 0.5764 MB / 411.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.6932, allocations: 0 / 411.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.694, allocations: 287.9 kB / 411.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.6956, allocations: 157.1 kB / 411.9 MB, free: 7.164 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007058/0.7027, allocations: 2.15 MB / 414.1 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001595/0.7044, allocations: 1.358 MB / 415.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001234/0.7056, allocations: 205.5 kB / 415.7 MB, free: 3.758 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009436/0.7066, allocations: 384.4 kB / 416 MB, free: 3.387 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7066, allocations: 3.938 kB / 416 MB, free: 3.383 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07576/0.7824, allocations: 15.56 MB / 431.6 MB, free: 3.891 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003854/0.7828, allocations: 154 kB / 431.7 MB, free: 3.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.222/4.005, allocations: 0 / 431.7 MB, free: 3.691 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat