Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.053/2.053, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.632e-05/2.632e-05, allocations: 3.422 kB / 249.8 MB, free: 5.289 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09584/0.0959, allocations: 44.5 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5101/0.6061, allocations: 80.38 MB / 374.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.6064, allocations: 81.88 kB / 374.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1085/0.7149, allocations: 28.38 MB / 403.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.715, allocations: 3.938 kB / 403.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.094e-05/0.715, allocations: 15.03 kB / 403.2 MB, free: 12.39 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.004029/0.7191, allocations: 1.065 MB / 404.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.7192, allocations: 7.688 kB / 404.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008063/0.7272, allocations: 0.7065 MB / 404.9 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.7284, allocations: 443.7 kB / 405.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.002e-05/0.7285, allocations: 38.91 kB / 405.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002334/0.7287, allocations: 65.98 kB / 405.5 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002945/0.7317, allocations: 1.016 MB / 406.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.7343, allocations: 0.8844 MB / 407.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.094e-05/0.7344, allocations: 3.938 kB / 407.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.7346, allocations: 0 / 407.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.7346, allocations: 31.11 kB / 407.4 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01/0.7446, allocations: 3.882 MB / 411.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005268/0.7499, allocations: 3.705 MB / 415 MB, free: 4.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.7508, allocations: 270.9 kB / 415.3 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.751, allocations: 104 kB / 415.4 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.7511, allocations: 44.25 kB / 415.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=71): time 4.308e-06/0.7511, allocations: 0 / 415.4 MB, free: 4.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=71): time 0.00244/0.7535, allocations: 0.5921 MB / 416 MB, free: 3.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.7537, allocations: 111.4 kB / 416.1 MB, free: 3.531 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004673/0.7541, allocations: 260.2 kB / 416.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.821e-05/0.7542, allocations: 29.7 kB / 416.4 MB, free: 3.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/0.7546, allocations: 439.2 kB / 416.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/0.755, allocations: 243.4 kB / 417.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.7551, allocations: 0 / 417.1 MB, free: 2.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7553, allocations: 348.5 kB / 417.4 MB, free: 2.348 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006231/0.7559, allocations: 206 kB / 417.6 MB, free: 2.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000902/0.7569, allocations: 0.5052 MB / 418.1 MB, free: 1.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002052/0.7589, allocations: 448.1 kB / 418.5 MB, free: 1.121 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-05/0.759, allocations: 4 kB / 418.5 MB, free: 1.117 MB / 314.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.003562/0.7626, allocations: 0.8904 MB / 419.4 MB, free: 224 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.7627, allocations: 14.19 kB / 419.4 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.234e-05/0.7627, allocations: 8 kB / 419.5 MB, free: 204 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.856e-05/0.7628, allocations: 20 kB / 419.5 MB, free: 184 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.7657, allocations: 232.1 kB / 419.7 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-05/0.7658, allocations: 31.86 kB / 419.7 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001807/0.7676, allocations: 86.97 kB / 419.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/0.7681, allocations: 47.98 kB / 419.9 MB, free: 15.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.000517/0.7686, allocations: 136.4 kB / 420 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004102/0.7727, allocations: 0.5882 MB / 420.6 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003399/0.7732, allocations: 47.47 kB / 420.6 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003489/0.7767, allocations: 0.7116 MB / 421.3 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/0.7767, allocations: 11.95 kB / 421.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.7768, allocations: 0 / 421.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.839e-05/0.7768, allocations: 3.984 kB / 421.4 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004808/0.7816, allocations: 1.484 MB / 422.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.558e-06/0.7817, allocations: 0 / 422.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.7831, allocations: 155.7 kB / 423 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.7831, allocations: 4 kB / 423 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.492e-05/0.7832, allocations: 4 kB / 423 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.041e-05/0.7832, allocations: 4 kB / 423 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/0.7832, allocations: 3.938 kB / 423 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.7865, allocations: 1.189 MB / 424.2 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002571/0.7868, allocations: 132.5 kB / 424.3 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.787, allocations: 3.953 kB / 424.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007317/0.7877, allocations: 19.98 kB / 424.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/0.7879, allocations: 44.72 kB / 424.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.788, allocations: 20 kB / 424.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003044/0.7883, allocations: 182 kB / 424.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.7883, allocations: 4.062 kB / 424.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001484/0.7898, allocations: 223 kB / 424.8 MB, free: 10.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.004077/0.7939, allocations: 1.906 MB / 426.7 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.7957, allocations: 0.5908 MB / 427.3 MB, free: 8.199 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.7957, allocations: 10.62 kB / 427.3 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.7965, allocations: 282.8 kB / 427.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006357/0.7971, allocations: 20.27 kB / 427.6 MB, free: 7.895 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007075/0.8042, allocations: 1.557 MB / 429.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007458/0.805, allocations: 0.94 MB / 430.1 MB, free: 5.344 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008332/0.8059, allocations: 88.84 kB / 430.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/0.8066, allocations: 287.3 kB / 430.5 MB, free: 4.973 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.8066, allocations: 0 / 430.5 MB, free: 4.973 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0668/0.8734, allocations: 8.934 MB / 439.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003637/0.8739, allocations: 172.6 kB / 439.6 MB, free: 11.84 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.012/3.886, allocations: 0 / 439.6 MB, free: 11.84 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat