Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Transformer",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.638/1.638, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2229/1.861, allocations: 46.83 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/1.95, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3186/2.268, allocations: 106.6 MB / 400.5 MB, free: 15.13 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/2.269, allocations: 86.14 kB / 400.6 MB, free: 15.12 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.411/2.68, allocations: 96.47 MB / 497 MB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/2.68, allocations: 11.94 kB / 497.1 MB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/2.683, allocations: 0.5063 MB / 497.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009838/2.693, allocations: 2.575 MB / 0.4884 GB, free: 3.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/2.693, allocations: 116 kB / 0.4885 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001328/2.694, allocations: 211.9 kB / 0.4887 GB, free: 2.773 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1416/2.836, allocations: 3.787 MB / 0.4924 GB, free: 108.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/2.849, allocations: 4.401 MB / 0.4967 GB, free: 107.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001348/2.849, allocations: 6.938 kB / 0.4967 GB, free: 107.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005008/2.85, allocations: 3.656 kB / 0.4967 GB, free: 107.7 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001818/2.85, allocations: 180.6 kB / 0.4969 GB, free: 107.7 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03794/2.888, allocations: 14.38 MB / 0.5109 GB, free: 104.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/2.892, allocations: 1.638 MB / 0.5125 GB, free: 104.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004657/2.897, allocations: 1.979 MB / 0.5145 GB, free: 104.9 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004382/2.897, allocations: 144.1 kB / 0.5146 GB, free: 104.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/2.897, allocations: 62.08 kB / 0.5147 GB, free: 104.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=201): time 5.19e-06/2.897, allocations: 0 / 0.5147 GB, free: 104.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=221): time 0.02375/2.921, allocations: 7.386 MB / 0.5219 GB, free: 103.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/2.921, allocations: 74.59 kB / 0.522 GB, free: 103.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/2.926, allocations: 1.767 MB / 0.5237 GB, free: 103.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005416/2.927, allocations: 29.39 kB / 0.5237 GB, free: 103.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000953/2.928, allocations: 1.254 MB / 0.5249 GB, free: 102.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00111/2.929, allocations: 0.715 MB / 0.5256 GB, free: 102.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/2.929, allocations: 0 / 0.5256 GB, free: 102.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/2.929, allocations: 395 kB / 0.526 GB, free: 102.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003326/2.932, allocations: 1.25 MB / 0.5272 GB, free: 102.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003736/2.936, allocations: 1.657 MB / 0.5288 GB, free: 101.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004181/2.94, allocations: 1.511 MB / 0.5303 GB, free: 101.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-05/2.941, allocations: 5.312 kB / 0.5303 GB, free: 101.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.01345/2.954, allocations: 3.787 MB / 0.534 GB, free: 101.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/2.954, allocations: 8.281 kB / 0.534 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.608e-05/2.954, allocations: 13.47 kB / 0.534 GB, free: 101.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003583/2.958, allocations: 0.773 MB / 0.5348 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004994/2.963, allocations: 0.523 MB / 0.5353 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/2.978, allocations: 8.049 MB / 0.5432 GB, free: 97.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003474/2.981, allocations: 64.72 kB / 0.5432 GB, free: 97.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004693/2.982, allocations: 81.94 kB / 0.5433 GB, free: 96.99 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.0006171/2.982, allocations: 160.2 kB / 0.5435 GB, free: 96.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007526/2.983, allocations: 249.4 kB / 0.5437 GB, free: 96.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01044/2.994, allocations: 3.535 MB / 0.5472 GB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/2.994, allocations: 22.47 kB / 0.5472 GB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/2.994, allocations: 7.25 kB / 0.5472 GB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/2.994, allocations: 14.73 kB / 0.5472 GB, free: 95.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/3.014, allocations: 7.4 MB / 0.5544 GB, free: 92.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/3.014, allocations: 7.688 kB / 0.5544 GB, free: 92.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003673/3.018, allocations: 387.4 kB / 0.5548 GB, free: 92.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/3.022, allocations: 0.8083 MB / 0.5556 GB, free: 92.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003613/3.023, allocations: 29.98 kB / 0.5556 GB, free: 92.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0163/3.039, allocations: 9.494 MB / 0.5649 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/3.039, allocations: 3.812 kB / 0.5649 GB, free: 85.62 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01415/3.053, allocations: 5.623 MB / 0.5704 GB, free: 83.18 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02101/3.074, allocations: 7.973 MB / 0.5782 GB, free: 79.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002656/3.077, allocations: 0.6045 MB / 0.5788 GB, free: 79.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001223/3.078, allocations: 18.56 kB / 0.5788 GB, free: 79.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003449/3.082, allocations: 79.05 kB / 0.5789 GB, free: 79.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007839/3.082, allocations: 145.7 kB / 0.579 GB, free: 79.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002927/3.083, allocations: 63.8 kB / 0.5791 GB, free: 79.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003722/3.086, allocations: 1.337 MB / 0.5804 GB, free: 78.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005191/3.092, allocations: 0.7286 MB / 0.5811 GB, free: 77.44 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.001/3.093, allocations: 343.4 kB / 0.5814 GB, free: 77.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008382/3.101, allocations: 3.643 MB / 0.585 GB, free: 73.89 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/3.101, allocations: 4 kB / 0.585 GB, free: 73.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005585/3.107, allocations: 2.298 MB / 0.5872 GB, free: 71.81 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/3.112, allocations: 0.5025 MB / 0.5877 GB, free: 71.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/3.131, allocations: 6.454 MB / 0.594 GB, free: 65.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004871/3.136, allocations: 3.024 MB / 0.597 GB, free: 63.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/3.136, allocations: 4 kB / 0.597 GB, free: 63.61 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat does not exist to compare? outputFormat=mat