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 2.046/2.046, allocations: 195 MB / 203.2 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.833e-05, allocations: 4 kB / 249.7 MB, free: 15.19 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3342, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.4921, allocations: 75.52 MB / 369.7 MB, free: 6.367 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.4925, allocations: 71.94 kB / 369.8 MB, free: 6.297 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07574/0.5682, allocations: 18.33 MB / 388.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.326e-06/0.5683, allocations: 0 / 388.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001303/0.5684, allocations: 35.98 kB / 388.1 MB, free: 3.805 MB / 330.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.004197/0.5726, allocations: 1.321 MB / 389.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.5727, allocations: 12.03 kB / 389.5 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004865/0.5732, allocations: 146.2 kB / 389.6 MB, free: 2.277 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.5754, allocations: 0.8573 MB / 390.5 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.846e-05/0.5755, allocations: 36 kB / 390.5 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.5758, allocations: 60 kB / 390.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003113/0.5789, allocations: 1.121 MB / 391.7 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003148/0.5821, allocations: 1.298 MB / 393 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.5821, allocations: 3.938 kB / 393 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000131/0.5823, allocations: 0 / 393 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.5823, allocations: 28 kB / 393 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01005/0.5924, allocations: 4.045 MB / 397.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.594, allocations: 1.267 MB / 398.3 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009428/0.595, allocations: 428.5 kB / 398.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.892e-05/0.595, allocations: 8.375 kB / 398.8 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.5951, allocations: 46.94 kB / 398.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of pre-optimization done (n=49): time 3.917e-06/0.5951, allocations: 0 / 398.8 MB, free: 8.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.003972/0.5991, allocations: 1.549 MB / 400.4 MB, free: 7.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.5992, allocations: 55.84 kB / 400.4 MB, free: 7 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.6006, allocations: 0.6751 MB / 401.1 MB, free: 6.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.6006, allocations: 25.7 kB / 401.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.6011, allocations: 0.5594 MB / 401.7 MB, free: 5.719 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.6013, allocations: 169.5 kB / 401.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/0.6014, allocations: 0 / 401.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.6016, allocations: 338.8 kB / 402.2 MB, free: 5.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.6022, allocations: 269 kB / 402.4 MB, free: 4.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.6029, allocations: 366.3 kB / 402.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.6036, allocations: 337.9 kB / 403.1 MB, free: 4.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.716e-06/0.6036, allocations: 4 kB / 403.1 MB, free: 4.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001863/0.6055, allocations: 0.7725 MB / 403.9 MB, free: 3.438 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.6055, allocations: 8.312 kB / 403.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.6056, allocations: 4 kB / 403.9 MB, free: 3.426 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004271/0.606, allocations: 104.8 kB / 404 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009583/0.607, allocations: 127.8 kB / 404.1 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003045/0.61, allocations: 2.091 MB / 406.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007178/0.6108, allocations: 19.97 kB / 406.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.905e-05/0.6108, allocations: 20.06 kB / 406.3 MB, free: 0.9492 MB / 346.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.0001906/0.6111, allocations: 116.7 kB / 406.4 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001499/0.6126, allocations: 0.6638 MB / 407 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.6127, allocations: 71.16 kB / 407.1 MB, free: 84 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.613, allocations: 86.64 kB / 407.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.613, allocations: 4 kB / 407.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.6131, allocations: 4 kB / 407.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.6131, allocations: 3.984 kB / 407.2 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004508/0.6176, allocations: 1.8 MB / 409 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.6177, allocations: 7.938 kB / 409 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.6184, allocations: 87.89 kB / 409.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003807/0.6188, allocations: 100.7 kB / 409.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.6188, allocations: 8 kB / 409.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/0.6217, allocations: 2.044 MB / 411.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.6218, allocations: 0 / 411.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.6242, allocations: 1.177 MB / 412.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.6247, allocations: 156.3 kB / 412.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000162/0.6249, allocations: 7.984 kB / 412.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007277/0.6256, allocations: 39.95 kB / 412.6 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.6258, allocations: 48.39 kB / 412.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.6259, allocations: 16 kB / 412.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001045/0.6269, allocations: 0.5189 MB / 413.2 MB, free: 9.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6269, allocations: 3.938 kB / 413.2 MB, free: 9.711 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001176/0.6281, allocations: 192 kB / 413.4 MB, free: 9.523 MB / 362.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.002894/0.631, allocations: 2.062 MB / 415.5 MB, free: 7.395 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001838/0.6329, allocations: 0.7397 MB / 416.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.633, allocations: 0 / 416.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00107/0.634, allocations: 458.9 kB / 416.7 MB, free: 6.184 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001378/0.6354, allocations: 143.8 kB / 416.8 MB, free: 6.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.6415, allocations: 2.041 MB / 418.8 MB, free: 3.938 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.643, allocations: 1.34 MB / 420.2 MB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008918/0.6439, allocations: 375.3 kB / 420.5 MB, free: 2.203 MB / 362.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6439, allocations: 0 / 420.5 MB, free: 2.203 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.159/3.803, allocations: 24.08 MB / 444.6 MB, free: 97.4 MB / 362.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