Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Initialize",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.769/1.769, allocations: 194.9 MB / 202.5 MB, free: 14.31 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2411/2.01, allocations: 46.84 MB / 249.4 MB, free: 14.23 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/2.146, allocations: 44.5 MB / 293.9 MB, free: 1.656 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/2.455, allocations: 102.9 MB / 396.8 MB, free: 4.477 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/2.455, allocations: 88.5 kB / 396.9 MB, free: 4.43 MB / 306.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 819 * Number of variables: 819 Notification: Performance of Generate backend data structure: time 0.3138/2.769, allocations: 82.32 MB / 479.2 MB, free: 8.438 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/2.769, allocations: 8 kB / 479.2 MB, free: 8.43 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006888/2.776, allocations: 0.7412 MB / 479.9 MB, free: 7.684 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/2.789, allocations: 3.356 MB / 483.3 MB, free: 4.27 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/2.79, allocations: 100 kB / 483.4 MB, free: 4.172 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001176/2.791, allocations: 191.8 kB / 483.6 MB, free: 3.984 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01168/2.803, allocations: 3.219 MB / 486.8 MB, free: 0.7617 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/2.816, allocations: 3.684 MB / 490.5 MB, free: 12.96 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/2.816, allocations: 8 kB / 490.5 MB, free: 12.95 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004275/2.816, allocations: 4 kB / 490.5 MB, free: 12.95 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/2.817, allocations: 142.2 kB / 490.6 MB, free: 12.81 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1682/2.985, allocations: 13.04 MB / 0.4918 GB, free: 128 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/2.988, allocations: 1.062 MB / 0.4929 GB, free: 128 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003508/2.991, allocations: 1.381 MB / 0.4942 GB, free: 128 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008393/2.999, allocations: 3.286 MB / 0.4974 GB, free: 127.4 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/3, allocations: 47.5 kB / 0.4975 GB, free: 127.4 MB / 402.8 MB Notification: Performance of pre-optimization done (n=153): time 6.252e-06/3, allocations: 0 / 0.4975 GB, free: 127.4 MB / 402.8 MB Notification: Performance of matching and sorting (n=173): time 0.01837/3.018, allocations: 5.547 MB / 0.5029 GB, free: 126.6 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/3.018, allocations: 74.64 kB / 0.503 GB, free: 126.5 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/3.021, allocations: 1.362 MB / 0.5043 GB, free: 126.3 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003509/3.022, allocations: 27.11 kB / 0.5043 GB, free: 126.3 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006491/3.022, allocations: 1.136 MB / 0.5054 GB, free: 125.8 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006191/3.023, allocations: 0.5677 MB / 0.506 GB, free: 125.5 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/3.023, allocations: 0 / 0.506 GB, free: 125.5 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 0.0001445/3.023, allocations: 380.9 kB / 0.5064 GB, free: 125.2 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002035/3.025, allocations: 0.8267 MB / 0.5072 GB, free: 125.2 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002243/3.028, allocations: 1.275 MB / 0.5084 GB, free: 124.7 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/3.031, allocations: 1.103 MB / 0.5095 GB, free: 124.7 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.44e-05/3.031, allocations: 7.375 kB / 0.5095 GB, free: 124.7 MB / 402.8 MB Notification: Performance of matching and sorting (n=247) (initialization): time 0.007965/3.039, allocations: 2.742 MB / 0.5122 GB, free: 124.5 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/3.039, allocations: 3.969 kB / 0.5122 GB, free: 124.5 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.461e-05/3.039, allocations: 13.94 kB / 0.5122 GB, free: 124.5 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002349/3.041, allocations: 0.499 MB / 0.5127 GB, free: 124.5 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/3.045, allocations: 441.8 kB / 0.5131 GB, free: 124.5 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/3.056, allocations: 5.93 MB / 0.5189 GB, free: 121.9 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00265/3.059, allocations: 48.66 kB / 0.5189 GB, free: 121.9 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/3.059, allocations: 81.95 kB / 0.519 GB, free: 121.9 MB / 402.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * 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): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(8,56.2%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004581/3.06, allocations: 147.8 kB / 0.5192 GB, free: 121.8 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000433/3.06, allocations: 188.8 kB / 0.5193 GB, free: 121.7 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007535/3.068, allocations: 2.652 MB / 0.5219 GB, free: 121.3 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.343e-05/3.068, allocations: 18.84 kB / 0.5219 GB, free: 121.3 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-05/3.068, allocations: 11.34 kB / 0.522 GB, free: 121.3 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/3.068, allocations: 6.844 kB / 0.522 GB, free: 121.3 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/3.082, allocations: 5.71 MB / 0.5275 GB, free: 120.5 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/3.082, allocations: 7.406 kB / 0.5275 GB, free: 120.5 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002471/3.085, allocations: 264.6 kB / 0.5278 GB, free: 120.5 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/3.087, allocations: 0.4913 MB / 0.5283 GB, free: 120.4 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/3.087, allocations: 16.61 kB / 0.5283 GB, free: 120.4 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/3.1, allocations: 9.796 MB / 0.5379 GB, free: 114.1 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/3.1, allocations: 6.531 kB / 0.5379 GB, free: 114.1 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00959/3.11, allocations: 3.96 MB / 0.5417 GB, free: 112.4 MB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01201/3.122, allocations: 5.599 MB / 0.5472 GB, free: 109.4 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/3.124, allocations: 476.6 kB / 0.5477 GB, free: 109.1 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004787/3.124, allocations: 6.719 kB / 0.5477 GB, free: 109.1 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001872/3.126, allocations: 52.23 kB / 0.5477 GB, free: 109.1 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002872/3.126, allocations: 88.47 kB / 0.5478 GB, free: 109.1 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001561/3.127, allocations: 47.45 kB / 0.5478 GB, free: 109.1 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.002263/3.129, allocations: 1.028 MB / 0.5488 GB, free: 108.7 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.004317/3.133, allocations: 0.5827 MB / 0.5494 GB, free: 108.6 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.strayReluctance.Phi.re,aimc.stator.strayReluctance.Phi.im,aimc.stator.zeroInductor.i0,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 126 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 12,(1,100.0%) 1,(1,100.0%) 12,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007939/3.134, allocations: 326.1 kB / 0.5497 GB, free: 108.5 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.006423/3.14, allocations: 2.428 MB / 0.5521 GB, free: 107.5 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/3.141, allocations: 6.875 kB / 0.5521 GB, free: 107.5 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003821/3.144, allocations: 1.641 MB / 0.5537 GB, free: 106.6 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/3.148, allocations: 351.8 kB / 0.554 GB, free: 106.5 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0156/3.163, allocations: 4.963 MB / 0.5589 GB, free: 104.5 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004006/3.167, allocations: 2.571 MB / 0.5614 GB, free: 103.4 MB / 402.8 MB Notification: Performance of SimCode: time 1.733e-06/3.168, allocations: 0 / 0.5614 GB, free: 103.4 MB / 402.8 MB