Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.192e-05, allocations: 4 kB / 255.5 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1218, allocations: 44.51 MB / 300 MB, free: 6.082 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4137/0.5355, allocations: 74.63 MB / 374.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.5358, allocations: 68.81 kB / 374.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04295/0.5788, allocations: 7.997 MB / 382.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5788, allocations: 1.344 kB / 382.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.518e-05/0.5789, allocations: 10 kB / 382.7 MB, free: 11.57 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002565/0.5815, allocations: 0.7186 MB / 383.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.542e-05/0.5816, allocations: 9.219 kB / 383.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003117/0.5819, allocations: 101 kB / 383.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002922/0.5822, allocations: 77.78 kB / 383.6 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.5833, allocations: 364.6 kB / 383.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/0.5834, allocations: 41.44 kB / 384 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.5836, allocations: 51.25 kB / 384 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.5854, allocations: 474.4 kB / 384.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.209e-05/0.5854, allocations: 1.375 kB / 384.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.5856, allocations: 22.81 kB / 384.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.5856, allocations: 16.33 kB / 384.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.587, allocations: 315.2 kB / 384.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006545/0.5936, allocations: 1.745 MB / 386.6 MB, free: 9.855 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.5945, allocations: 252.7 kB / 386.8 MB, free: 9.801 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.5951, allocations: 130 kB / 386.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.5951, allocations: 4.531 kB / 386.9 MB, free: 9.785 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.5952, allocations: 44 kB / 387 MB, free: 9.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 4.458e-06/0.5952, allocations: 0 / 387 MB, free: 9.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002924/0.5982, allocations: 0.761 MB / 387.8 MB, free: 9.305 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.5983, allocations: 87.59 kB / 387.8 MB, free: 9.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.599, allocations: 328.7 kB / 388.2 MB, free: 9.105 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.496e-05/0.5991, allocations: 28.89 kB / 388.2 MB, free: 9.074 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5994, allocations: 305 kB / 388.5 MB, free: 8.891 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.5996, allocations: 112.8 kB / 388.6 MB, free: 8.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.5996, allocations: 3.531 kB / 388.6 MB, free: 8.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.5998, allocations: 353.7 kB / 388.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003901/0.6002, allocations: 91.91 kB / 389 MB, free: 8.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.6006, allocations: 182.1 kB / 389.2 MB, free: 8.395 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004726/0.6011, allocations: 111.5 kB / 389.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.6012, allocations: 3.953 kB / 389.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001749/0.6029, allocations: 421.3 kB / 389.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.603, allocations: 7.562 kB / 389.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.603, allocations: 2.594 kB / 389.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007416/0.6038, allocations: 84.84 kB / 389.8 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/0.6048, allocations: 84.48 kB / 389.9 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003837/0.6086, allocations: 2.841 MB / 392.8 MB, free: 5.637 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000913/0.6096, allocations: 28.75 kB / 392.8 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.6097, allocations: 18.97 kB / 392.8 MB, free: 5.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003985/0.6101, allocations: 120.4 kB / 392.9 MB, free: 21.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.6103, allocations: 46.86 kB / 393 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.6105, allocations: 44.2 kB / 393 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.6106, allocations: 3.906 kB / 393 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.64e-05/0.6106, allocations: 3.906 kB / 393 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.6106, allocations: 1.312 kB / 393 MB, free: 21.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.6136, allocations: 0.9202 MB / 393.9 MB, free: 21.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.6136, allocations: 3.844 kB / 393.9 MB, free: 21.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005437/0.6142, allocations: 45.42 kB / 394 MB, free: 21.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006697/0.6149, allocations: 90.83 kB / 394.1 MB, free: 21.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.767e-05/0.615, allocations: 15.17 kB / 394.1 MB, free: 21.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004498/0.6195, allocations: 2.835 MB / 396.9 MB, free: 18.44 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.6195, allocations: 0 / 396.9 MB, free: 18.44 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.6214, allocations: 0.5956 MB / 397.5 MB, free: 18.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002945/0.6217, allocations: 116.6 kB / 397.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.6219, allocations: 6.562 kB / 397.6 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/0.6229, allocations: 38.61 kB / 397.7 MB, free: 18.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.623, allocations: 34.03 kB / 397.7 MB, free: 18.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.6231, allocations: 10.56 kB / 397.7 MB, free: 18.03 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006265/0.6238, allocations: 261.4 kB / 398 MB, free: 17.95 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.325e-06/0.6238, allocations: 0 / 398 MB, free: 17.95 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001364/0.6252, allocations: 133.9 kB / 398.1 MB, free: 17.93 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002383/0.6276, allocations: 1.215 MB / 399.3 MB, free: 17.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.6292, allocations: 490.7 kB / 399.8 MB, free: 16.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.258e-06/0.6293, allocations: 4.125 kB / 399.8 MB, free: 16.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.6304, allocations: 370.1 kB / 400.2 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.6314, allocations: 51.61 kB / 400.2 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.6352, allocations: 0.8235 MB / 401 MB, free: 16.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.636, allocations: 0.8588 MB / 401.9 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004894/0.6365, allocations: 52.2 kB / 401.9 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003765/0.6369, allocations: 169.3 kB / 402.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6369, allocations: 0 / 402.1 MB, free: 15.44 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08015/0.7171, allocations: 8.004 MB / 410.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.7173, allocations: 181.7 kB / 410.3 MB, free: 14.01 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.778/3.496, allocations: 0 / 410.3 MB, free: 14.01 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat does not exist to compare? outputFormat=mat