Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 208 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.335e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 44.5 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5226, allocations: 81.07 MB / 381.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/0.523, allocations: 80.98 kB / 381.1 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1009/0.6239, allocations: 28.76 MB / 409.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.624, allocations: 0 / 409.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.624, allocations: 15.62 kB / 409.9 MB, free: 5.504 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003509/0.6275, allocations: 1.068 MB / 411 MB, free: 4.777 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.6276, allocations: 7.75 kB / 411 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004005/0.628, allocations: 162.6 kB / 411.1 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007298/0.6353, allocations: 0.7122 MB / 411.8 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009954/0.6364, allocations: 441.7 kB / 412.3 MB, free: 4.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.762e-05/0.6365, allocations: 82.64 kB / 412.4 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002268/0.6367, allocations: 105.2 kB / 412.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002641/0.6393, allocations: 1.063 MB / 413.5 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.738e-05/0.6394, allocations: 0 / 413.5 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001531/0.6396, allocations: 42 kB / 413.6 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.6396, allocations: 31.19 kB / 413.6 MB, free: 3.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.6426, allocations: 1.065 MB / 414.7 MB, free: 3.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008933/0.6516, allocations: 4.065 MB / 418.7 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004589/0.6562, allocations: 3.722 MB / 422.4 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007002/0.657, allocations: 301.3 kB / 422.7 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001733/0.6572, allocations: 100.4 kB / 422.8 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.6572, allocations: 38.94 kB / 422.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=71): time 3.637e-06/0.6572, allocations: 0 / 422.9 MB, free: 13.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=71): time 0.001364/0.6586, allocations: 0.5128 MB / 423.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.333e-05/0.6587, allocations: 115.1 kB / 423.5 MB, free: 13.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004642/0.6592, allocations: 281.3 kB / 423.8 MB, free: 13.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.415e-05/0.6593, allocations: 39.45 kB / 423.8 MB, free: 13.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003284/0.6596, allocations: 436.1 kB / 424.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.6599, allocations: 249.5 kB / 424.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.66, allocations: 19.88 kB / 424.5 MB, free: 12.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.6601, allocations: 357.1 kB / 424.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005328/0.6607, allocations: 217.9 kB / 425.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/0.6615, allocations: 0.5241 MB / 425.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007277/0.6622, allocations: 314.4 kB / 425.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/0.6623, allocations: 3.938 kB / 425.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001884/0.6641, allocations: 0.8233 MB / 426.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.317e-05/0.6642, allocations: 15.62 kB / 426.7 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.6642, allocations: 15.42 kB / 426.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.79e-05/0.6643, allocations: 19.38 kB / 426.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.6659, allocations: 244.1 kB / 427 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.118e-05/0.6659, allocations: 19.41 kB / 427 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.6668, allocations: 104.3 kB / 427.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.098e-05/0.667, allocations: 42.34 kB / 427.2 MB, free: 11.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 122 * 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.0002345/0.6672, allocations: 163.1 kB / 427.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.6674, allocations: 46.83 kB / 427.4 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.6691, allocations: 0.6508 MB / 428 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.6692, allocations: 7.719 kB / 428 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6692, allocations: 0 / 428 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.609e-05/0.6692, allocations: 3.984 kB / 428 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.6728, allocations: 1.546 MB / 429.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.6728, allocations: 0 / 429.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.674, allocations: 148.2 kB / 429.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.6741, allocations: 7.875 kB / 429.7 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.538e-05/0.6741, allocations: 22.06 kB / 429.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.6742, allocations: 3.875 kB / 429.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6742, allocations: 0 / 429.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.6763, allocations: 1.127 MB / 430.9 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002148/0.6766, allocations: 131 kB / 431 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.6767, allocations: 19.2 kB / 431 MB, free: 9.898 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006701/0.6774, allocations: 20.81 kB / 431.1 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.6775, allocations: 52.34 kB / 431.1 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-05/0.6776, allocations: 23.03 kB / 431.1 MB, free: 9.855 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003359/0.678, allocations: 207.3 kB / 431.3 MB, free: 9.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.678, allocations: 8 kB / 431.3 MB, free: 9.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001224/0.6792, allocations: 250.2 kB / 431.6 MB, free: 9.637 MB / 330.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 (78): * Single equations (assignments): 78 * 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.002784/0.682, allocations: 1.861 MB / 433.5 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.6836, allocations: 0.6204 MB / 434.1 MB, free: 8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6836, allocations: 2.438 kB / 434.1 MB, free: 8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006256/0.6843, allocations: 298.6 kB / 434.4 MB, free: 7.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.6849, allocations: 33.97 kB / 434.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006313/0.6912, allocations: 1.61 MB / 436 MB, free: 6.918 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.6919, allocations: 0.9411 MB / 436.9 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007076/0.6926, allocations: 90.97 kB / 437 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.6932, allocations: 292.9 kB / 437.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of SimCode: time 3.256e-06/0.6932, allocations: 0 / 437.3 MB, free: 5.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/0.7388, allocations: 9.765 MB / 447.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.7392, allocations: 187 kB / 447.3 MB, free: 14.26 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.915/3.654, allocations: 3.938 kB / 447.3 MB, free: 14.25 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat