Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",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.958/1.958, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2382/2.196, allocations: 46.84 MB / 249.3 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/2.306, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3711/2.677, allocations: 103.4 MB / 397.2 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004332/2.678, allocations: 82.48 kB / 397.3 MB, free: 0.6328 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.294/2.972, allocations: 53.09 MB / 450.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/2.972, allocations: 19.88 kB / 450.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/2.974, allocations: 332.3 kB / 450.8 MB, free: 4.871 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/2.982, allocations: 1.779 MB / 452.5 MB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/2.982, allocations: 64 kB / 452.6 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007525/2.983, allocations: 119.9 kB / 452.7 MB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007168/2.99, allocations: 1.992 MB / 454.7 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008638/2.998, allocations: 2.338 MB / 457 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/2.999, allocations: 7.906 kB / 457.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002815/2.999, allocations: 0 / 457.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/2.999, allocations: 95.92 kB / 457.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/3.027, allocations: 7.995 MB / 465.1 MB, free: 6.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/3.03, allocations: 0.9088 MB / 466 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002554/3.033, allocations: 0.8862 MB / 466.9 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/3.033, allocations: 142 kB / 467.1 MB, free: 4.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/3.033, allocations: 47.56 kB / 467.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.218e-06/3.033, allocations: 0 / 467.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01791/3.051, allocations: 4.854 MB / 472 MB, free: 15.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/3.051, allocations: 64.72 kB / 472 MB, free: 15.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004445/3.056, allocations: 1.665 MB / 473.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00039/3.056, allocations: 29.7 kB / 473.7 MB, free: 13.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007905/3.057, allocations: 0.7863 MB / 474.5 MB, free: 12.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008084/3.058, allocations: 453.2 kB / 475 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/3.058, allocations: 4 kB / 475 MB, free: 12.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002191/3.058, allocations: 357.9 kB / 475.3 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/3.06, allocations: 0.7107 MB / 476 MB, free: 11.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002514/3.063, allocations: 0.9471 MB / 477 MB, free: 10.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002742/3.066, allocations: 0.8495 MB / 477.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/3.066, allocations: 0 / 477.8 MB, free: 9.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.009485/3.075, allocations: 2.626 MB / 480.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/3.075, allocations: 4 kB / 480.4 MB, free: 6.535 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/3.075, allocations: 8 kB / 480.5 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004386/3.08, allocations: 0.8385 MB / 481.3 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/3.082, allocations: 271.6 kB / 481.6 MB, free: 5.418 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02111/3.103, allocations: 8.449 MB / 490 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/3.106, allocations: 60 kB / 490.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003508/3.106, allocations: 51.98 kB / 490.1 MB, free: 12.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004083/3.107, allocations: 136.5 kB / 490.3 MB, free: 12.47 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008066/3.107, allocations: 185.7 kB / 490.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008256/3.116, allocations: 2.392 MB / 492.8 MB, free: 9.867 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/3.116, allocations: 20 kB / 492.8 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/3.116, allocations: 4 kB / 492.8 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-05/3.116, allocations: 7.969 kB / 492.9 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/3.132, allocations: 4.651 MB / 497.5 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.782e-05/3.132, allocations: 0 / 497.5 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002254/3.135, allocations: 215.8 kB / 497.7 MB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/3.138, allocations: 0.691 MB / 498.4 MB, free: 4.191 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/3.139, allocations: 23.97 kB / 498.4 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.152/3.291, allocations: 7.834 MB / 0.4944 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/3.291, allocations: 11.34 kB / 0.4944 GB, free: 137.1 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01189/3.303, allocations: 3.504 MB / 0.4978 GB, free: 136.8 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02043/3.323, allocations: 7.186 MB / 0.5049 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/3.325, allocations: 457.9 kB / 0.5053 GB, free: 135.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000759/3.326, allocations: 15.56 kB / 0.5053 GB, free: 135.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/3.328, allocations: 57.05 kB / 0.5054 GB, free: 135.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003258/3.328, allocations: 80.39 kB / 0.5054 GB, free: 135.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/3.328, allocations: 44.31 kB / 0.5055 GB, free: 135.9 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.003817/3.332, allocations: 1.273 MB / 0.5067 GB, free: 135.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004846/3.337, allocations: 0.5207 MB / 0.5072 GB, free: 135.8 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001431/3.339, allocations: 438.4 kB / 0.5076 GB, free: 135.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006941/3.346, allocations: 2.241 MB / 0.5098 GB, free: 135.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.12e-05/3.346, allocations: 5.844 kB / 0.5098 GB, free: 135.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004552/3.35, allocations: 1.544 MB / 0.5113 GB, free: 134.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/3.354, allocations: 308.4 kB / 0.5116 GB, free: 134.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/3.368, allocations: 4.326 MB / 0.5159 GB, free: 134.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004047/3.372, allocations: 2.15 MB / 0.518 GB, free: 133.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/3.372, allocations: 4.906 kB / 0.518 GB, free: 133.3 MB / 394.7 MB