Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_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 2.146/2.146, allocations: 194.9 MB / 202.5 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2237/2.37, allocations: 46.84 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/2.467, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3257/2.793, allocations: 87.03 MB / 380.9 MB, free: 5.926 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003581/2.793, allocations: 85.17 kB / 381 MB, free: 5.914 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.3376/3.131, allocations: 76.91 MB / 457.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/3.131, allocations: 12 kB / 457.9 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/3.134, allocations: 399.6 kB / 458.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009213/3.143, allocations: 2.187 MB / 460.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/3.143, allocations: 100 kB / 460.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/3.145, allocations: 175.9 kB / 460.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01137/3.156, allocations: 3.018 MB / 463.8 MB, free: 7.535 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0149/3.171, allocations: 3.693 MB / 467.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001279/3.171, allocations: 0 / 467.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/3.172, allocations: 3.938 kB / 467.5 MB, free: 3.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002119/3.173, allocations: 137.9 kB / 467.6 MB, free: 3.543 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03685/3.21, allocations: 10.5 MB / 478.1 MB, free: 8.977 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/3.214, allocations: 1.518 MB / 479.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003977/3.218, allocations: 1.358 MB / 481 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/3.219, allocations: 150 kB / 481.1 MB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.944e-05/3.219, allocations: 47.56 kB / 481.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.388e-06/3.219, allocations: 0 / 481.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01637/3.235, allocations: 4.323 MB / 485.5 MB, free: 1.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.687e-05/3.235, allocations: 94.42 kB / 485.6 MB, free: 1.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004607/3.24, allocations: 1.456 MB / 487 MB, free: 15.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/3.24, allocations: 25.7 kB / 487.1 MB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/3.242, allocations: 1.09 MB / 488.1 MB, free: 14.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000814/3.243, allocations: 441.4 kB / 488.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/3.243, allocations: 0 / 488.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002267/3.243, allocations: 365.9 kB / 488.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002371/3.245, allocations: 0.7926 MB / 489.7 MB, free: 13.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002872/3.248, allocations: 1.13 MB / 490.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/3.252, allocations: 1.009 MB / 491.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.722e-05/3.252, allocations: 7.906 kB / 491.9 MB, free: 10.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008296/3.26, allocations: 2.379 MB / 494.3 MB, free: 8.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/3.26, allocations: 8 kB / 494.3 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.105e-05/3.26, allocations: 15.98 kB / 494.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001843/3.262, allocations: 376.6 kB / 494.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/3.265, allocations: 323.5 kB / 495 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009357/3.274, allocations: 3.965 MB / 498.9 MB, free: 3.703 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/3.277, allocations: 47.86 kB / 499 MB, free: 3.656 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005041/3.278, allocations: 64.05 kB / 499 MB, free: 3.594 MB / 394.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.0005352/3.278, allocations: 140.5 kB / 499.2 MB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008546/3.279, allocations: 173.9 kB / 499.3 MB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/3.287, allocations: 2.09 MB / 0.4897 GB, free: 1.164 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/3.287, allocations: 12 kB / 0.4897 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/3.287, allocations: 8 kB / 0.4897 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-05/3.287, allocations: 7.969 kB / 0.4897 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1535/3.44, allocations: 4.682 MB / 0.4943 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-05/3.44, allocations: 4.969 kB / 0.4943 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002209/3.443, allocations: 218.3 kB / 0.4945 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/3.444, allocations: 360.8 kB / 0.4948 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/3.445, allocations: 14.61 kB / 0.4948 GB, free: 116.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007871/3.453, allocations: 3.94 MB / 0.4987 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/3.453, allocations: 5.188 kB / 0.4987 GB, free: 114.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008294/3.461, allocations: 3.292 MB / 0.5019 GB, free: 114.5 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01086/3.472, allocations: 4.841 MB / 0.5066 GB, free: 113.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001698/3.474, allocations: 453.1 kB / 0.5071 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007438/3.474, allocations: 6.719 kB / 0.5071 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002483/3.477, allocations: 76.36 kB / 0.5072 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/3.477, allocations: 70.55 kB / 0.5072 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/3.478, allocations: 44.77 kB / 0.5073 GB, free: 113.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00291/3.48, allocations: 1.108 MB / 0.5083 GB, free: 113.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004219/3.485, allocations: 0.5041 MB / 0.5088 GB, free: 113.6 MB / 394.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.0008679/3.486, allocations: 205.5 kB / 0.509 GB, free: 113.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005628/3.491, allocations: 2.18 MB / 0.5112 GB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/3.491, allocations: 0 / 0.5112 GB, free: 113.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003459/3.495, allocations: 1.242 MB / 0.5124 GB, free: 113 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003614/3.499, allocations: 336 kB / 0.5127 GB, free: 113 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01662/3.515, allocations: 4.666 MB / 0.5173 GB, free: 112.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005516/3.521, allocations: 2.591 MB / 0.5198 GB, free: 111.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/3.521, allocations: 0 / 0.5198 GB, free: 111.3 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat