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.251/2.251, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.724e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.388, allocations: 54.86 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1476/0.5356, allocations: 82.15 MB / 442 MB, free: 14.77 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5359, allocations: 67.95 kB / 442.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01736/0.5533, allocations: 3.824 MB / 445.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5533, allocations: 0 / 445.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.33e-05/0.5534, allocations: 11.98 kB / 445.9 MB, free: 10.89 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.0009288/0.5543, allocations: 490.3 kB / 446.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.5544, allocations: 12.03 kB / 446.4 MB, free: 10.35 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.117e-05/0.5545, allocations: 54.55 kB / 446.5 MB, free: 10.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.5546, allocations: 31.66 kB / 446.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.555, allocations: 243 kB / 446.7 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.555, allocations: 16.44 kB / 446.8 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.344e-05/0.5551, allocations: 20 kB / 446.8 MB, free: 9.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.5556, allocations: 178.5 kB / 446.9 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.5556, allocations: 3.953 kB / 447 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.496e-05/0.5557, allocations: 8 kB / 447 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.5557, allocations: 8 kB / 447 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003703/0.5561, allocations: 120.9 kB / 447.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.5581, allocations: 0.8233 MB / 447.9 MB, free: 8.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.5584, allocations: 90.56 kB / 448 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.5585, allocations: 37.05 kB / 448 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.191e-05/0.5586, allocations: 7.938 kB / 448 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.5586, allocations: 34.56 kB / 448.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.596e-06/0.5586, allocations: 0 / 448.1 MB, free: 8.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.002196/0.5608, allocations: 0.6389 MB / 448.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5609, allocations: 52.34 kB / 448.8 MB, free: 7.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002919/0.5612, allocations: 191 kB / 449 MB, free: 7.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.5613, allocations: 33.64 kB / 449 MB, free: 7.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5614, allocations: 171.8 kB / 449.2 MB, free: 7.375 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.371e-05/0.5615, allocations: 47.27 kB / 449.2 MB, free: 7.328 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/0.5615, allocations: 8 kB / 449.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5617, allocations: 330.8 kB / 449.5 MB, free: 6.988 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.5618, allocations: 51.28 kB / 449.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.562, allocations: 93.14 kB / 449.7 MB, free: 6.832 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.5622, allocations: 57.7 kB / 449.7 MB, free: 6.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.5623, allocations: 4.562 kB / 449.7 MB, free: 6.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007678/0.563, allocations: 262.2 kB / 450 MB, free: 6.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5631, allocations: 4 kB / 450 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.5631, allocations: 0 / 450 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003747/0.5635, allocations: 65.69 kB / 450.1 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.5638, allocations: 39.91 kB / 450.1 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/0.5669, allocations: 2.806 MB / 452.9 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.5673, allocations: 16.02 kB / 452.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.5673, allocations: 12 kB / 452.9 MB, free: 3.289 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.0001232/0.5675, allocations: 113 kB / 453 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.268e-05/0.5675, allocations: 19.81 kB / 453.1 MB, free: 3.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.294e-05/0.5676, allocations: 25.64 kB / 453.1 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.5676, allocations: 3.953 kB / 453.1 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.5677, allocations: 4 kB / 453.1 MB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5677, allocations: 4.078 kB / 453.1 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/0.5681, allocations: 281.5 kB / 453.4 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5682, allocations: 4 kB / 453.4 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001867/0.5684, allocations: 28.16 kB / 453.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003409/0.5687, allocations: 65.69 kB / 453.5 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5687, allocations: 0 / 453.5 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002949/0.5717, allocations: 2.785 MB / 456.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5718, allocations: 0 / 456.3 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000806/0.5726, allocations: 374.5 kB / 456.6 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.16e-05/0.5727, allocations: 94.06 kB / 456.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.5727, allocations: 8 kB / 456.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.5731, allocations: 23.92 kB / 456.7 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.601e-05/0.5732, allocations: 19.97 kB / 456.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.5732, allocations: 8.172 kB / 456.8 MB, free: 15.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001986/0.5734, allocations: 149.6 kB / 456.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5734, allocations: 3.938 kB / 456.9 MB, free: 14.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005421/0.574, allocations: 64 kB / 457 MB, free: 14.88 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.001096/0.5751, allocations: 0.8928 MB / 457.9 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007704/0.5759, allocations: 368.6 kB / 458.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5759, allocations: 0.5625 kB / 458.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005771/0.5765, allocations: 307.8 kB / 458.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.5768, allocations: 21.41 kB / 458.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5782, allocations: 394.9 kB / 458.9 MB, free: 12.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.5786, allocations: 0.7557 MB / 459.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.5788, allocations: 18.08 kB / 459.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5789, allocations: 67.41 kB / 459.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5789, allocations: 3.938 kB / 459.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.6102, allocations: 4.363 MB / 464.1 MB, free: 7.664 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003675/0.6106, allocations: 174.1 kB / 464.3 MB, free: 7.434 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.344/2.955, allocations: 0 / 464.3 MB, free: 7.434 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