Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.56e-05, allocations: 7.984 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.5704, allocations: 82.14 MB / 442 MB, free: 14.67 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5707, allocations: 63.97 kB / 442.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.5869, allocations: 3.824 MB / 445.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5869, allocations: 0 / 445.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.587, allocations: 8 kB / 445.9 MB, free: 10.8 MB / 378.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.0009938/0.588, allocations: 490.3 kB / 446.4 MB, free: 10.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.588, allocations: 12.02 kB / 446.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.116e-05/0.5881, allocations: 54.55 kB / 446.4 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.154e-05/0.5882, allocations: 27.72 kB / 446.5 MB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.5887, allocations: 255 kB / 446.7 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.5887, allocations: 13.94 kB / 446.7 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.629e-05/0.5888, allocations: 24 kB / 446.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.5893, allocations: 179.3 kB / 446.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5893, allocations: 3.953 kB / 446.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.5894, allocations: 11.98 kB / 446.9 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5894, allocations: 4 kB / 446.9 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.5898, allocations: 121.8 kB / 447.1 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001923/0.5917, allocations: 0.8194 MB / 447.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.592, allocations: 94.55 kB / 448 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.5921, allocations: 40.86 kB / 448 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.5921, allocations: 4.188 kB / 448 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.5922, allocations: 34.5 kB / 448.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.204e-06/0.5922, allocations: 0 / 448.1 MB, free: 8.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002022/0.5942, allocations: 0.6421 MB / 448.7 MB, free: 7.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.5943, allocations: 55.34 kB / 448.7 MB, free: 7.676 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.5946, allocations: 191 kB / 448.9 MB, free: 7.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.5946, allocations: 25.7 kB / 449 MB, free: 7.449 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.5947, allocations: 175.8 kB / 449.1 MB, free: 7.273 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.118e-05/0.5948, allocations: 47.27 kB / 449.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/0.5948, allocations: 8.75 kB / 449.2 MB, free: 7.219 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.595, allocations: 330.8 kB / 449.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.5952, allocations: 47.28 kB / 449.6 MB, free: 6.844 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.5954, allocations: 97.08 kB / 449.6 MB, free: 6.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.5956, allocations: 66.05 kB / 449.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5956, allocations: 0 / 449.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006996/0.5963, allocations: 259 kB / 450 MB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.5963, allocations: 8 kB / 450 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5963, allocations: 1.125 kB / 450 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003427/0.5967, allocations: 69.62 kB / 450 MB, free: 6.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.597, allocations: 35.97 kB / 450.1 MB, free: 6.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002972/0.6, allocations: 2.812 MB / 452.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.6003, allocations: 12.03 kB / 452.9 MB, free: 3.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.6003, allocations: 7.984 kB / 452.9 MB, free: 3.18 MB / 378.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.0001303/0.6005, allocations: 127.8 kB / 453 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/0.6005, allocations: 19.81 kB / 453.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.626e-05/0.6006, allocations: 17.66 kB / 453.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.6006, allocations: 3.953 kB / 453.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6007, allocations: 7.984 kB / 453.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6007, allocations: 0 / 453.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004285/0.6011, allocations: 278.4 kB / 453.4 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6011, allocations: 0 / 453.4 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.6013, allocations: 23.98 kB / 453.4 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003127/0.6016, allocations: 65.67 kB / 453.4 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.048e-05/0.6017, allocations: 4 kB / 453.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.6045, allocations: 2.802 MB / 456.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.6046, allocations: 0 / 456.2 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000793/0.6054, allocations: 361.8 kB / 456.6 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.472e-05/0.6055, allocations: 97.06 kB / 456.7 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.339e-05/0.6056, allocations: 8.75 kB / 456.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.6059, allocations: 15.98 kB / 456.7 MB, free: 15.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.606, allocations: 23.91 kB / 456.7 MB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.606, allocations: 8.172 kB / 456.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002031/0.6062, allocations: 145.6 kB / 456.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6062, allocations: 7.938 kB / 456.9 MB, free: 14.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004985/0.6067, allocations: 64 kB / 457 MB, free: 14.77 MB / 394.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.001143/0.6079, allocations: 0.8915 MB / 457.9 MB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.6087, allocations: 387 kB / 458.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.6088, allocations: 0 / 458.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.6093, allocations: 318.7 kB / 458.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.6097, allocations: 30.02 kB / 458.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.6111, allocations: 395.1 kB / 459 MB, free: 12.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004128/0.6115, allocations: 0.7557 MB / 459.7 MB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.6117, allocations: 22.06 kB / 459.7 MB, free: 11.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.6118, allocations: 71.34 kB / 459.8 MB, free: 11.78 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6118, allocations: 3.938 kB / 459.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.6426, allocations: 4.389 MB / 464.2 MB, free: 7.473 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002138/0.6428, allocations: 175.5 kB / 464.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.158, allocations: 0 / 464.4 MB, free: 7.242 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat