Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYY,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_MultiPhase_Examples_TransformerYY",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.641/1.641, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2212/1.862, allocations: 46.82 MB / 249.4 MB, free: 5.375 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/1.95, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2754/2.225, allocations: 75.45 MB / 369.4 MB, free: 7.074 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/2.226, allocations: 69.23 kB / 369.4 MB, free: 7.074 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.07317/2.299, allocations: 19.49 MB / 388.9 MB, free: 1.328 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/2.299, allocations: 11.62 kB / 388.9 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/2.299, allocations: 144.4 kB / 389.1 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/2.301, allocations: 0.8595 MB / 389.9 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/2.301, allocations: 34.97 kB / 390 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/2.302, allocations: 63.06 kB / 390 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003152/2.305, allocations: 1.156 MB / 391.2 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/2.308, allocations: 1.334 MB / 392.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/2.308, allocations: 0 / 392.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/2.308, allocations: 0 / 392.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/2.308, allocations: 26.69 kB / 392.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/2.321, allocations: 4.149 MB / 396.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001225/2.322, allocations: 0.5392 MB / 397.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/2.323, allocations: 0.5268 MB / 397.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/2.323, allocations: 4.562 kB / 397.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/2.323, allocations: 42.69 kB / 397.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.506e-06/2.323, allocations: 0 / 397.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00441/2.328, allocations: 1.636 MB / 399.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/2.328, allocations: 57.34 kB / 399.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/2.33, allocations: 0.6917 MB / 400.2 MB, free: 13.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/2.33, allocations: 25.7 kB / 400.2 MB, free: 13.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/2.33, allocations: 455.7 kB / 400.7 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/2.33, allocations: 167.2 kB / 400.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/2.33, allocations: 4 kB / 400.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002099/2.33, allocations: 385.6 kB / 401.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/2.331, allocations: 299.7 kB / 401.5 MB, free: 12.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007944/2.332, allocations: 389.7 kB / 401.9 MB, free: 12.38 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008718/2.333, allocations: 367.8 kB / 402.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/2.333, allocations: 0 / 402.2 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002337/2.335, allocations: 0.8737 MB / 403.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/2.335, allocations: 4.75 kB / 403.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/2.335, allocations: 3.156 kB / 403.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/2.336, allocations: 111.8 kB / 403.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/2.337, allocations: 127.1 kB / 403.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003252/2.34, allocations: 2.072 MB / 405.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/2.341, allocations: 15.83 kB / 405.4 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/2.341, allocations: 18.59 kB / 405.4 MB, free: 10.55 MB / 314.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.000206/2.341, allocations: 130 kB / 405.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001827/2.342, allocations: 71.19 kB / 405.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/2.342, allocations: 82.92 kB / 405.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/2.342, allocations: 4.688 kB / 405.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/2.342, allocations: 2.125 kB / 405.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/2.342, allocations: 3.984 kB / 405.7 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00494/2.347, allocations: 1.831 MB / 407.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/2.347, allocations: 1.344 kB / 407.6 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/2.348, allocations: 99.44 kB / 407.7 MB, free: 9.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004557/2.348, allocations: 103.3 kB / 407.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.646e-05/2.348, allocations: 6.562 kB / 407.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00317/2.352, allocations: 2.055 MB / 409.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.546e-06/2.352, allocations: 6.156 kB / 409.8 MB, free: 8.137 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002956/2.355, allocations: 1.272 MB / 411.1 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003952/2.359, allocations: 2.05 MB / 413.2 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/2.359, allocations: 156.3 kB / 413.3 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/2.359, allocations: 12 kB / 413.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/2.36, allocations: 47.91 kB / 413.4 MB, free: 5.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/2.36, allocations: 32.38 kB / 413.4 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/2.36, allocations: 16 kB / 413.4 MB, free: 5.465 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001225/2.361, allocations: 0.5342 MB / 413.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002154/2.364, allocations: 192 kB / 414.1 MB, free: 4.75 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.0002292/2.364, allocations: 111 kB / 414.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/2.366, allocations: 0.7782 MB / 415 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/2.366, allocations: 0 / 415 MB, free: 3.848 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001216/2.367, allocations: 464.2 kB / 415.5 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001359/2.369, allocations: 142.8 kB / 415.6 MB, free: 3.242 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005498/2.374, allocations: 1.77 MB / 417.4 MB, free: 1.422 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/2.376, allocations: 1.405 MB / 418.8 MB, free: 15.98 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/2.376, allocations: 4 kB / 418.8 MB, free: 15.98 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat does not exist to compare? outputFormat=mat