Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.917/1.917, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.543e-05/2.56e-05, allocations: 0 / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 48.71 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4028/0.5108, allocations: 75.46 MB / 391.8 MB, free: 1 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5111, allocations: 72.05 kB / 391.9 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01626/0.5273, allocations: 3.84 MB / 395.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5274, allocations: 0 / 395.7 MB, free: 13.72 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.227e-05/0.5274, allocations: 4 kB / 395.7 MB, free: 13.72 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009145/0.5283, allocations: 498.7 kB / 396.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5284, allocations: 12.03 kB / 396.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.57e-05/0.5285, allocations: 23.72 kB / 396.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000431/0.5289, allocations: 259.5 kB / 396.5 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.529, allocations: 8 kB / 396.5 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.529, allocations: 12 kB / 396.5 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003418/0.5294, allocations: 112.6 kB / 396.6 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.5298, allocations: 147.5 kB / 396.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.5298, allocations: 0.9844 kB / 396.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.862e-05/0.5299, allocations: 0 / 396.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.5299, allocations: 8 kB / 396.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001831/0.5317, allocations: 0.7671 MB / 397.5 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.532, allocations: 89.81 kB / 397.6 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.5321, allocations: 37.67 kB / 397.6 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.5321, allocations: 4 kB / 397.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.5321, allocations: 34.69 kB / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.657e-06/0.5322, allocations: 0 / 397.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001913/0.5341, allocations: 0.6058 MB / 398.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5341, allocations: 51.41 kB / 398.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.5344, allocations: 185 kB / 398.5 MB, free: 11.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.247e-05/0.5345, allocations: 25.7 kB / 398.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.5346, allocations: 167 kB / 398.7 MB, free: 10.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.5347, allocations: 55.08 kB / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.5347, allocations: 0 / 398.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5349, allocations: 326.3 kB / 399.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.535, allocations: 54.42 kB / 399.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5352, allocations: 91.36 kB / 399.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.5354, allocations: 62.03 kB / 399.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5354, allocations: 0 / 399.3 MB, free: 10.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006508/0.5361, allocations: 237 kB / 399.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.5361, allocations: 6.344 kB / 399.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5361, allocations: 8 kB / 399.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003346/0.5365, allocations: 67.42 kB / 399.6 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.5368, allocations: 27.98 kB / 399.6 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.5398, allocations: 2.686 MB / 402.3 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.5401, allocations: 10.53 kB / 402.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.5401, allocations: 12.06 kB / 402.3 MB, free: 7.27 MB / 330.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.0001261/0.5403, allocations: 101 kB / 402.4 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005154/0.5408, allocations: 198.8 kB / 402.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.5409, allocations: 23.77 kB / 402.6 MB, free: 6.973 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.5409, allocations: 24.64 kB / 402.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5409, allocations: 4 kB / 402.7 MB, free: 6.953 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.541, allocations: 4 kB / 402.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.541, allocations: 0 / 402.7 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003694/0.5414, allocations: 241.9 kB / 402.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5414, allocations: 384 / 402.9 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.5415, allocations: 15.98 kB / 402.9 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000299/0.5419, allocations: 68.45 kB / 403 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.5419, allocations: 7.938 kB / 403 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/0.5446, allocations: 2.676 MB / 405.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5446, allocations: 0 / 405.7 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.5453, allocations: 340 kB / 406 MB, free: 3.617 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.5455, allocations: 107.7 kB / 406.1 MB, free: 3.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.5456, allocations: 3.938 kB / 406.1 MB, free: 3.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/0.5459, allocations: 15.98 kB / 406.1 MB, free: 3.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.546, allocations: 31.86 kB / 406.2 MB, free: 3.453 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.177e-05/0.546, allocations: 4.141 kB / 406.2 MB, free: 3.449 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001713/0.5462, allocations: 134 kB / 406.3 MB, free: 3.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5462, allocations: 0 / 406.3 MB, free: 3.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005563/0.5468, allocations: 56 kB / 406.4 MB, free: 3.285 MB / 330.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.001108/0.5479, allocations: 0.8822 MB / 407.2 MB, free: 2.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000795/0.5487, allocations: 360.2 kB / 407.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5487, allocations: 4.125 kB / 407.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005265/0.5493, allocations: 290.5 kB / 407.9 MB, free: 1.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.5496, allocations: 15.17 kB / 407.9 MB, free: 1.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.551, allocations: 384.3 kB / 408.3 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5514, allocations: 0.7594 MB / 409 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001565/0.5516, allocations: 17.8 kB / 409 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001305/0.5517, allocations: 67.47 kB / 409.1 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5518, allocations: 0 / 409.1 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/0.5951, allocations: 3.74 MB / 412.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/0.5954, allocations: 132.4 kB / 413 MB, free: 12.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.865, allocations: 7.938 kB / 413 MB, free: 12.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Electrical.SingularTransfomer_res.mat does not exist to compare? outputFormat=mat