Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_AIMC_Transformer",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.753/1.753, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2092/1.962, allocations: 46.84 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08954/2.052, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3238/2.375, allocations: 106.7 MB / 400.5 MB, free: 15.16 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/2.376, allocations: 84.45 kB / 400.6 MB, free: 15.15 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.4404/2.816, allocations: 96.62 MB / 497.2 MB, free: 6.086 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.501e-05/2.816, allocations: 11.94 kB / 497.2 MB, free: 6.074 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/2.82, allocations: 0.5102 MB / 497.7 MB, free: 5.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009458/2.829, allocations: 2.572 MB / 0.4886 GB, free: 2.938 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002585/2.83, allocations: 116 kB / 0.4887 GB, free: 2.824 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/2.831, allocations: 211.9 kB / 0.4889 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1482/2.979, allocations: 3.795 MB / 0.4926 GB, free: 108.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01484/2.994, allocations: 4.398 MB / 0.4969 GB, free: 108.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/2.994, allocations: 3.594 kB / 0.4969 GB, free: 108.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006363/2.995, allocations: 7.344 kB / 0.4969 GB, free: 108.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/2.995, allocations: 180.5 kB / 0.4971 GB, free: 108.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03931/3.035, allocations: 14.38 MB / 0.5111 GB, free: 105.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004247/3.039, allocations: 1.634 MB / 0.5127 GB, free: 105.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00483/3.044, allocations: 1.985 MB / 0.5146 GB, free: 105.3 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/3.044, allocations: 141.7 kB / 0.5148 GB, free: 105.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/3.044, allocations: 57.25 kB / 0.5148 GB, free: 105.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 3.534e-05/3.044, allocations: 2.734 kB / 0.5148 GB, free: 105.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02361/3.068, allocations: 7.388 MB / 0.5221 GB, free: 104.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/3.068, allocations: 79.09 kB / 0.5221 GB, free: 104.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004562/3.073, allocations: 1.768 MB / 0.5239 GB, free: 103.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005341/3.073, allocations: 25.7 kB / 0.5239 GB, free: 103.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/3.074, allocations: 1.251 MB / 0.5251 GB, free: 103.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/3.075, allocations: 0.7096 MB / 0.5258 GB, free: 102.9 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/3.075, allocations: 0 / 0.5258 GB, free: 102.9 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/3.076, allocations: 396 kB / 0.5262 GB, free: 102.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/3.079, allocations: 1.251 MB / 0.5274 GB, free: 102.6 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/3.083, allocations: 1.665 MB / 0.529 GB, free: 102.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003802/3.087, allocations: 1.508 MB / 0.5305 GB, free: 102.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-05/3.087, allocations: 0 / 0.5305 GB, free: 102.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01093/3.098, allocations: 3.788 MB / 0.5342 GB, free: 101.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/3.098, allocations: 15.55 kB / 0.5342 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/3.098, allocations: 11.19 kB / 0.5342 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/3.101, allocations: 0.766 MB / 0.535 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004626/3.106, allocations: 0.5258 MB / 0.5355 GB, free: 101.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/3.119, allocations: 8.055 MB / 0.5433 GB, free: 97.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003335/3.123, allocations: 62.34 kB / 0.5434 GB, free: 97.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005353/3.123, allocations: 88.42 kB / 0.5435 GB, free: 97.23 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006/3.124, allocations: 153.7 kB / 0.5436 GB, free: 97.11 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000829/3.125, allocations: 251.8 kB / 0.5439 GB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009801/3.135, allocations: 3.537 MB / 0.5473 GB, free: 95.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/3.135, allocations: 21.75 kB / 0.5474 GB, free: 95.72 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/3.135, allocations: 11.47 kB / 0.5474 GB, free: 95.72 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.964e-05/3.135, allocations: 10.98 kB / 0.5474 GB, free: 95.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02087/3.156, allocations: 7.394 MB / 0.5546 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.337e-05/3.156, allocations: 7.203 kB / 0.5546 GB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/3.16, allocations: 391.6 kB / 0.555 GB, free: 92.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004912/3.165, allocations: 0.809 MB / 0.5558 GB, free: 92.68 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005158/3.165, allocations: 29.28 kB / 0.5558 GB, free: 92.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01504/3.18, allocations: 9.493 MB / 0.5651 GB, free: 85.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.696e-06/3.18, allocations: 3.875 kB / 0.5651 GB, free: 85.86 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01319/3.193, allocations: 5.626 MB / 0.5706 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01861/3.212, allocations: 7.965 MB / 0.5783 GB, free: 79.83 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/3.215, allocations: 0.6087 MB / 0.5789 GB, free: 79.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008094/3.215, allocations: 23.17 kB / 0.579 GB, free: 79.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002755/3.218, allocations: 77.16 kB / 0.579 GB, free: 79.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004935/3.219, allocations: 140 kB / 0.5792 GB, free: 79.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/3.219, allocations: 67.2 kB / 0.5792 GB, free: 79.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002997/3.222, allocations: 1.339 MB / 0.5805 GB, free: 78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004943/3.227, allocations: 0.7214 MB / 0.5812 GB, free: 77.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/3.228, allocations: 352.5 kB / 0.5816 GB, free: 77.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008785/3.237, allocations: 3.639 MB / 0.5851 GB, free: 73.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/3.237, allocations: 7.375 kB / 0.5851 GB, free: 73.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005977/3.243, allocations: 2.296 MB / 0.5874 GB, free: 71.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/3.248, allocations: 0.502 MB / 0.5879 GB, free: 71.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01993/3.268, allocations: 6.453 MB / 0.5942 GB, free: 65.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005928/3.274, allocations: 3.029 MB / 0.5971 GB, free: 63.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.593e-06/3.274, allocations: 0 / 0.5971 GB, free: 63.45 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat