Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Steinmetz,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Steinmetz",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.94/1.94, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2463/2.187, allocations: 46.84 MB / 249.4 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09862/2.285, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/2.648, allocations: 103.9 MB / 397.8 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000338/2.649, allocations: 83.64 kB / 397.9 MB, free: 0.5078 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: 844 * Number of variables: 844 Notification: Performance of Generate backend data structure: time 0.4088/3.057, allocations: 82.67 MB / 480.6 MB, free: 6.637 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/3.057, allocations: 12 kB / 480.6 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008619/3.066, allocations: 0.7373 MB / 481.3 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01648/3.083, allocations: 3.304 MB / 484.6 MB, free: 2.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/3.083, allocations: 104 kB / 484.7 MB, free: 2.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00148/3.085, allocations: 195.9 kB / 484.9 MB, free: 2.223 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01452/3.099, allocations: 3.199 MB / 488.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/3.117, allocations: 3.712 MB / 491.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002264/3.117, allocations: 3.906 kB / 491.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001181/3.118, allocations: 7.984 kB / 491.8 MB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002589/3.118, allocations: 142.4 kB / 492 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2041/3.323, allocations: 13.36 MB / 0.4935 GB, free: 114.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003665/3.326, allocations: 1.154 MB / 0.4946 GB, free: 114.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/3.331, allocations: 1.346 MB / 0.4959 GB, free: 114.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01248/3.343, allocations: 3.404 MB / 0.4992 GB, free: 113.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.207e-05/3.343, allocations: 57.19 kB / 0.4993 GB, free: 113.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=171): time 7.584e-06/3.343, allocations: 1.172 kB / 0.4993 GB, free: 113.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=174): time 0.02079/3.364, allocations: 4.765 MB / 0.504 GB, free: 112.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/3.364, allocations: 70.91 kB / 0.504 GB, free: 112.7 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/3.368, allocations: 1.251 MB / 0.5052 GB, free: 112.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003988/3.369, allocations: 25.7 kB / 0.5053 GB, free: 112.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009459/3.37, allocations: 1.144 MB / 0.5064 GB, free: 112 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/3.37, allocations: 0.5647 MB / 0.5069 GB, free: 111.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/3.371, allocations: 3.812 kB / 0.5069 GB, free: 111.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002042/3.371, allocations: 384.8 kB / 0.5073 GB, free: 111.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/3.374, allocations: 0.7559 MB / 0.508 GB, free: 111.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003234/3.377, allocations: 1.224 MB / 0.5092 GB, free: 110.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004651/3.382, allocations: 1.036 MB / 0.5103 GB, free: 110.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.959e-05/3.382, allocations: 3.938 kB / 0.5103 GB, free: 110.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=252) (initialization): time 0.01076/3.393, allocations: 2.649 MB / 0.5128 GB, free: 110.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/3.393, allocations: 3.875 kB / 0.5128 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/3.393, allocations: 14.53 kB / 0.5129 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/3.395, allocations: 384.3 kB / 0.5132 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004302/3.399, allocations: 433.5 kB / 0.5136 GB, free: 110.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/3.411, allocations: 7.402 MB / 0.5209 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003106/3.414, allocations: 39.39 kB / 0.5209 GB, free: 105.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005416/3.414, allocations: 84.55 kB / 0.521 GB, free: 105.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (219): * Single equations (assignments): 214 * 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 {(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008541/3.415, allocations: 148.4 kB / 0.5211 GB, free: 105.4 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/3.416, allocations: 185.2 kB / 0.5213 GB, free: 105.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01012/3.426, allocations: 2.532 MB / 0.5238 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.692e-05/3.426, allocations: 17.16 kB / 0.5238 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.174e-05/3.426, allocations: 11.25 kB / 0.5238 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.852e-05/3.426, allocations: 7.078 kB / 0.5238 GB, free: 104.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01877/3.445, allocations: 5.392 MB / 0.5291 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/3.445, allocations: 3.656 kB / 0.5291 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002905/3.448, allocations: 235.6 kB / 0.5293 GB, free: 104.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/3.451, allocations: 0.5543 MB / 0.5298 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003886/3.452, allocations: 18.14 kB / 0.5299 GB, free: 104 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01983/3.472, allocations: 11.49 MB / 0.5411 GB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/3.472, allocations: 0 / 0.5411 GB, free: 96.52 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01204/3.484, allocations: 3.71 MB / 0.5447 GB, free: 95.56 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01505/3.499, allocations: 5.203 MB / 0.5498 GB, free: 92.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/3.501, allocations: 448.4 kB / 0.5502 GB, free: 92.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008966/3.502, allocations: 11.59 kB / 0.5502 GB, free: 92.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002693/3.504, allocations: 46.08 kB / 0.5503 GB, free: 92.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005637/3.505, allocations: 97.22 kB / 0.5504 GB, free: 92.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/3.505, allocations: 48.5 kB / 0.5504 GB, free: 92.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00276/3.508, allocations: 0.9469 MB / 0.5513 GB, free: 92.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005589/3.514, allocations: 0.5758 MB / 0.5519 GB, free: 92.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 9 (aimc.inertiaRotor.w,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (booleanStep.y,greaterThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (121): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 7,(3,100.0%) 9,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00108/3.515, allocations: 333.9 kB / 0.5522 GB, free: 91.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007195/3.522, allocations: 2.456 MB / 0.5546 GB, free: 90.69 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/3.522, allocations: 0 / 0.5546 GB, free: 90.69 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005096/3.527, allocations: 1.693 MB / 0.5563 GB, free: 89.69 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/3.532, allocations: 368.8 kB / 0.5566 GB, free: 89.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0217/3.553, allocations: 4.911 MB / 0.5614 GB, free: 87.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005823/3.559, allocations: 2.52 MB / 0.5639 GB, free: 86.51 MB / 394.7 MB Notification: Performance of SimCode: time 1.914e-06/3.559, allocations: 0 / 0.5639 GB, free: 86.51 MB / 394.7 MB