Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYY",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.935/1.935, allocations: 171.2 MB / 178.1 MB, free: 8.324 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2257/2.161, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/2.28, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/2.619, allocations: 70.57 MB / 328.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/2.619, allocations: 62.66 kB / 328.6 MB, free: 1.414 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.1445/2.763, allocations: 19.81 MB / 348.5 MB, free: 0.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.615e-05/2.764, allocations: 8 kB / 348.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/2.765, allocations: 142.3 kB / 348.6 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/2.769, allocations: 0.8565 MB / 349.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/2.769, allocations: 36 kB / 349.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006166/2.77, allocations: 64 kB / 349.6 MB, free: 15.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005922/2.776, allocations: 1.157 MB / 350.7 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/2.782, allocations: 1.328 MB / 352 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.654e-05/2.783, allocations: 4 kB / 352 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002554/2.783, allocations: 3.906 kB / 352 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.438e-05/2.783, allocations: 28 kB / 352.1 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/2.799, allocations: 4.097 MB / 356.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/2.8, allocations: 0.5394 MB / 356.7 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/2.802, allocations: 0.5214 MB / 357.2 MB, free: 9.844 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/2.803, allocations: 5 kB / 357.2 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/2.803, allocations: 39.22 kB / 357.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 3.336e-06/2.803, allocations: 0 / 357.3 MB, free: 9.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.005217/2.808, allocations: 1.641 MB / 358.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/2.808, allocations: 55.84 kB / 359 MB, free: 8.121 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/2.81, allocations: 0.7025 MB / 359.7 MB, free: 7.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/2.81, allocations: 25.7 kB / 359.7 MB, free: 7.379 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/2.811, allocations: 462.4 kB / 360.2 MB, free: 6.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002493/2.811, allocations: 169.4 kB / 360.3 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/2.811, allocations: 3.938 kB / 360.3 MB, free: 6.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/2.811, allocations: 378.8 kB / 360.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/2.812, allocations: 301.1 kB / 361 MB, free: 6.074 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/2.813, allocations: 391 kB / 361.4 MB, free: 5.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009362/2.814, allocations: 369.2 kB / 361.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/2.814, allocations: 0 / 361.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003135/2.817, allocations: 0.8752 MB / 362.6 MB, free: 4.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/2.817, allocations: 4 kB / 362.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/2.817, allocations: 4 kB / 362.6 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006846/2.818, allocations: 112.7 kB / 362.7 MB, free: 4.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001797/2.82, allocations: 131.9 kB / 362.8 MB, free: 4.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/2.826, allocations: 2.055 MB / 364.9 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/2.828, allocations: 23.95 kB / 364.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/2.828, allocations: 16 kB / 364.9 MB, free: 1.945 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002855/2.828, allocations: 117 kB / 365.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/2.828, allocations: 71.16 kB / 365.1 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004982/2.829, allocations: 78.86 kB / 365.2 MB, free: 1.668 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/2.829, allocations: 12 kB / 365.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.747e-05/2.829, allocations: 3.984 kB / 365.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/2.829, allocations: 3.906 kB / 365.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007136/2.836, allocations: 1.845 MB / 367.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.836, allocations: 0 / 367.1 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/2.837, allocations: 91.89 kB / 367.2 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/2.838, allocations: 108.9 kB / 367.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/2.838, allocations: 8.047 kB / 367.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/2.841, allocations: 2.055 MB / 369.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/2.841, allocations: 4.125 kB / 369.3 MB, free: 13.35 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004776/2.846, allocations: 1.263 MB / 370.6 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005551/2.851, allocations: 2.058 MB / 372.7 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/2.853, allocations: 228.1 kB / 372.9 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/2.854, allocations: 4 kB / 372.9 MB, free: 9.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/2.855, allocations: 47.92 kB / 372.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/2.855, allocations: 40.38 kB / 373 MB, free: 9.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.826e-05/2.855, allocations: 12 kB / 373 MB, free: 9.559 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.00124/2.856, allocations: 0.542 MB / 373.5 MB, free: 9.023 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002248/2.859, allocations: 196 kB / 373.7 MB, free: 8.832 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003365/2.859, allocations: 107.1 kB / 373.8 MB, free: 8.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002164/2.861, allocations: 0.7743 MB / 374.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/2.861, allocations: 0.625 kB / 374.6 MB, free: 7.934 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/2.863, allocations: 475.1 kB / 375.1 MB, free: 7.461 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/2.864, allocations: 135.3 kB / 375.2 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009433/2.873, allocations: 1.767 MB / 377 MB, free: 5.516 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003111/2.877, allocations: 1.417 MB / 378.4 MB, free: 4.074 MB / 314.7 MB Notification: Performance of SimCode: time 5.3e-06/2.877, allocations: 0 / 378.4 MB, free: 4.074 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat