Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 171.2 MB / 178.1 MB, free: 8.273 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2212/1.945, allocations: 41.1 MB / 219.2 MB, free: 11.17 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09478/2.04, allocations: 38.76 MB / 258 MB, free: 4.34 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3075/2.348, allocations: 71.11 MB / 329.1 MB, free: 0.9336 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/2.348, allocations: 76.77 kB / 329.2 MB, free: 0.8945 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.1283/2.476, allocations: 20.3 MB / 349.5 MB, free: 15.73 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/2.476, allocations: 16 kB / 349.5 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/2.477, allocations: 142.3 kB / 349.6 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/2.48, allocations: 0.9167 MB / 350.6 MB, free: 14.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.302e-05/2.48, allocations: 36 kB / 350.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/2.481, allocations: 67.91 kB / 350.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003744/2.485, allocations: 1.15 MB / 351.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004841/2.489, allocations: 1.346 MB / 353.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/2.489, allocations: 4 kB / 353.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/2.49, allocations: 4 kB / 353.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.68e-05/2.49, allocations: 24 kB / 353.2 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0139/2.504, allocations: 4.152 MB / 357.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/2.505, allocations: 0.5403 MB / 357.9 MB, free: 9.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/2.507, allocations: 0.6126 MB / 358.5 MB, free: 8.629 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.597e-05/2.507, allocations: 4.438 kB / 358.5 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.336e-05/2.507, allocations: 43 kB / 358.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of pre-optimization done (n=51): time 3.637e-06/2.507, allocations: 0 / 358.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001901/2.509, allocations: 0.5802 MB / 359.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/2.509, allocations: 59.84 kB / 359.2 MB, free: 7.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/2.511, allocations: 0.6909 MB / 359.9 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/2.511, allocations: 25.7 kB / 359.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004103/2.511, allocations: 458.4 kB / 360.3 MB, free: 6.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/2.512, allocations: 169.5 kB / 360.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/2.512, allocations: 0 / 360.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002376/2.512, allocations: 382.8 kB / 360.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/2.513, allocations: 285.1 kB / 361.2 MB, free: 5.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/2.514, allocations: 378.1 kB / 361.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008436/2.514, allocations: 349.2 kB / 361.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/2.514, allocations: 0 / 361.9 MB, free: 5.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002132/2.517, allocations: 0.7531 MB / 362.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/2.517, allocations: 4 kB / 362.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/2.517, allocations: 12.22 kB / 362.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.097e-05/2.517, allocations: 4 kB / 362.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/2.518, allocations: 163.8 kB / 362.8 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/2.518, allocations: 4 kB / 362.8 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008315/2.519, allocations: 51.52 kB / 362.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.336e-05/2.519, allocations: 19.91 kB / 362.9 MB, free: 4.145 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001951/2.519, allocations: 112.9 kB / 363 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/2.519, allocations: 71.16 kB / 363.1 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/2.52, allocations: 82.86 kB / 363.1 MB, free: 3.863 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/2.52, allocations: 8 kB / 363.1 MB, free: 3.855 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/2.52, allocations: 7.984 kB / 363.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/2.52, allocations: 0 / 363.2 MB, free: 3.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004455/2.524, allocations: 1.719 MB / 364.9 MB, free: 2.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.368e-05/2.524, allocations: 11.91 kB / 364.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/2.526, allocations: 124 kB / 365 MB, free: 1.938 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/2.526, allocations: 4 kB / 365 MB, free: 1.934 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/2.526, allocations: 3.984 kB / 365 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/2.526, allocations: 4 kB / 365 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.526, allocations: 0 / 365 MB, free: 1.926 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002316/2.528, allocations: 1.088 MB / 366.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003416/2.531, allocations: 1.844 MB / 368 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/2.532, allocations: 224.1 kB / 368.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002967/2.533, allocations: 4 kB / 368.2 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/2.534, allocations: 39.97 kB / 368.2 MB, free: 14.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002117/2.534, allocations: 32.39 kB / 368.2 MB, free: 14.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/2.534, allocations: 15.98 kB / 368.3 MB, free: 14.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001715/2.536, allocations: 0.5381 MB / 368.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003323/2.539, allocations: 266.7 kB / 369.1 MB, free: 13.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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.0004247/2.54, allocations: 110.9 kB / 369.2 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002149/2.542, allocations: 0.6047 MB / 369.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/2.542, allocations: 7.938 kB / 369.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001/2.543, allocations: 302.1 kB / 370.1 MB, free: 12.76 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002192/2.545, allocations: 134.8 kB / 370.2 MB, free: 12.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008888/2.554, allocations: 1.836 MB / 372 MB, free: 10.75 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003179/2.558, allocations: 1.428 MB / 373.5 MB, free: 9.293 MB / 314.7 MB Notification: Performance of SimCode: time 2.845e-06/2.558, allocations: 4 kB / 373.5 MB, free: 9.289 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat