Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.742/1.742, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2285/1.97, allocations: 46.82 MB / 249.4 MB, free: 5.359 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09079/2.061, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2919/2.353, allocations: 75.99 MB / 369.9 MB, free: 7.188 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/2.353, allocations: 72.5 kB / 370 MB, free: 7.188 MB / 298.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.0793/2.433, allocations: 19.97 MB / 389.9 MB, free: 1.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/2.433, allocations: 11.34 kB / 390 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/2.433, allocations: 142.9 kB / 390.1 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002596/2.436, allocations: 0.9173 MB / 391 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.009e-05/2.436, allocations: 38.88 kB / 391 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002228/2.436, allocations: 65.22 kB / 391.1 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003174/2.439, allocations: 1.149 MB / 392.3 MB, free: 476 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/2.443, allocations: 1.35 MB / 393.6 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.319e-05/2.443, allocations: 1.344 kB / 393.6 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/2.443, allocations: 1.344 kB / 393.6 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.859e-05/2.443, allocations: 26.41 kB / 393.6 MB, free: 56 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01252/2.456, allocations: 4.143 MB / 397.8 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/2.457, allocations: 0.5443 MB / 398.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/2.459, allocations: 0.6099 MB / 398.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/2.459, allocations: 9.406 kB / 398.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/2.459, allocations: 44.28 kB / 399 MB, free: 13.9 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.527e-06/2.459, allocations: 0 / 399 MB, free: 13.9 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00174/2.461, allocations: 0.5794 MB / 399.6 MB, free: 13.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/2.461, allocations: 57.28 kB / 399.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001661/2.462, allocations: 0.6831 MB / 400.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/2.462, allocations: 26.98 kB / 400.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004013/2.463, allocations: 459.8 kB / 400.8 MB, free: 13.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000218/2.463, allocations: 173 kB / 400.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.492e-05/2.463, allocations: 0 / 400.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002668/2.463, allocations: 380.8 kB / 401.3 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/2.464, allocations: 280.7 kB / 401.6 MB, free: 12.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008175/2.465, allocations: 383 kB / 402 MB, free: 12.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/2.466, allocations: 345.5 kB / 402.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/2.466, allocations: 4.938 kB / 402.3 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002098/2.468, allocations: 0.7575 MB / 403.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/2.468, allocations: 4.281 kB / 403.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/2.468, allocations: 2.719 kB / 403.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/2.468, allocations: 5.438 kB / 403.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/2.47, allocations: 159.1 kB / 403.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/2.47, allocations: 8.141 kB / 403.2 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/2.471, allocations: 50.73 kB / 403.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/2.471, allocations: 21 kB / 403.3 MB, free: 12.12 MB / 314.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.000201/2.471, allocations: 119.1 kB / 403.4 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/2.471, allocations: 70.88 kB / 403.5 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/2.471, allocations: 82.58 kB / 403.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/2.471, allocations: 9.281 kB / 403.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.309e-05/2.471, allocations: 1.375 kB / 403.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/2.471, allocations: 3.984 kB / 403.6 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004726/2.476, allocations: 1.721 MB / 405.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/2.476, allocations: 1.156 kB / 405.3 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/2.478, allocations: 119.6 kB / 405.4 MB, free: 11.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.85e-05/2.478, allocations: 7.25 kB / 405.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/2.478, allocations: 2.594 kB / 405.4 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.196e-05/2.478, allocations: 7.172 kB / 405.5 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/2.478, allocations: 5.406 kB / 405.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002621/2.48, allocations: 1.085 MB / 406.5 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003515/2.484, allocations: 1.841 MB / 408.4 MB, free: 10.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004142/2.484, allocations: 166.2 kB / 408.5 MB, free: 9.832 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/2.485, allocations: 7.5 kB / 408.6 MB, free: 9.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009385/2.486, allocations: 43.88 kB / 408.6 MB, free: 9.785 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/2.486, allocations: 31.81 kB / 408.6 MB, free: 9.758 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/2.486, allocations: 15.31 kB / 408.6 MB, free: 9.746 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001208/2.487, allocations: 0.5268 MB / 409.2 MB, free: 9.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002156/2.489, allocations: 266.7 kB / 409.4 MB, free: 9.098 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.0002603/2.489, allocations: 114.4 kB / 409.5 MB, free: 8.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/2.491, allocations: 0.6049 MB / 410.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.491, allocations: 0 / 410.1 MB, free: 8.543 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007044/2.492, allocations: 304.9 kB / 410.4 MB, free: 8.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/2.493, allocations: 132.8 kB / 410.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006093/2.499, allocations: 1.835 MB / 412.4 MB, free: 6.578 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002111/2.502, allocations: 1.422 MB / 413.8 MB, free: 5.238 MB / 314.7 MB Notification: Performance of SimCode: time 1.452e-06/2.502, allocations: 0 / 413.8 MB, free: 5.238 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat