Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.749e-05, allocations: 3.938 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1334, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5012/0.6346, allocations: 88.66 MB / 499 MB, free: 15.42 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.6349, allocations: 63.97 kB / 499.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01752/0.6524, allocations: 4.009 MB / 0.4913 GB, free: 11.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6525, allocations: 0 / 0.4913 GB, free: 11.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.6525, allocations: 4 kB / 0.4913 GB, free: 11.34 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009745/0.6535, allocations: 0.4904 MB / 0.4918 GB, free: 10.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.6535, allocations: 8.031 kB / 0.4918 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.397e-05/0.6536, allocations: 58.53 kB / 0.4918 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.606e-05/0.6537, allocations: 23.72 kB / 0.4919 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.6542, allocations: 254.5 kB / 0.4921 GB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.6542, allocations: 23.17 kB / 0.4921 GB, free: 10.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.6543, allocations: 19.91 kB / 0.4921 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005275/0.6548, allocations: 178.5 kB / 0.4923 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.6549, allocations: 0 / 0.4923 GB, free: 10.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.818e-05/0.6549, allocations: 12 kB / 0.4923 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.6549, allocations: 4 kB / 0.4923 GB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.6553, allocations: 128.8 kB / 0.4924 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002019/0.6574, allocations: 0.8181 MB / 0.4932 GB, free: 9.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002403/0.6576, allocations: 90.53 kB / 0.4933 GB, free: 9.062 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.6578, allocations: 44.84 kB / 0.4934 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.6578, allocations: 0 / 0.4934 GB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.6579, allocations: 42.69 kB / 0.4934 GB, free: 8.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.6579, allocations: 4 kB / 0.4934 GB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.00217/0.6601, allocations: 0.6238 MB / 0.494 GB, free: 8.277 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.6601, allocations: 51.41 kB / 0.4941 GB, free: 8.215 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002843/0.6604, allocations: 187 kB / 0.4943 GB, free: 8.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.6605, allocations: 33.7 kB / 0.4943 GB, free: 7.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.6606, allocations: 167.8 kB / 0.4945 GB, free: 7.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.6607, allocations: 59.19 kB / 0.4945 GB, free: 7.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.6607, allocations: 4 kB / 0.4945 GB, free: 7.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.6609, allocations: 326.8 kB / 0.4948 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.6611, allocations: 51.94 kB / 0.4949 GB, free: 7.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.6613, allocations: 93.14 kB / 0.495 GB, free: 7.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001957/0.6615, allocations: 67.92 kB / 0.495 GB, free: 7.195 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6615, allocations: 224 / 0.495 GB, free: 7.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007279/0.6622, allocations: 257.9 kB / 0.4953 GB, free: 6.934 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.6623, allocations: 11.94 kB / 0.4953 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.6623, allocations: 0 / 0.4953 GB, free: 6.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/0.6627, allocations: 69.67 kB / 0.4954 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003361/0.663, allocations: 27.98 kB / 0.4954 GB, free: 6.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.6662, allocations: 2.804 MB / 0.4981 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.6665, allocations: 8 kB / 0.4981 GB, free: 3.738 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.6665, allocations: 12 kB / 0.4981 GB, free: 3.727 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.6667, allocations: 113 kB / 0.4982 GB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.322e-05/0.6668, allocations: 27.66 kB / 0.4983 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.6669, allocations: 21.66 kB / 0.4983 GB, free: 3.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.6669, allocations: 4.375 kB / 0.4983 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6669, allocations: 0 / 0.4983 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.6669, allocations: 0 / 0.4983 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.6674, allocations: 285.5 kB / 0.4986 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.6674, allocations: 3.938 kB / 0.4986 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.6676, allocations: 31.88 kB / 0.4986 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003252/0.6679, allocations: 69.67 kB / 0.4987 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.668, allocations: 0 / 0.4987 GB, free: 3.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.671, allocations: 2.789 MB / 0.5014 GB, free: 60 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.671, allocations: 3.984 kB / 0.5014 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008494/0.6719, allocations: 364.4 kB / 0.5017 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.366e-05/0.672, allocations: 96.94 kB / 0.5018 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.672, allocations: 7.953 kB / 0.5018 GB, free: 15.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003272/0.6724, allocations: 15.98 kB / 0.5019 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.6725, allocations: 19.92 kB / 0.5019 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.6725, allocations: 4 kB / 0.5019 GB, free: 15.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002132/0.6727, allocations: 153.6 kB / 0.502 GB, free: 15.37 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6727, allocations: 0 / 0.502 GB, free: 15.37 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005565/0.6733, allocations: 68 kB / 0.5021 GB, free: 15.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 5,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001176/0.6745, allocations: 0.8976 MB / 0.503 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000823/0.6753, allocations: 359.3 kB / 0.5033 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6754, allocations: 0 / 0.5033 GB, free: 14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005825/0.676, allocations: 311.7 kB / 0.5036 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.6764, allocations: 31.88 kB / 0.5036 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.6778, allocations: 398.1 kB / 0.504 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.6782, allocations: 0.7596 MB / 0.5048 GB, free: 12.44 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.6784, allocations: 22.06 kB / 0.5048 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.6785, allocations: 63.42 kB / 0.5048 GB, free: 12.36 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6785, allocations: 0 / 0.5048 GB, free: 12.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03373/0.7123, allocations: 4.357 MB / 0.5091 GB, free: 8.094 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003057/0.7126, allocations: 178.6 kB / 0.5093 GB, free: 7.859 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.503/3.216, allocations: 0 / 0.5093 GB, free: 7.859 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat