Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",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.632/1.632, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2277/1.86, allocations: 46.83 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08688/1.946, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.289/2.236, allocations: 87.04 MB / 381 MB, free: 6.039 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/2.236, allocations: 77.67 kB / 381 MB, free: 6.027 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.316/2.552, allocations: 76.91 MB / 457.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/2.552, allocations: 11.94 kB / 458 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/2.554, allocations: 399.6 kB / 458.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007949/2.562, allocations: 2.194 MB / 460.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/2.562, allocations: 100 kB / 460.6 MB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007772/2.563, allocations: 167.9 kB / 460.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01021/2.573, allocations: 3.018 MB / 463.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01169/2.585, allocations: 3.696 MB / 467.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/2.585, allocations: 0 / 467.5 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/2.586, allocations: 4 kB / 467.5 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001976/2.586, allocations: 137.9 kB / 467.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03175/2.618, allocations: 10.5 MB / 478.2 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/2.622, allocations: 1.519 MB / 479.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003529/2.625, allocations: 1.359 MB / 481 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004425/2.626, allocations: 138 kB / 481.2 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/2.626, allocations: 51.5 kB / 481.2 MB, free: 5.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 4.488e-06/2.626, allocations: 4 kB / 481.2 MB, free: 5.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01393/2.64, allocations: 4.323 MB / 485.5 MB, free: 1.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.675e-05/2.64, allocations: 90.42 kB / 485.6 MB, free: 1.383 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003792/2.644, allocations: 1.464 MB / 487.1 MB, free: 15.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000296/2.644, allocations: 25.7 kB / 487.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009041/2.645, allocations: 1.083 MB / 488.2 MB, free: 14.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005899/2.646, allocations: 437.4 kB / 488.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/2.646, allocations: 4 kB / 488.6 MB, free: 14.35 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/2.646, allocations: 361.9 kB / 489 MB, free: 13.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/2.648, allocations: 0.7926 MB / 489.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002459/2.651, allocations: 1.138 MB / 490.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002721/2.653, allocations: 1.005 MB / 491.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/2.653, allocations: 0 / 491.9 MB, free: 10.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00725/2.661, allocations: 2.391 MB / 494.3 MB, free: 8.508 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/2.661, allocations: 10.34 kB / 494.3 MB, free: 8.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/2.661, allocations: 16 kB / 494.3 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001857/2.663, allocations: 380.7 kB / 494.7 MB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/2.666, allocations: 315.6 kB / 495 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009094/2.675, allocations: 3.977 MB / 499 MB, free: 3.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002549/2.677, allocations: 51.92 kB / 499 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002221/2.678, allocations: 60 kB / 499.1 MB, free: 3.582 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.0004034/2.678, allocations: 136.5 kB / 499.2 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/2.679, allocations: 177.9 kB / 499.4 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006507/2.685, allocations: 2.094 MB / 0.4898 GB, free: 1.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/2.685, allocations: 12 kB / 0.4898 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/2.685, allocations: 4 kB / 0.4898 GB, free: 1.141 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/2.685, allocations: 3.984 kB / 0.4898 GB, free: 1.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1399/2.825, allocations: 4.687 MB / 0.4943 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.879e-05/2.825, allocations: 3.719 kB / 0.4944 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002168/2.827, allocations: 220.6 kB / 0.4946 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/2.829, allocations: 359.6 kB / 0.4949 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/2.829, allocations: 16.77 kB / 0.4949 GB, free: 115.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007714/2.837, allocations: 3.928 MB / 0.4988 GB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/2.837, allocations: 10.33 kB / 0.4988 GB, free: 114.7 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007817/2.845, allocations: 3.287 MB / 0.502 GB, free: 114.4 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009894/2.855, allocations: 4.845 MB / 0.5067 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/2.856, allocations: 450 kB / 0.5071 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004289/2.857, allocations: 10.91 kB / 0.5071 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/2.859, allocations: 71.59 kB / 0.5072 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/2.859, allocations: 73.86 kB / 0.5073 GB, free: 113.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/2.859, allocations: 37.62 kB / 0.5073 GB, free: 113.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002371/2.862, allocations: 1.112 MB / 0.5084 GB, free: 113.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003513/2.865, allocations: 0.5105 MB / 0.5089 GB, free: 113.4 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.0006122/2.866, allocations: 202.8 kB / 0.5091 GB, free: 113.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005119/2.871, allocations: 2.183 MB / 0.5112 GB, free: 113.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/2.871, allocations: 0 / 0.5112 GB, free: 113.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003083/2.874, allocations: 1.241 MB / 0.5124 GB, free: 112.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003193/2.877, allocations: 340.2 kB / 0.5128 GB, free: 112.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/2.892, allocations: 4.658 MB / 0.5173 GB, free: 111.9 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004036/2.896, allocations: 2.593 MB / 0.5199 GB, free: 111.2 MB / 394.7 MB Notification: Performance of SimCode: time 1.252e-06/2.896, allocations: 0 / 0.5199 GB, free: 111.2 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat