Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_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.601/1.601, allocations: 171.2 MB / 178.2 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2123/1.814, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09439/1.908, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/2.234, allocations: 101.7 MB / 359.7 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/2.235, allocations: 86.08 kB / 359.8 MB, free: 2.742 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: 929 * Number of variables: 929 Notification: Performance of Generate backend data structure: time 0.5967/2.831, allocations: 96.88 MB / 456.7 MB, free: 75.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/2.832, allocations: 7.875 kB / 456.7 MB, free: 75.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/2.835, allocations: 0.5143 MB / 457.2 MB, free: 75.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009128/2.844, allocations: 2.518 MB / 459.7 MB, free: 74.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002383/2.845, allocations: 121.4 kB / 459.8 MB, free: 74.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/2.846, allocations: 209.9 kB / 460 MB, free: 74.67 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0128/2.859, allocations: 3.768 MB / 463.8 MB, free: 73.17 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/2.876, allocations: 4.379 MB / 468.2 MB, free: 71.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/2.876, allocations: 7.406 kB / 468.2 MB, free: 71.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001193/2.877, allocations: 3.562 kB / 468.2 MB, free: 71.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000239/2.878, allocations: 178.9 kB / 468.4 MB, free: 71.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04355/2.921, allocations: 14.31 MB / 482.7 MB, free: 64.03 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/2.926, allocations: 1.634 MB / 484.3 MB, free: 62.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005179/2.931, allocations: 1.994 MB / 486.3 MB, free: 61.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004676/2.931, allocations: 139.7 kB / 486.4 MB, free: 60.88 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.12e-05/2.931, allocations: 65.2 kB / 486.5 MB, free: 60.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=201): time 4.519e-06/2.931, allocations: 0 / 486.5 MB, free: 60.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=221): time 0.03209/2.963, allocations: 7.384 MB / 493.9 MB, free: 54.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/2.964, allocations: 77.41 kB / 494 MB, free: 54.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006972/2.971, allocations: 1.746 MB / 495.7 MB, free: 52.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005584/2.971, allocations: 29.64 kB / 495.7 MB, free: 52.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008514/2.972, allocations: 1.253 MB / 497 MB, free: 51.03 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/2.973, allocations: 0.7042 MB / 497.7 MB, free: 50.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003399/2.974, allocations: 4 kB / 497.7 MB, free: 50.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/2.974, allocations: 402.4 kB / 498.1 MB, free: 49.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/2.977, allocations: 1.246 MB / 499.3 MB, free: 48.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/2.98, allocations: 1.666 MB / 0.4893 GB, free: 46.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003548/2.984, allocations: 1.505 MB / 0.4907 GB, free: 45.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.875e-05/2.984, allocations: 4 kB / 0.4907 GB, free: 45.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01157/2.995, allocations: 3.788 MB / 0.4944 GB, free: 41.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/2.996, allocations: 8 kB / 0.4944 GB, free: 41.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/2.996, allocations: 12 kB / 0.4944 GB, free: 41.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/3, allocations: 0.755 MB / 0.4952 GB, free: 40.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007112/3.007, allocations: 0.5266 MB / 0.4957 GB, free: 40.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02118/3.028, allocations: 8.066 MB / 0.5036 GB, free: 31.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/3.032, allocations: 60 kB / 0.5036 GB, free: 31.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006541/3.032, allocations: 95.45 kB / 0.5037 GB, free: 31.65 MB / 346.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.0006096/3.033, allocations: 148.4 kB / 0.5039 GB, free: 31.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008585/3.034, allocations: 245 kB / 0.5041 GB, free: 31.26 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01171/3.046, allocations: 3.55 MB / 0.5076 GB, free: 27.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-05/3.046, allocations: 20 kB / 0.5076 GB, free: 27.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.299e-05/3.046, allocations: 8 kB / 0.5076 GB, free: 27.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.432e-05/3.046, allocations: 7.969 kB / 0.5076 GB, free: 27.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/3.067, allocations: 7.375 MB / 0.5148 GB, free: 20.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.969e-05/3.067, allocations: 4 kB / 0.5148 GB, free: 20.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003629/3.071, allocations: 395.8 kB / 0.5152 GB, free: 19.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/3.075, allocations: 0.8047 MB / 0.516 GB, free: 19.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004552/3.075, allocations: 23.97 kB / 0.516 GB, free: 19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/3.09, allocations: 9.506 MB / 0.5253 GB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/3.09, allocations: 4 kB / 0.5253 GB, free: 9.039 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01444/3.105, allocations: 5.628 MB / 0.5308 GB, free: 3.262 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1694/3.274, allocations: 7.976 MB / 0.5386 GB, free: 101.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/3.277, allocations: 0.6095 MB / 0.5392 GB, free: 101.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009102/3.278, allocations: 17.84 kB / 0.5392 GB, free: 101.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002873/3.281, allocations: 78.59 kB / 0.5392 GB, free: 101.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005593/3.281, allocations: 137.1 kB / 0.5394 GB, free: 101.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002467/3.282, allocations: 61.7 kB / 0.5394 GB, free: 101.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003334/3.285, allocations: 1.318 MB / 0.5407 GB, free: 101.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005214/3.29, allocations: 0.7295 MB / 0.5414 GB, free: 101.4 MB / 346.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.001165/3.291, allocations: 347.1 kB / 0.5418 GB, free: 101.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00928/3.301, allocations: 3.644 MB / 0.5453 GB, free: 100.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/3.301, allocations: 2.688 kB / 0.5453 GB, free: 100.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009821/3.311, allocations: 2.297 MB / 0.5476 GB, free: 100.3 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/3.317, allocations: 0.4973 MB / 0.5481 GB, free: 100.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/3.338, allocations: 6.432 MB / 0.5543 GB, free: 99.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006639/3.345, allocations: 3.015 MB / 0.5573 GB, free: 98.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.613e-06/3.345, allocations: 0 / 0.5573 GB, free: 98.27 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat