Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_QuasiStationary_SinglePhase_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.49e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3056, allocations: 44.49 MB / 294.2 MB, free: 14.19 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.448, allocations: 80.4 MB / 374.6 MB, free: 1.484 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.4484, allocations: 91.88 kB / 374.7 MB, free: 1.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1076/0.556, allocations: 28.37 MB / 403.1 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.556, allocations: 0 / 403.1 MB, free: 4.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.5561, allocations: 16 kB / 403.1 MB, free: 4.66 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.003695/0.5598, allocations: 1.065 MB / 404.1 MB, free: 3.547 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5598, allocations: 12.03 kB / 404.1 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007503/0.5673, allocations: 0.7052 MB / 404.9 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.5685, allocations: 441.8 kB / 405.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.003e-05/0.5686, allocations: 32 kB / 405.3 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/0.5689, allocations: 67.94 kB / 405.4 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002968/0.5719, allocations: 1.012 MB / 406.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.5744, allocations: 0.8786 MB / 407.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.074e-05/0.5745, allocations: 0 / 407.3 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/0.5746, allocations: 11.94 kB / 407.3 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.5746, allocations: 27.95 kB / 407.3 MB, free: 296 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.5847, allocations: 3.895 MB / 411.2 MB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004967/0.5897, allocations: 3.701 MB / 414.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.5903, allocations: 268.7 kB / 415.2 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.5905, allocations: 93.66 kB / 415.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.5906, allocations: 51.11 kB / 415.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of pre-optimization done (n=71): time 1.047e-05/0.5906, allocations: 3.984 kB / 415.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=71): time 0.002143/0.5928, allocations: 0.592 MB / 415.9 MB, free: 6.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.495e-05/0.5929, allocations: 111.4 kB / 416 MB, free: 6.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/0.5933, allocations: 254 kB / 416.3 MB, free: 6.355 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.497e-05/0.5934, allocations: 29.7 kB / 416.3 MB, free: 6.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/0.5938, allocations: 0.4964 MB / 416.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.5941, allocations: 244.5 kB / 417 MB, free: 5.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-05/0.5942, allocations: 0 / 417 MB, free: 5.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.5944, allocations: 346.8 kB / 417.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005199/0.5949, allocations: 198.6 kB / 417.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.5957, allocations: 0.5091 MB / 418.1 MB, free: 4.379 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.5975, allocations: 444.1 kB / 418.5 MB, free: 3.945 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-05/0.5975, allocations: 4 kB / 418.5 MB, free: 3.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002869/0.6004, allocations: 0.8869 MB / 419.4 MB, free: 3.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.6005, allocations: 12 kB / 419.4 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/0.6005, allocations: 11.94 kB / 419.4 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.224e-05/0.6006, allocations: 20 kB / 419.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.6022, allocations: 235.6 kB / 419.7 MB, free: 2.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-05/0.6022, allocations: 27.83 kB / 419.7 MB, free: 2.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.6031, allocations: 87.02 kB / 419.8 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001664/0.6033, allocations: 47.98 kB / 419.8 MB, free: 2.613 MB / 362.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.0002878/0.6036, allocations: 140.4 kB / 420 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002118/0.6057, allocations: 0.5882 MB / 420.6 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.6059, allocations: 43.53 kB / 420.6 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002377/0.6083, allocations: 0.7 MB / 421.3 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.588e-05/0.6083, allocations: 11.95 kB / 421.3 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.6084, allocations: 3.984 kB / 421.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.6084, allocations: 4 kB / 421.3 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2823/0.8907, allocations: 1.484 MB / 422.8 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.8908, allocations: 0.5 kB / 422.8 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001303/0.8921, allocations: 146.8 kB / 422.9 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.8921, allocations: 4.031 kB / 422.9 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.8922, allocations: 7.703 kB / 423 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.8922, allocations: 3.781 kB / 423 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.8922, allocations: 1.906 kB / 423 MB, free: 95.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00287/0.8951, allocations: 1.19 MB / 424.1 MB, free: 94.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.8953, allocations: 129.6 kB / 424.3 MB, free: 94.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.8954, allocations: 8.797 kB / 424.3 MB, free: 94.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.8961, allocations: 13.94 kB / 424.3 MB, free: 94.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.8962, allocations: 44.03 kB / 424.3 MB, free: 94.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.8963, allocations: 23.72 kB / 424.4 MB, free: 94.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002409/0.8965, allocations: 182.3 kB / 424.5 MB, free: 94.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.8966, allocations: 0 / 424.5 MB, free: 94.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001208/0.8978, allocations: 222.6 kB / 424.8 MB, free: 94.69 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 (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.003033/0.9008, allocations: 1.903 MB / 426.7 MB, free: 93.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.9023, allocations: 0.5961 MB / 427.3 MB, free: 93.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.9023, allocations: 0.9688 kB / 427.3 MB, free: 93.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005884/0.9029, allocations: 282.4 kB / 427.5 MB, free: 93.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.9035, allocations: 27.55 kB / 427.6 MB, free: 93.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.9093, allocations: 1.591 MB / 429.2 MB, free: 93.28 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.9098, allocations: 0.9402 MB / 430.1 MB, free: 92.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000606/0.9104, allocations: 287.5 kB / 430.4 MB, free: 92.57 MB / 362.7 MB Notification: Performance of SimCode: time 2.104e-06/0.9104, allocations: 1.156 kB / 430.4 MB, free: 92.57 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.531/3.441, allocations: 10.76 MB / 441.1 MB, free: 91.84 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat