Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.97/1.97, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.347e-05, allocations: 7.094 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09651, allocations: 44.5 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.5068, allocations: 76.17 MB / 376.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002615/0.5071, allocations: 72.41 kB / 376.2 MB, free: 12.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07221/0.5793, allocations: 18.55 MB / 394.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5794, allocations: 0 / 394.7 MB, free: 10.85 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.782e-05/0.5795, allocations: 30.97 kB / 394.8 MB, free: 10.85 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003765/0.5833, allocations: 1.335 MB / 396.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.5834, allocations: 11.55 kB / 396.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003718/0.5838, allocations: 168.6 kB / 396.3 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.5841, allocations: 148.7 kB / 396.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.5863, allocations: 0.8559 MB / 397.3 MB, free: 9.719 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.819e-05/0.5864, allocations: 79.19 kB / 397.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.5867, allocations: 114.2 kB / 397.5 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003278/0.59, allocations: 1.458 MB / 398.9 MB, free: 9.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/0.59, allocations: 4 kB / 398.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.5902, allocations: 52.42 kB / 399 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.5902, allocations: 26.91 kB / 399 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002791/0.593, allocations: 1.175 MB / 400.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009948/0.603, allocations: 4.251 MB / 404.4 MB, free: 7.418 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6044, allocations: 1.286 MB / 405.7 MB, free: 6.469 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008658/0.6053, allocations: 442.5 kB / 406.1 MB, free: 6.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.111e-05/0.6054, allocations: 8.125 kB / 406.1 MB, free: 6.395 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.709e-05/0.6054, allocations: 42.69 kB / 406.2 MB, free: 6.352 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.968e-06/0.6054, allocations: 0 / 406.2 MB, free: 6.352 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.003585/0.609, allocations: 1.634 MB / 407.8 MB, free: 5.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.6091, allocations: 63.58 kB / 407.9 MB, free: 5.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.6104, allocations: 0.7305 MB / 408.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/0.6105, allocations: 33.2 kB / 408.6 MB, free: 5.348 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.6108, allocations: 0.556 MB / 409.2 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/0.611, allocations: 186.5 kB / 409.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.611, allocations: 9.688 kB / 409.4 MB, free: 4.828 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.857e-05/0.6111, allocations: 336.9 kB / 409.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/0.6117, allocations: 279.9 kB / 410 MB, free: 4.469 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006137/0.6123, allocations: 381.9 kB / 410.4 MB, free: 4.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.613, allocations: 347.8 kB / 410.7 MB, free: 4.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6131, allocations: 0 / 410.7 MB, free: 4.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001714/0.6148, allocations: 0.825 MB / 411.5 MB, free: 4.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.6148, allocations: 11.81 kB / 411.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.6148, allocations: 0 / 411.5 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.6153, allocations: 112 kB / 411.7 MB, free: 4.008 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009321/0.6162, allocations: 123.8 kB / 411.8 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.6189, allocations: 2.17 MB / 413.9 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008314/0.6198, allocations: 28.98 kB / 414 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.6198, allocations: 20.31 kB / 414 MB, free: 2.449 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.0001829/0.62, allocations: 138.7 kB / 414.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6202, allocations: 77.3 kB / 414.2 MB, free: 2.289 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002653/0.6205, allocations: 92.17 kB / 414.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.6205, allocations: 7.719 kB / 414.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.6205, allocations: 0 / 414.3 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.6205, allocations: 3.984 kB / 414.3 MB, free: 2.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/0.625, allocations: 1.98 MB / 416.3 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/0.625, allocations: 256 / 416.3 MB, free: 1.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006878/0.6257, allocations: 111.3 kB / 416.4 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/0.6261, allocations: 107.6 kB / 416.5 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.6262, allocations: 7.906 kB / 416.5 MB, free: 1.426 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/0.629, allocations: 2.131 MB / 418.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.629, allocations: 4.062 kB / 418.6 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002287/0.6313, allocations: 1.207 MB / 419.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.6317, allocations: 162.3 kB / 420 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.6319, allocations: 18.97 kB / 420 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007393/0.6326, allocations: 54.39 kB / 420.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.6328, allocations: 35.23 kB / 420.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.6329, allocations: 19.33 kB / 420.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001094/0.634, allocations: 0.5755 MB / 420.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.634, allocations: 0 / 420.7 MB, free: 15.09 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001147/0.6352, allocations: 212.8 kB / 420.9 MB, free: 15.09 MB / 330.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.002961/0.6381, allocations: 2.105 MB / 423 MB, free: 13.75 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.64, allocations: 0.7728 MB / 423.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.64, allocations: 0.6875 kB / 423.8 MB, free: 13.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.6411, allocations: 485 kB / 424.3 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.6426, allocations: 168 kB / 424.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.6504, allocations: 2.094 MB / 426.5 MB, free: 12.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/0.6523, allocations: 1.341 MB / 427.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/0.6536, allocations: 378 kB / 428.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6536, allocations: 0 / 428.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.128/3.782, allocations: 24.45 MB / 452.7 MB, free: 8.086 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat