Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_DOL",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.565/1.565, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2404/1.805, allocations: 46.84 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/1.892, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.324/2.216, allocations: 116.3 MB / 410.2 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003027/2.217, allocations: 91.81 kB / 410.3 MB, free: 6.012 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: 1348 * Number of variables: 1348 Notification: Performance of Generate backend data structure: time 0.609/2.826, allocations: 121.1 MB / 0.5189 GB, free: 67.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/2.826, allocations: 11.31 kB / 0.5189 GB, free: 67.67 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008145/2.834, allocations: 1.01 MB / 0.5199 GB, free: 67.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/2.85, allocations: 4.609 MB / 0.5244 GB, free: 66.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/2.85, allocations: 169.7 kB / 0.5246 GB, free: 66.64 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001869/2.852, allocations: 317.4 kB / 0.5249 GB, free: 66.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01676/2.869, allocations: 5.235 MB / 0.53 GB, free: 66.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02084/2.89, allocations: 6.06 MB / 0.5359 GB, free: 65.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002338/2.89, allocations: 12.31 kB / 0.5359 GB, free: 65.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001087/2.891, allocations: 3.594 kB / 0.5359 GB, free: 65.95 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002232/2.892, allocations: 235 kB / 0.5361 GB, free: 65.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05415/2.946, allocations: 20.58 MB / 0.5562 GB, free: 58.96 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004284/2.95, allocations: 1.737 MB / 0.5579 GB, free: 58.29 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005602/2.956, allocations: 2.26 MB / 0.5601 GB, free: 57.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/2.97, allocations: 5.207 MB / 0.5652 GB, free: 54.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.831e-05/2.97, allocations: 58.22 kB / 0.5653 GB, free: 54.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=258): time 7.393e-06/2.97, allocations: 0 / 0.5653 GB, free: 54.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=277): time 0.02891/2.999, allocations: 8.747 MB / 0.5738 GB, free: 50.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/2.999, allocations: 87.05 kB / 0.5739 GB, free: 50.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005878/3.005, allocations: 2.144 MB / 0.576 GB, free: 49.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000642/3.006, allocations: 25.7 kB / 0.576 GB, free: 49.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001241/3.007, allocations: 1.822 MB / 0.5778 GB, free: 47.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001252/3.009, allocations: 0.9 MB / 0.5787 GB, free: 46.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/3.009, allocations: 0 / 0.5787 GB, free: 46.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002149/3.009, allocations: 432 kB / 0.5791 GB, free: 46.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003445/3.013, allocations: 1.442 MB / 0.5805 GB, free: 45.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004024/3.017, allocations: 2.187 MB / 0.5826 GB, free: 42.95 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00487/3.021, allocations: 1.865 MB / 0.5845 GB, free: 41.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/3.022, allocations: 4 kB / 0.5845 GB, free: 41.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=403) (initialization): time 0.01314/3.035, allocations: 4.704 MB / 0.589 GB, free: 37.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/3.035, allocations: 4 kB / 0.5891 GB, free: 37.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.496e-05/3.035, allocations: 26.66 kB / 0.5891 GB, free: 37.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/3.038, allocations: 0.7598 MB / 0.5898 GB, free: 36.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005777/3.044, allocations: 0.6925 MB / 0.5905 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0148/3.059, allocations: 12.52 MB / 0.6027 GB, free: 23.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004331/3.063, allocations: 80.64 kB / 0.6028 GB, free: 23.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006428/3.064, allocations: 134.9 kB / 0.6029 GB, free: 23.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (360): * Single equations (assignments): 350 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(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: 7 {(2,100.0%) 12,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007228/3.064, allocations: 191.7 kB / 0.6031 GB, free: 22.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009566/3.065, allocations: 304.2 kB / 0.6034 GB, free: 22.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/3.078, allocations: 4.387 MB / 0.6077 GB, free: 18.88 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.172e-05/3.078, allocations: 31.89 kB / 0.6077 GB, free: 18.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.356e-05/3.078, allocations: 8 kB / 0.6077 GB, free: 18.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-05/3.078, allocations: 13.59 kB / 0.6077 GB, free: 18.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/3.102, allocations: 9.192 MB / 0.6167 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/3.103, allocations: 10.59 kB / 0.6167 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004144/3.107, allocations: 439.5 kB / 0.6171 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00433/3.111, allocations: 0.9114 MB / 0.618 GB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005373/3.112, allocations: 31.59 kB / 0.6181 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/3.133, allocations: 15.45 MB / 0.6332 GB, free: 10.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/3.133, allocations: 4 kB / 0.6332 GB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01875/3.152, allocations: 6.829 MB / 0.6398 GB, free: 4.172 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1665/3.318, allocations: 9.404 MB / 0.649 GB, free: 109.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002751/3.321, allocations: 0.7146 MB / 0.6497 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001169/3.322, allocations: 19.86 kB / 0.6497 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003544/3.326, allocations: 90.44 kB / 0.6498 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/3.327, allocations: 170.7 kB / 0.65 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002836/3.327, allocations: 75.27 kB / 0.65 GB, free: 109.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003706/3.331, allocations: 1.597 MB / 0.6516 GB, free: 109.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006435/3.337, allocations: 0.9499 MB / 0.6525 GB, free: 109.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 14 (aimcM.inertiaRotor.w,aimcM.stator.core.Phi.re,aimcM.stator.core.Phi.im,aimcM.stator.zeroInductor.i0,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimcM.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,aimcE.inertiaRotor.w,aimcE.i_0_s,aimcE.idq_sr[1],aimcE.idq_sr[2],aimcE.idq_rr[1],aimcE.idq_rr[2],quadraticLoadTorqueM.phi,quadraticLoadTorqueE.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (218): * Single equations (assignments): 209 * 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: 8 * 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: 8 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001224/3.338, allocations: 395.1 kB / 0.6529 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01044/3.349, allocations: 4.607 MB / 0.6574 GB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/3.349, allocations: 3.844 kB / 0.6574 GB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007168/3.356, allocations: 2.94 MB / 0.6603 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/3.362, allocations: 0.6095 MB / 0.6609 GB, free: 107.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02613/3.388, allocations: 8.503 MB / 0.6692 GB, free: 105.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007486/3.396, allocations: 3.783 MB / 0.6729 GB, free: 104.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/3.396, allocations: 6.125 kB / 0.6729 GB, free: 104.9 MB / 410.7 MB