Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMEE_LoadDump",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.677/1.677, allocations: 194.9 MB / 202.5 MB, free: 6.941 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2566/1.934, allocations: 46.84 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09045/2.024, allocations: 44.5 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3216/2.346, allocations: 109.8 MB / 403.6 MB, free: 12.5 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/2.346, allocations: 83.45 kB / 403.7 MB, free: 12.45 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: 724 * Number of variables: 724 Notification: Performance of Generate backend data structure: time 0.2698/2.616, allocations: 64.26 MB / 467.9 MB, free: 3.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/2.616, allocations: 11.94 kB / 468 MB, free: 3.625 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/2.619, allocations: 487.5 kB / 468.4 MB, free: 3.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/2.627, allocations: 2.053 MB / 470.5 MB, free: 1.039 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/2.627, allocations: 295.8 kB / 470.8 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008844/2.628, allocations: 171.8 kB / 470.9 MB, free: 0.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009337/2.637, allocations: 2.705 MB / 473.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01039/2.648, allocations: 3.207 MB / 476.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001105/2.648, allocations: 0 / 476.9 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004024/2.648, allocations: 7.984 kB / 476.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/2.649, allocations: 117.4 kB / 477 MB, free: 10.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03323/2.682, allocations: 11.28 MB / 488.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003515/2.685, allocations: 1.207 MB / 489.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003199/2.689, allocations: 1.223 MB / 490.7 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000442/2.689, allocations: 150.3 kB / 490.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002672/2.692, allocations: 1.079 MB / 491.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of pre-optimization done (n=155): time 4.438e-06/2.692, allocations: 0 / 491.9 MB, free: 11.04 MB / 394.7 MB Notification: Performance of matching and sorting (n=179): time 0.02335/2.715, allocations: 6.476 MB / 498.4 MB, free: 4.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/2.715, allocations: 308.7 kB / 498.7 MB, free: 4.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004094/2.72, allocations: 1.549 MB / 0.4885 GB, free: 2.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004359/2.72, allocations: 33.69 kB / 0.4885 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001358/2.721, allocations: 1.062 MB / 0.4896 GB, free: 1.473 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009877/2.722, allocations: 0.5697 MB / 0.4901 GB, free: 0.8945 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/2.723, allocations: 4 kB / 0.4901 GB, free: 0.8906 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/2.723, allocations: 390 kB / 0.4905 GB, free: 0.5039 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1295/2.852, allocations: 0.9984 MB / 0.4915 GB, free: 130.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/2.855, allocations: 1.508 MB / 0.493 GB, free: 130.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002762/2.858, allocations: 1.213 MB / 0.4941 GB, free: 130.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/2.858, allocations: 3.938 kB / 0.4942 GB, free: 130.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.009263/2.867, allocations: 3.415 MB / 0.4975 GB, free: 130.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001045/2.868, allocations: 5.15 MB / 0.5025 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.031e-05/2.868, allocations: 13.97 kB / 0.5025 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005165/2.874, allocations: 1.179 MB / 0.5037 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/2.877, allocations: 373.2 kB / 0.504 GB, free: 124.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/2.897, allocations: 13.22 MB / 0.5169 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003674/2.901, allocations: 112.8 kB / 0.5171 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/2.901, allocations: 82.83 kB / 0.5171 GB, free: 117.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/2.901, allocations: 10.34 kB / 0.5171 GB, free: 117.6 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00861/2.91, allocations: 3.156 MB / 0.5202 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-05/2.91, allocations: 13.03 kB / 0.5202 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004838/2.915, allocations: 1.186 MB / 0.5214 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002895/2.918, allocations: 358.5 kB / 0.5217 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02018/2.938, allocations: 13.21 MB / 0.5346 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/2.941, allocations: 109.6 kB / 0.5347 GB, free: 110.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/2.942, allocations: 79.36 kB / 0.5348 GB, free: 110.1 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[1].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[3].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: switch.closerWithArc[2].v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.loadControl.pulsStart,loadControl.pulsStart,$PRE.switch.closerWithArc[1].off,switch.closerWithArc[1].off,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[1].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (209): * Single equations (assignments): 202 * 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: 6 * 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%) 16,(3,100.0%) 24,(2,100.0%) 4} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006992/2.942, allocations: 191.6 kB / 0.535 GB, free: 110 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/2.943, allocations: 210.7 kB / 0.5352 GB, free: 109.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01033/2.954, allocations: 3.269 MB / 0.5384 GB, free: 109.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/2.954, allocations: 19.47 kB / 0.5384 GB, free: 109.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/2.954, allocations: 0 / 0.5384 GB, free: 109.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-05/2.954, allocations: 14.75 kB / 0.5384 GB, free: 109.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/2.971, allocations: 6.138 MB / 0.5444 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/2.971, allocations: 0 / 0.5444 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/2.973, allocations: 201.8 kB / 0.5446 GB, free: 107.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006212/2.979, allocations: 1.387 MB / 0.546 GB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/2.98, allocations: 24.62 kB / 0.546 GB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02454/3.004, allocations: 13.57 MB / 0.5592 GB, free: 98.39 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/3.004, allocations: 3.906 kB / 0.5592 GB, free: 98.39 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01275/3.017, allocations: 4.839 MB / 0.564 GB, free: 96.33 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02242/3.04, allocations: 9.62 MB / 0.5734 GB, free: 90.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0018/3.042, allocations: 0.5096 MB / 0.5739 GB, free: 89.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/3.042, allocations: 23.59 kB / 0.5739 GB, free: 89.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002631/3.045, allocations: 100.1 kB / 0.574 GB, free: 89.47 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004005/3.045, allocations: 134.3 kB / 0.5741 GB, free: 89.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/3.045, allocations: 47.56 kB / 0.5742 GB, free: 89.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00257/3.048, allocations: 1.168 MB / 0.5753 GB, free: 88.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.007422/3.055, allocations: 1.102 MB / 0.5764 GB, free: 87.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 8 (smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[1],smee.idq_rr[2],smee.idq_dr[1],speed.phi,speed.w,voltageController.I.y) * Number of discrete variables: 14 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,loadControl.pulsStart,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[1].tSwitch,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched,switch.closerWithArc[2].tSwitch,switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[3].tSwitch) * Number of discrete states: 6 (switch.closerWithArc[3].off,switch.closerWithArc[3].quenched,switch.closerWithArc[1].off,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].quenched) * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 4 {7 51,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008193/3.056, allocations: 335 kB / 0.5767 GB, free: 86.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0147/3.071, allocations: 5.77 MB / 0.5823 GB, free: 81.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/3.071, allocations: 0 / 0.5823 GB, free: 81.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006267/3.077, allocations: 2.133 MB / 0.5844 GB, free: 79.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003827/3.081, allocations: 392.5 kB / 0.5848 GB, free: 79.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01746/3.099, allocations: 5.201 MB / 0.5899 GB, free: 74.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003579/3.102, allocations: 2.418 MB / 0.5922 GB, free: 72.94 MB / 394.7 MB Notification: Performance of SimCode: time 1.343e-06/3.102, allocations: 0 / 0.5922 GB, free: 72.94 MB / 394.7 MB