Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMS_Start",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.825/1.825, allocations: 194.9 MB / 202.5 MB, free: 6.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3024/2.127, allocations: 46.85 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/2.235, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3197/2.555, allocations: 105 MB / 398.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/2.555, allocations: 88.06 kB / 399 MB, free: 15.89 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.2904/2.845, allocations: 67.75 MB / 466.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/2.846, allocations: 8 kB / 466.7 MB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002951/2.849, allocations: 447.1 kB / 467.2 MB, free: 4.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009201/2.858, allocations: 2.394 MB / 469.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/2.858, allocations: 100 kB / 469.7 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/2.859, allocations: 179.9 kB / 469.8 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01273/2.872, allocations: 3.386 MB / 473.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01543/2.888, allocations: 3.861 MB / 477.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/2.888, allocations: 7.906 kB / 477.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007925/2.889, allocations: 4 kB / 477.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001907/2.889, allocations: 138 kB / 477.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04169/2.931, allocations: 13.09 MB / 490.3 MB, free: 12.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003739/2.934, allocations: 1.329 MB / 491.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004783/2.939, allocations: 1.592 MB / 493.2 MB, free: 9.723 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005156/2.94, allocations: 143 kB / 493.4 MB, free: 9.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/2.94, allocations: 52.56 kB / 493.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of pre-optimization done (n=167): time 4.869e-06/2.94, allocations: 0 / 493.4 MB, free: 9.504 MB / 394.7 MB Notification: Performance of matching and sorting (n=183): time 0.02342/2.963, allocations: 6.416 MB / 499.8 MB, free: 3.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/2.963, allocations: 73.41 kB / 499.9 MB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/2.969, allocations: 1.731 MB / 0.4899 GB, free: 1.164 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004875/2.969, allocations: 29.7 kB / 0.4899 GB, free: 1.129 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1362/3.105, allocations: 1.124 MB / 0.491 GB, free: 127.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009663/3.107, allocations: 0.5824 MB / 0.4916 GB, free: 127.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/3.107, allocations: 1.406 kB / 0.4916 GB, free: 127.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/3.107, allocations: 385.1 kB / 0.492 GB, free: 127.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002697/3.11, allocations: 1.083 MB / 0.493 GB, free: 127.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003197/3.113, allocations: 1.474 MB / 0.4945 GB, free: 127 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003361/3.116, allocations: 1.299 MB / 0.4957 GB, free: 127 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-05/3.116, allocations: 3.75 kB / 0.4957 GB, free: 127 MB / 394.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.009905/3.126, allocations: 3.378 MB / 0.499 GB, free: 126.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/3.126, allocations: 7.828 kB / 0.499 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.15e-05/3.126, allocations: 13.22 kB / 0.499 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/3.13, allocations: 0.8069 MB / 0.4998 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003831/3.134, allocations: 447.7 kB / 0.5003 GB, free: 126.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/3.148, allocations: 10.13 MB / 0.5102 GB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/3.151, allocations: 72.03 kB / 0.5102 GB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005556/3.152, allocations: 77.78 kB / 0.5103 GB, free: 120.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 207 * 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: 5 * 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: 5 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 5,(2,100.0%) 5,(2,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005422/3.152, allocations: 151.1 kB / 0.5104 GB, free: 120.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007744/3.153, allocations: 227 kB / 0.5107 GB, free: 120.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009309/3.162, allocations: 3.177 MB / 0.5138 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.302e-05/3.162, allocations: 19.28 kB / 0.5138 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.568e-05/3.162, allocations: 7.344 kB / 0.5138 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.55e-05/3.162, allocations: 9.75 kB / 0.5138 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01866/3.181, allocations: 6.49 MB / 0.5201 GB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.15e-05/3.181, allocations: 0 / 0.5201 GB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002955/3.184, allocations: 304.1 kB / 0.5204 GB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004293/3.188, allocations: 0.9038 MB / 0.5213 GB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004052/3.189, allocations: 22.23 kB / 0.5213 GB, free: 119.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01635/3.205, allocations: 12.65 MB / 0.5337 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/3.205, allocations: 6.531 kB / 0.5337 GB, free: 111 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01197/3.217, allocations: 4.921 MB / 0.5385 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0157/3.233, allocations: 6.988 MB / 0.5453 GB, free: 106.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002093/3.235, allocations: 0.5457 MB / 0.5458 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008088/3.236, allocations: 11.59 kB / 0.5459 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002803/3.239, allocations: 93.02 kB / 0.5459 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006166/3.239, allocations: 117.3 kB / 0.5461 GB, free: 106.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002349/3.24, allocations: 51 kB / 0.5461 GB, free: 106.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003091/3.243, allocations: 1.311 MB / 0.5474 GB, free: 105.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005342/3.248, allocations: 0.6519 MB / 0.548 GB, free: 105.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (aims.i_0_s,aims.idq_sr[1],aims.idq_sr[2],aims.idq_rr[1],aims.idq_rr[2],aims.i_0_r,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchedRheostat.booleanStep[1].y,switchedRheostat.booleanStep[2].y,switchedRheostat.booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (148): * Single equations (assignments): 140 * 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: 7 * 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: 7 {(2,100.0%) 14,(1,100.0%) 1,(2,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/3.249, allocations: 328.6 kB / 0.5483 GB, free: 105.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007615/3.257, allocations: 3.392 MB / 0.5516 GB, free: 104.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/3.257, allocations: 0 / 0.5516 GB, free: 104.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005853/3.263, allocations: 2.313 MB / 0.5539 GB, free: 102.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004703/3.268, allocations: 0.5034 MB / 0.5544 GB, free: 102.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02102/3.289, allocations: 5.572 MB / 0.5598 GB, free: 100.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006215/3.295, allocations: 2.729 MB / 0.5625 GB, free: 99.65 MB / 394.7 MB Notification: Performance of SimCode: time 1.833e-06/3.295, allocations: 2.438 kB / 0.5625 GB, free: 99.65 MB / 394.7 MB