Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.439/2.439, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.715e-05, allocations: 2.656 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3985, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.56, allocations: 86.98 MB / 469.3 MB, free: 5.422 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5604, allocations: 63.97 kB / 469.3 MB, free: 5.359 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01822/0.5786, allocations: 3.845 MB / 473.2 MB, free: 1.492 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.993e-06/0.5787, allocations: 0 / 473.2 MB, free: 1.492 MB / 394.8 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.5787, allocations: 8 kB / 473.2 MB, free: 1.484 MB / 394.8 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.001053/0.5798, allocations: 494.2 kB / 473.7 MB, free: 0.957 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.985e-05/0.5798, allocations: 8.031 kB / 473.7 MB, free: 0.9492 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.773e-05/0.58, allocations: 58.55 kB / 473.7 MB, free: 0.8828 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/0.5801, allocations: 31.61 kB / 473.8 MB, free: 0.8516 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005077/0.5806, allocations: 251 kB / 474 MB, free: 0.5664 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.5806, allocations: 12.66 kB / 474 MB, free: 0.5547 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.062e-05/0.5807, allocations: 24 kB / 474 MB, free: 0.5312 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.5812, allocations: 178.4 kB / 474.2 MB, free: 356 kB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.5813, allocations: 0 / 474.2 MB, free: 356 kB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.5813, allocations: 8 kB / 474.2 MB, free: 348 kB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.101e-05/0.5813, allocations: 4 kB / 474.2 MB, free: 344 kB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.5817, allocations: 128.9 kB / 474.4 MB, free: 216 kB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002139/0.5839, allocations: 0.8194 MB / 475.2 MB, free: 15.32 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.5842, allocations: 90.55 kB / 475.3 MB, free: 15.22 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.5843, allocations: 45.05 kB / 475.3 MB, free: 15.17 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.5844, allocations: 3.938 kB / 475.3 MB, free: 15.17 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.683e-05/0.5844, allocations: 42.56 kB / 475.4 MB, free: 15.12 MB / 410.8 MB Notification: Performance of pre-optimization done (n=10): time 2.855e-06/0.5844, allocations: 3.938 kB / 475.4 MB, free: 15.11 MB / 410.8 MB Notification: Performance of matching and sorting (n=16): time 0.002261/0.5867, allocations: 0.6267 MB / 476 MB, free: 14.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.5868, allocations: 55.41 kB / 476 MB, free: 14.36 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/0.5871, allocations: 191 kB / 476.2 MB, free: 14.17 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.5872, allocations: 33.64 kB / 476.3 MB, free: 14.13 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.5873, allocations: 163.8 kB / 476.4 MB, free: 13.96 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.386e-05/0.5874, allocations: 63.17 kB / 476.5 MB, free: 13.9 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.5875, allocations: 4 kB / 476.5 MB, free: 13.9 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5876, allocations: 330.8 kB / 476.8 MB, free: 13.57 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.5878, allocations: 49.53 kB / 476.9 MB, free: 13.52 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.588, allocations: 93.14 kB / 477 MB, free: 13.41 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.5882, allocations: 62.73 kB / 477 MB, free: 13.35 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.5883, allocations: 4 kB / 477 MB, free: 13.35 MB / 410.8 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000819/0.5891, allocations: 254.9 kB / 477.3 MB, free: 13.09 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.5891, allocations: 8 kB / 477.3 MB, free: 13.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.5892, allocations: 0 / 477.3 MB, free: 13.08 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.5896, allocations: 73.83 kB / 477.3 MB, free: 13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003221/0.5899, allocations: 31.92 kB / 477.4 MB, free: 12.97 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003274/0.5932, allocations: 2.808 MB / 480.2 MB, free: 9.887 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.5935, allocations: 12 kB / 480.2 MB, free: 9.875 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.5936, allocations: 7.953 kB / 480.2 MB, free: 9.867 MB / 410.8 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.0001524/0.5938, allocations: 113 kB / 480.3 MB, free: 9.75 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/0.5938, allocations: 15.81 kB / 480.3 MB, free: 9.734 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.367e-05/0.5939, allocations: 25.64 kB / 480.4 MB, free: 9.711 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5939, allocations: 8.062 kB / 480.4 MB, free: 9.703 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.594, allocations: 3.938 kB / 480.4 MB, free: 9.699 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.594, allocations: 3.938 kB / 480.4 MB, free: 9.695 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005026/0.5945, allocations: 289.5 kB / 480.7 MB, free: 9.363 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.5945, allocations: 0 / 480.7 MB, free: 9.363 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002208/0.5947, allocations: 19.98 kB / 480.7 MB, free: 9.344 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003817/0.5951, allocations: 65.67 kB / 480.7 MB, free: 9.273 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.5952, allocations: 8 kB / 480.7 MB, free: 9.266 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003436/0.5986, allocations: 2.785 MB / 483.5 MB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5987, allocations: 0 / 483.5 MB, free: 6.211 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.5997, allocations: 371.2 kB / 483.9 MB, free: 5.828 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.5998, allocations: 92.92 kB / 484 MB, free: 5.719 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/0.5999, allocations: 3.938 kB / 484 MB, free: 5.715 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.6002, allocations: 27.98 kB / 484 MB, free: 5.688 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.374e-05/0.6003, allocations: 15.97 kB / 484 MB, free: 5.672 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.6004, allocations: 8 kB / 484 MB, free: 5.664 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0002315/0.6006, allocations: 149.5 kB / 484.2 MB, free: 5.52 MB / 410.8 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6006, allocations: 4 kB / 484.2 MB, free: 5.516 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000576/0.6012, allocations: 64 kB / 484.2 MB, free: 5.453 MB / 410.8 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.001326/0.6026, allocations: 0.8974 MB / 485.1 MB, free: 4.523 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0009048/0.6035, allocations: 376.5 kB / 485.5 MB, free: 4.141 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6035, allocations: 0 / 485.5 MB, free: 4.141 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0006214/0.6042, allocations: 299.4 kB / 485.8 MB, free: 3.828 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004354/0.6046, allocations: 27.77 kB / 485.8 MB, free: 3.801 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.6062, allocations: 398.2 kB / 486.2 MB, free: 3.375 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.6067, allocations: 0.7557 MB / 487 MB, free: 2.59 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0001913/0.607, allocations: 18.06 kB / 487 MB, free: 2.57 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.6071, allocations: 75.41 kB / 487.1 MB, free: 2.5 MB / 410.8 MB Notification: Performance of SimCode: time 1.623e-06/0.6071, allocations: 0 / 487.1 MB, free: 2.5 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.642, allocations: 4.353 MB / 491.4 MB, free: 14.23 MB / 426.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002603/0.6423, allocations: 174 kB / 491.6 MB, free: 14 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.62/3.262, allocations: 0 / 491.6 MB, free: 14 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat