Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.72/1.72, allocations: 171.2 MB / 178.1 MB, free: 8.27 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2608/1.981, allocations: 41.12 MB / 219.3 MB, free: 11.16 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/2.077, allocations: 38.77 MB / 258 MB, free: 4.324 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/2.372, allocations: 81.98 MB / 340 MB, free: 6.164 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/2.372, allocations: 81.39 kB / 340.1 MB, free: 6.121 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.5253/2.897, allocations: 77.06 MB / 417.1 MB, free: 105.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.35e-05/2.898, allocations: 11.38 kB / 417.2 MB, free: 105.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/2.901, allocations: 404 kB / 417.5 MB, free: 105.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009799/2.911, allocations: 1.992 MB / 419.5 MB, free: 105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003262/2.911, allocations: 95.03 kB / 419.6 MB, free: 105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/2.913, allocations: 169.9 kB / 419.8 MB, free: 105 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01381/2.927, allocations: 3.021 MB / 422.8 MB, free: 105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01801/2.945, allocations: 3.698 MB / 426.5 MB, free: 104.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001725/2.945, allocations: 0 / 426.5 MB, free: 104.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001409/2.946, allocations: 3.438 kB / 426.5 MB, free: 104.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00024/2.947, allocations: 140.6 kB / 426.7 MB, free: 104.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04522/2.992, allocations: 10.39 MB / 437.1 MB, free: 103.1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005151/2.997, allocations: 1.519 MB / 438.6 MB, free: 103.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004541/3.002, allocations: 1.361 MB / 439.9 MB, free: 103.1 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000648/3.003, allocations: 132.6 kB / 440.1 MB, free: 103 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/3.003, allocations: 52.31 kB / 440.1 MB, free: 102.9 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 6.613e-06/3.003, allocations: 0 / 440.1 MB, free: 102.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=133): time 0.01956/3.022, allocations: 4.325 MB / 444.4 MB, free: 102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/3.022, allocations: 89.64 kB / 444.5 MB, free: 101.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004889/3.027, allocations: 1.354 MB / 445.9 MB, free: 101.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004715/3.028, allocations: 29.11 kB / 445.9 MB, free: 101.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001209/3.029, allocations: 1.079 MB / 447 MB, free: 101.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009531/3.03, allocations: 434.9 kB / 447.4 MB, free: 100.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000251/3.03, allocations: 0 / 447.4 MB, free: 100.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002241/3.031, allocations: 365.5 kB / 447.8 MB, free: 100.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002893/3.034, allocations: 0.7934 MB / 448.6 MB, free: 100.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003448/3.037, allocations: 1.134 MB / 449.7 MB, free: 100.1 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003739/3.041, allocations: 1.009 MB / 450.7 MB, free: 100.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.731e-05/3.041, allocations: 3.969 kB / 450.7 MB, free: 100.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008597/3.05, allocations: 2.389 MB / 453.1 MB, free: 99.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/3.05, allocations: 8.125 kB / 453.1 MB, free: 99.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.42e-05/3.05, allocations: 14.31 kB / 453.1 MB, free: 99.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/3.052, allocations: 372.4 kB / 453.5 MB, free: 99.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/3.057, allocations: 318.9 kB / 453.8 MB, free: 99.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008853/3.065, allocations: 3.974 MB / 457.8 MB, free: 97.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0023/3.068, allocations: 52.7 kB / 457.8 MB, free: 97.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/3.068, allocations: 57.22 kB / 457.9 MB, free: 97.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004012/3.069, allocations: 146.3 kB / 458 MB, free: 97.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006588/3.069, allocations: 177 kB / 458.2 MB, free: 97.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/3.08, allocations: 2.09 MB / 460.3 MB, free: 96.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/3.08, allocations: 14.94 kB / 460.3 MB, free: 96.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.807e-05/3.08, allocations: 3.406 kB / 460.3 MB, free: 96.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.081e-05/3.08, allocations: 11.31 kB / 460.3 MB, free: 96.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/3.095, allocations: 4.625 MB / 464.9 MB, free: 94.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.711e-05/3.095, allocations: 7.094 kB / 464.9 MB, free: 94.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002244/3.097, allocations: 213.8 kB / 465.1 MB, free: 94.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/3.099, allocations: 376.1 kB / 465.5 MB, free: 94.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/3.1, allocations: 14.44 kB / 465.5 MB, free: 94.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007734/3.107, allocations: 3.936 MB / 469.5 MB, free: 91.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/3.107, allocations: 0 / 469.5 MB, free: 91.95 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008791/3.116, allocations: 3.293 MB / 472.8 MB, free: 90.54 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01222/3.128, allocations: 4.852 MB / 477.6 MB, free: 88.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001886/3.13, allocations: 435.8 kB / 478 MB, free: 88.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001208/3.132, allocations: 13.56 kB / 478 MB, free: 88.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003822/3.136, allocations: 72.88 kB / 478.1 MB, free: 88.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006042/3.136, allocations: 71.31 kB / 478.2 MB, free: 88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003535/3.137, allocations: 45.03 kB / 478.2 MB, free: 87.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004442/3.141, allocations: 1.019 MB / 479.3 MB, free: 87.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00652/3.148, allocations: 0.4975 MB / 479.8 MB, free: 87.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001157/3.149, allocations: 198.3 kB / 479.9 MB, free: 87.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008301/3.157, allocations: 2.18 MB / 482.1 MB, free: 85.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.551e-05/3.157, allocations: 0 / 482.1 MB, free: 85.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005333/3.163, allocations: 1.241 MB / 483.4 MB, free: 84.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005474/3.168, allocations: 328.4 kB / 483.7 MB, free: 84.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02468/3.193, allocations: 4.511 MB / 488.2 MB, free: 80.11 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006547/3.2, allocations: 2.583 MB / 490.8 MB, free: 78.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.914e-06/3.2, allocations: 0 / 490.8 MB, free: 78.08 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat