Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMS_Start,fileNamePrefix="Modelica_3_2_1_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.649/1.649, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1984/1.847, allocations: 41.1 MB / 219.2 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09673/1.944, allocations: 38.77 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/2.263, allocations: 100.2 MB / 358.2 MB, free: 4.414 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/2.263, allocations: 83.77 kB / 358.3 MB, free: 4.371 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: 795 * Number of variables: 795 Notification: Performance of Generate backend data structure: time 0.4524/2.716, allocations: 67.89 MB / 426.2 MB, free: 77.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/2.716, allocations: 7.906 kB / 426.2 MB, free: 77.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002576/2.718, allocations: 450.7 kB / 426.7 MB, free: 77.65 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007689/2.726, allocations: 2.346 MB / 429 MB, free: 77.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/2.726, allocations: 100.1 kB / 429.1 MB, free: 77.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/2.728, allocations: 186.6 kB / 429.3 MB, free: 77.14 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01119/2.739, allocations: 3.37 MB / 432.7 MB, free: 77.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01282/2.752, allocations: 3.845 MB / 436.5 MB, free: 76.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001377/2.752, allocations: 6.531 kB / 436.5 MB, free: 76.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005243/2.753, allocations: 3.938 kB / 436.5 MB, free: 76.63 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/2.753, allocations: 133.8 kB / 436.6 MB, free: 76.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03483/2.788, allocations: 13.06 MB / 449.7 MB, free: 72.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/2.791, allocations: 1.326 MB / 451 MB, free: 72.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00493/2.796, allocations: 1.584 MB / 452.6 MB, free: 71.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006608/2.796, allocations: 143.5 kB / 452.7 MB, free: 71.82 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/2.797, allocations: 51.56 kB / 452.8 MB, free: 71.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=167): time 7.194e-06/2.797, allocations: 4.938 kB / 452.8 MB, free: 71.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=183): time 0.02416/2.821, allocations: 6.416 MB / 459.2 MB, free: 69.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/2.821, allocations: 78.19 kB / 459.3 MB, free: 69.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005262/2.826, allocations: 1.707 MB / 461 MB, free: 68.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004792/2.827, allocations: 25.7 kB / 461 MB, free: 68.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008224/2.827, allocations: 1.115 MB / 462.1 MB, free: 67.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008822/2.828, allocations: 0.5909 MB / 462.7 MB, free: 67.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/2.829, allocations: 0 / 462.7 MB, free: 67.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001789/2.829, allocations: 384.4 kB / 463.1 MB, free: 66.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/2.832, allocations: 1.083 MB / 464.2 MB, free: 66.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003198/2.835, allocations: 1.479 MB / 465.7 MB, free: 65.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/2.839, allocations: 1.297 MB / 467 MB, free: 65.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-05/2.839, allocations: 7.469 kB / 467 MB, free: 65 MB / 346.7 MB Notification: Performance of matching and sorting (n=250) (initialization): time 0.01126/2.85, allocations: 3.38 MB / 470.4 MB, free: 63.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.437e-05/2.85, allocations: 4.906 kB / 470.4 MB, free: 63.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/2.85, allocations: 12.72 kB / 470.4 MB, free: 63.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004473/2.855, allocations: 0.8114 MB / 471.2 MB, free: 63.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004032/2.859, allocations: 450.8 kB / 471.6 MB, free: 63.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01501/2.874, allocations: 10.13 MB / 481.8 MB, free: 55.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00331/2.877, allocations: 69.58 kB / 481.8 MB, free: 55.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007253/2.878, allocations: 73.78 kB / 481.9 MB, free: 55.66 MB / 346.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.0007011/2.879, allocations: 154.3 kB / 482 MB, free: 55.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008665/2.88, allocations: 232.2 kB / 482.3 MB, free: 55.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/2.89, allocations: 3.18 MB / 485.4 MB, free: 54.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-05/2.89, allocations: 16.88 kB / 485.5 MB, free: 54.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/2.89, allocations: 7.281 kB / 485.5 MB, free: 54.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-05/2.89, allocations: 7.359 kB / 485.5 MB, free: 54.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01955/2.91, allocations: 6.473 MB / 492 MB, free: 49.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/2.91, allocations: 0 / 492 MB, free: 49.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003069/2.913, allocations: 306.8 kB / 492.3 MB, free: 48.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004395/2.917, allocations: 0.9113 MB / 493.2 MB, free: 48.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004517/2.918, allocations: 11.23 kB / 493.2 MB, free: 48.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02142/2.939, allocations: 12.65 MB / 0.494 GB, free: 35.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/2.939, allocations: 0 / 0.494 GB, free: 35.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01203/2.951, allocations: 4.933 MB / 0.4988 GB, free: 31.22 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01781/2.969, allocations: 6.998 MB / 0.5056 GB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002939/2.972, allocations: 0.5485 MB / 0.5062 GB, free: 24.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001427/2.974, allocations: 11.89 kB / 0.5062 GB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003997/2.978, allocations: 86.78 kB / 0.5062 GB, free: 24.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008246/2.979, allocations: 119.9 kB / 0.5064 GB, free: 24.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003515/2.979, allocations: 47.94 kB / 0.5064 GB, free: 24.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.003588/2.983, allocations: 1.294 MB / 0.5077 GB, free: 23.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005792/2.988, allocations: 0.6487 MB / 0.5083 GB, free: 22.39 MB / 346.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.0009916/2.989, allocations: 342.7 kB / 0.5086 GB, free: 22.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008033/2.997, allocations: 3.38 MB / 0.5119 GB, free: 18.94 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/2.998, allocations: 2.438 kB / 0.5119 GB, free: 18.94 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00558/3.003, allocations: 2.312 MB / 0.5142 GB, free: 16.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005211/3.008, allocations: 0.4903 MB / 0.5147 GB, free: 16.36 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01944/3.028, allocations: 5.568 MB / 0.5201 GB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00653/3.034, allocations: 2.735 MB / 0.5228 GB, free: 9.258 MB / 346.7 MB Notification: Performance of SimCode: time 1.653e-06/3.034, allocations: 0 / 0.5228 GB, free: 9.258 MB / 346.7 MB