Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.252/2.252, allocations: 225.8 MB / 239.3 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.187e-05/4.198e-05, allocations: 4 kB / 292.7 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1142, allocations: 50.42 MB / 343.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4629/0.5772, allocations: 86.99 MB / 430.2 MB, free: 7.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/0.5775, allocations: 81.14 kB / 430.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1108/0.6883, allocations: 26.76 MB / 457 MB, free: 11.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.6884, allocations: 0 / 457 MB, free: 11.86 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.6884, allocations: 12 kB / 457 MB, free: 11.85 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003781/0.6922, allocations: 1.027 MB / 458 MB, free: 10.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.6923, allocations: 12.02 kB / 458 MB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003654/0.6926, allocations: 143.8 kB / 458.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005109/0.6978, allocations: 0.491 MB / 458.7 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009484/0.6988, allocations: 424.3 kB / 459.1 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.6989, allocations: 66.56 kB / 459.1 MB, free: 9.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.6991, allocations: 97.81 kB / 459.2 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.7016, allocations: 0.9344 MB / 460.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.954e-05/0.7017, allocations: 0 / 460.2 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.7018, allocations: 39.62 kB / 460.2 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.327e-05/0.7019, allocations: 24 kB / 460.2 MB, free: 9.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002341/0.7042, allocations: 0.8568 MB / 461.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008153/0.7124, allocations: 3.475 MB / 464.6 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.7161, allocations: 2.201 MB / 466.8 MB, free: 3.598 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.7168, allocations: 273.4 kB / 467 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.717, allocations: 97.41 kB / 467.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.7171, allocations: 38.38 kB / 467.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=65): time 3.727e-06/0.7171, allocations: 0 / 467.2 MB, free: 3.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=65): time 0.001349/0.7184, allocations: 489.6 kB / 467.7 MB, free: 2.926 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.7186, allocations: 115.4 kB / 467.8 MB, free: 2.785 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00042/0.719, allocations: 241.5 kB / 468 MB, free: 2.586 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.7191, allocations: 37.33 kB / 468 MB, free: 2.551 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003203/0.7194, allocations: 380.9 kB / 468.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.7197, allocations: 225.4 kB / 468.6 MB, free: 2.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.7197, allocations: 15.5 kB / 468.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.7199, allocations: 351.8 kB / 469 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.7205, allocations: 202.6 kB / 469.2 MB, free: 1.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007679/0.7213, allocations: 402.6 kB / 469.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007204/0.722, allocations: 266.9 kB / 469.8 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/0.7221, allocations: 8 kB / 469.8 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0018/0.7239, allocations: 0.6745 MB / 470.5 MB, free: 288 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.7239, allocations: 8 kB / 470.5 MB, free: 280 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.724, allocations: 8 kB / 470.5 MB, free: 272 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.839e-05/0.724, allocations: 12 kB / 470.5 MB, free: 260 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.7254, allocations: 183.7 kB / 470.7 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.04e-05/0.7255, allocations: 19.92 kB / 470.7 MB, free: 56 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000733/0.7262, allocations: 83.83 kB / 470.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.7263, allocations: 35.98 kB / 470.9 MB, free: 15.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 98 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002146/0.7266, allocations: 152.5 kB / 471 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.7267, allocations: 43.53 kB / 471.1 MB, free: 15.74 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.7285, allocations: 0.6084 MB / 471.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.7285, allocations: 11.98 kB / 471.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7285, allocations: 0 / 471.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.7286, allocations: 11.98 kB / 471.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003545/0.7321, allocations: 1.43 MB / 473.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.7322, allocations: 4 kB / 473.1 MB, free: 13.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001174/0.7334, allocations: 143.8 kB / 473.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.7334, allocations: 0 / 473.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.984e-05/0.7335, allocations: 19.95 kB / 473.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.584e-06/0.7335, allocations: 0 / 473.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.7335, allocations: 7.938 kB / 473.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/0.7357, allocations: 1.083 MB / 474.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.7359, allocations: 120.5 kB / 474.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.736, allocations: 12 kB / 474.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.7366, allocations: 27.98 kB / 474.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.7368, allocations: 44.56 kB / 474.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.364e-05/0.7368, allocations: 20 kB / 474.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002857/0.7371, allocations: 183.1 kB / 474.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7372, allocations: 0 / 474.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001112/0.7383, allocations: 235.1 kB / 475 MB, free: 11.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (i1.pin_p.reference.gamma,load.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00284/0.7411, allocations: 1.853 MB / 476.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.7426, allocations: 0.5543 MB / 477.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.7426, allocations: 0 / 477.4 MB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000641/0.7433, allocations: 278 kB / 477.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005035/0.7438, allocations: 32.48 kB / 477.7 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003197/0.747, allocations: 1.055 MB / 478.8 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006624/0.7477, allocations: 0.9126 MB / 479.7 MB, free: 6.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006155/0.7483, allocations: 80.38 kB / 479.8 MB, free: 6.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.7489, allocations: 251.3 kB / 480 MB, free: 6.602 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.7489, allocations: 3.938 kB / 480 MB, free: 6.598 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04353/0.7925, allocations: 9.476 MB / 489.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003547/0.7929, allocations: 176.1 kB / 489.7 MB, free: 12.96 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.971/3.764, allocations: 4 kB / 489.7 MB, free: 12.96 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat