Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.678/1.678, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.732e-05/2.758e-05, allocations: 8 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2581, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.382, allocations: 70.32 MB / 328.7 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.3823, allocations: 71.97 kB / 328.7 MB, free: 7.395 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07802/0.4603, allocations: 18.64 MB / 347.4 MB, free: 4.617 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4604, allocations: 4 kB / 347.4 MB, free: 4.613 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.4605, allocations: 35.94 kB / 347.4 MB, free: 4.578 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003999/0.4645, allocations: 1.329 MB / 348.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.4646, allocations: 8.031 kB / 348.7 MB, free: 3.191 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006187/0.4652, allocations: 142.3 kB / 348.9 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002587/0.4678, allocations: 0.8453 MB / 349.7 MB, free: 2.16 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.067e-05/0.4679, allocations: 36.34 kB / 349.8 MB, free: 2.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.4682, allocations: 71.86 kB / 349.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003212/0.4714, allocations: 1.113 MB / 351 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.4748, allocations: 1.306 MB / 352.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.361e-05/0.4748, allocations: 0 / 352.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.475, allocations: 0 / 352.3 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.475, allocations: 31.98 kB / 352.3 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009958/0.485, allocations: 4.053 MB / 356.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.4865, allocations: 1.267 MB / 357.6 MB, free: 9.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009281/0.4875, allocations: 426.8 kB / 358 MB, free: 9.508 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.678e-05/0.4876, allocations: 12.42 kB / 358 MB, free: 9.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.4876, allocations: 38.94 kB / 358.1 MB, free: 9.449 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.966e-06/0.4876, allocations: 0 / 358.1 MB, free: 9.449 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.003633/0.4913, allocations: 1.56 MB / 359.6 MB, free: 7.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.4913, allocations: 55.84 kB / 359.7 MB, free: 7.758 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.4927, allocations: 0.6791 MB / 360.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.456e-05/0.4928, allocations: 29.7 kB / 360.4 MB, free: 7.035 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004938/0.4933, allocations: 0.5375 MB / 360.9 MB, free: 6.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001924/0.4935, allocations: 173.5 kB / 361.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.4935, allocations: 0 / 361.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.4937, allocations: 382.8 kB / 361.5 MB, free: 5.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007138/0.4945, allocations: 265 kB / 361.7 MB, free: 5.676 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.4954, allocations: 370.3 kB / 362.1 MB, free: 5.277 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.4965, allocations: 341.9 kB / 362.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.4965, allocations: 0 / 362.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001929/0.4985, allocations: 0.823 MB / 363.3 MB, free: 4.109 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.4985, allocations: 12 kB / 363.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.4985, allocations: 0 / 363.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004084/0.4989, allocations: 104.8 kB / 363.4 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009599/0.4999, allocations: 127.8 kB / 363.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.503, allocations: 2.098 MB / 365.6 MB, free: 1.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007456/0.5037, allocations: 20.16 kB / 365.6 MB, free: 1.637 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.5038, allocations: 20 kB / 365.6 MB, free: 1.617 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.504, allocations: 118.2 kB / 365.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001503/0.5055, allocations: 0.6599 MB / 366.4 MB, free: 0.8281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.5057, allocations: 71.16 kB / 366.5 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.506, allocations: 82.86 kB / 366.6 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.506, allocations: 4 kB / 366.6 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.506, allocations: 4 kB / 366.6 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.506, allocations: 3.984 kB / 366.6 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2242/0.7302, allocations: 1.792 MB / 368.4 MB, free: 86.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/0.7303, allocations: 1.125 kB / 368.4 MB, free: 86.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.731, allocations: 96.19 kB / 368.5 MB, free: 86.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004067/0.7315, allocations: 100.2 kB / 368.6 MB, free: 86.77 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.7315, allocations: 11.58 kB / 368.6 MB, free: 86.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.7341, allocations: 2.037 MB / 370.6 MB, free: 85.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/0.7342, allocations: 1.031 kB / 370.6 MB, free: 85.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003676/0.7379, allocations: 1.172 MB / 371.8 MB, free: 85.25 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/0.7389, allocations: 219.1 kB / 372 MB, free: 85.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003597/0.7393, allocations: 6.812 kB / 372 MB, free: 85.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/0.7407, allocations: 46.84 kB / 372 MB, free: 85.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002968/0.741, allocations: 43.14 kB / 372.1 MB, free: 85.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7412, allocations: 15.16 kB / 372.1 MB, free: 85.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.002437/0.7436, allocations: 0.5255 MB / 372.6 MB, free: 85.06 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.332e-06/0.7437, allocations: 1.094 kB / 372.6 MB, free: 85.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002357/0.7461, allocations: 190.9 kB / 372.8 MB, free: 85.06 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002632/0.7487, allocations: 2.07 MB / 374.9 MB, free: 83.92 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.7503, allocations: 0.7432 MB / 375.6 MB, free: 83.81 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.7504, allocations: 3.875 kB / 375.6 MB, free: 83.81 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.7513, allocations: 454.9 kB / 376.1 MB, free: 83.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.7526, allocations: 141.7 kB / 376.2 MB, free: 83.7 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004943/0.7576, allocations: 2.056 MB / 378.3 MB, free: 83.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/0.7587, allocations: 1.363 MB / 379.6 MB, free: 82.54 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0008294/0.7596, allocations: 178.9 kB / 379.8 MB, free: 82.53 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007007/0.7603, allocations: 373.4 kB / 380.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.7603, allocations: 0 / 380.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05906/0.8194, allocations: 16.04 MB / 396.2 MB, free: 75.54 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/0.8196, allocations: 154 kB / 396.4 MB, free: 75.34 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/3.744, allocations: 0 / 396.4 MB, free: 75.34 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat