Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.595/1.595, allocations: 171.3 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.985e-05, allocations: 4 kB / 219.6 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2687, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.3914, allocations: 70.32 MB / 328.6 MB, free: 7.52 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.3917, allocations: 63.97 kB / 328.7 MB, free: 7.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09308/0.4848, allocations: 18.65 MB / 347.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4849, allocations: 0 / 347.4 MB, free: 4.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001034/0.485, allocations: 35.94 kB / 347.4 MB, free: 4.633 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.003699/0.4887, allocations: 1.325 MB / 348.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.4888, allocations: 8.031 kB / 348.7 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.4891, allocations: 142.3 kB / 348.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.4913, allocations: 0.853 MB / 349.7 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/0.4914, allocations: 36.34 kB / 349.8 MB, free: 2.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.4916, allocations: 67.95 kB / 349.8 MB, free: 2.113 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002884/0.4945, allocations: 1.113 MB / 350.9 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003133/0.4976, allocations: 1.301 MB / 352.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.4977, allocations: 0 / 352.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.4978, allocations: 0 / 352.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.4979, allocations: 32 kB / 352.3 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009825/0.5077, allocations: 4.053 MB / 356.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.5093, allocations: 1.271 MB / 357.6 MB, free: 9.992 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009541/0.5103, allocations: 434.7 kB / 358 MB, free: 9.562 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.932e-05/0.5103, allocations: 8.438 kB / 358 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5104, allocations: 42.94 kB / 358.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 2.996e-06/0.5104, allocations: 0 / 358.1 MB, free: 9.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.003677/0.5141, allocations: 1.552 MB / 359.6 MB, free: 7.887 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5141, allocations: 59.84 kB / 359.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.5155, allocations: 0.683 MB / 360.4 MB, free: 7.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.5155, allocations: 25.7 kB / 360.4 MB, free: 7.094 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.516, allocations: 0.5556 MB / 360.9 MB, free: 6.531 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.5162, allocations: 169.5 kB / 361.1 MB, free: 6.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.5163, allocations: 0 / 361.1 MB, free: 6.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.5164, allocations: 338.8 kB / 361.4 MB, free: 6.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005833/0.517, allocations: 269 kB / 361.7 MB, free: 5.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006984/0.5177, allocations: 370.3 kB / 362.1 MB, free: 5.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007224/0.5185, allocations: 337.9 kB / 362.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5185, allocations: 0 / 362.4 MB, free: 5.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001783/0.5203, allocations: 0.7804 MB / 363.2 MB, free: 4.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5203, allocations: 4 kB / 363.2 MB, free: 4.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.5203, allocations: 4 kB / 363.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004067/0.5208, allocations: 108.8 kB / 363.3 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009586/0.5217, allocations: 127.9 kB / 363.4 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002994/0.5247, allocations: 2.087 MB / 365.5 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006402/0.5254, allocations: 19.97 kB / 365.5 MB, free: 1.781 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.5255, allocations: 16 kB / 365.5 MB, free: 1.766 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.0002033/0.5257, allocations: 121.2 kB / 365.6 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001474/0.5272, allocations: 0.6558 MB / 366.3 MB, free: 0.9766 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.5273, allocations: 79.09 kB / 366.4 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.5276, allocations: 82.86 kB / 366.5 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.5276, allocations: 4 kB / 366.5 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5276, allocations: 4 kB / 366.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.5276, allocations: 3.984 kB / 366.5 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2111/0.7387, allocations: 1.794 MB / 368.3 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.7388, allocations: 1.156 kB / 368.3 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000728/0.7395, allocations: 91 kB / 368.4 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005021/0.74, allocations: 102.3 kB / 368.5 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.526e-05/0.7401, allocations: 9.203 kB / 368.5 MB, free: 86.47 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/0.7426, allocations: 2.041 MB / 370.5 MB, free: 85.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.7426, allocations: 1.375 kB / 370.5 MB, free: 85.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002054/0.7447, allocations: 1.162 MB / 371.7 MB, free: 84.96 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.7451, allocations: 225.2 kB / 371.9 MB, free: 84.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/0.7453, allocations: 10.94 kB / 371.9 MB, free: 84.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.746, allocations: 42.67 kB / 371.9 MB, free: 84.86 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.7462, allocations: 41.42 kB / 372 MB, free: 84.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.7463, allocations: 19.2 kB / 372 MB, free: 84.86 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000931/0.7472, allocations: 0.5251 MB / 372.5 MB, free: 84.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.7472, allocations: 0 / 372.5 MB, free: 84.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001077/0.7483, allocations: 191.5 kB / 372.7 MB, free: 84.76 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.002287/0.7506, allocations: 2.069 MB / 374.8 MB, free: 83.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.7521, allocations: 0.7438 MB / 375.5 MB, free: 83.51 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7521, allocations: 0 / 375.5 MB, free: 83.51 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008547/0.753, allocations: 459.4 kB / 376 MB, free: 83.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.7542, allocations: 140.5 kB / 376.1 MB, free: 83.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/0.7586, allocations: 2.035 MB / 378.1 MB, free: 82.91 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009068/0.7595, allocations: 1.341 MB / 379.5 MB, free: 82.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006671/0.7602, allocations: 379.4 kB / 379.9 MB, free: 82.2 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7602, allocations: 0 / 379.9 MB, free: 82.2 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.934/3.694, allocations: 24.08 MB / 403.9 MB, free: 67.81 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat