Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_LoadDump,fileNamePrefix="Modelica_3_2_1_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.637/1.637, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1992/1.836, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/1.926, allocations: 38.77 MB / 258 MB, free: 4.348 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3275/2.253, allocations: 104.6 MB / 362.6 MB, free: 44 kB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/2.254, allocations: 83.83 kB / 362.7 MB, free: 0 / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.5734/2.827, allocations: 63.83 MB / 426.5 MB, free: 80.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/2.827, allocations: 7.875 kB / 426.5 MB, free: 80.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/2.832, allocations: 489 kB / 427 MB, free: 80.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/2.843, allocations: 1.993 MB / 429 MB, free: 80.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005575/2.844, allocations: 299.3 kB / 429.3 MB, free: 79.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/2.845, allocations: 171.9 kB / 429.5 MB, free: 79.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0134/2.859, allocations: 2.714 MB / 432.2 MB, free: 79.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01559/2.874, allocations: 3.223 MB / 435.4 MB, free: 79.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/2.875, allocations: 11.11 kB / 435.4 MB, free: 79.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008305/2.875, allocations: 3.781 kB / 435.4 MB, free: 79.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001797/2.876, allocations: 110.5 kB / 435.5 MB, free: 79.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04748/2.923, allocations: 11.32 MB / 446.9 MB, free: 76.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003765/2.927, allocations: 1.201 MB / 448.1 MB, free: 76.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003103/2.93, allocations: 1.223 MB / 449.3 MB, free: 75.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004586/2.931, allocations: 137.5 kB / 449.4 MB, free: 75.68 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002654/2.933, allocations: 1.085 MB / 450.5 MB, free: 75.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=155): time 6.752e-06/2.933, allocations: 3.703 kB / 450.5 MB, free: 75.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=179): time 0.02249/2.956, allocations: 6.474 MB / 457 MB, free: 72.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/2.956, allocations: 329.9 kB / 457.3 MB, free: 72.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003644/2.96, allocations: 1.49 MB / 458.8 MB, free: 71.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004971/2.96, allocations: 41.05 kB / 458.8 MB, free: 71.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/2.961, allocations: 1.051 MB / 459.9 MB, free: 70.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008434/2.962, allocations: 0.5774 MB / 460.5 MB, free: 70.46 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/2.962, allocations: 0 / 460.5 MB, free: 70.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/2.963, allocations: 386.3 kB / 460.8 MB, free: 70.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/2.965, allocations: 1.003 MB / 461.8 MB, free: 69.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002968/2.968, allocations: 1.526 MB / 463.4 MB, free: 68.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/2.971, allocations: 1.206 MB / 464.6 MB, free: 68.31 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/2.971, allocations: 2.75 kB / 464.6 MB, free: 68.31 MB / 346.7 MB Notification: Performance of matching and sorting (n=261) (initialization): time 0.01626/2.988, allocations: 3.478 MB / 468 MB, free: 67.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/2.988, allocations: 5.688 kB / 468.1 MB, free: 67.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.426e-05/2.988, allocations: 12.28 kB / 468.1 MB, free: 67.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005717/2.994, allocations: 1.179 MB / 469.2 MB, free: 66.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003347/2.997, allocations: 370.5 kB / 469.6 MB, free: 66.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/3.02, allocations: 13.21 MB / 482.8 MB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003715/3.023, allocations: 112.5 kB / 482.9 MB, free: 57.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006157/3.024, allocations: 83.2 kB / 483 MB, free: 57.09 MB / 346.7 MB 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] 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] 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].tSwitch,switch.closerWithArc[1].tSwitch,$PRE.switch.closerWithArc[1].quenched,switch.closerWithArc[1].quenched,$PRE.switch.closerWithArc[2].off,switch.closerWithArc[2].off,$PRE.switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].tSwitch,$PRE.switch.closerWithArc[2].quenched,switch.closerWithArc[2].quenched,$PRE.switch.closerWithArc[3].off,switch.closerWithArc[3].off,$PRE.switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].tSwitch,$PRE.switch.closerWithArc[3].quenched,switch.closerWithArc[3].quenched) * 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.0006886/3.025, allocations: 182.3 kB / 483.2 MB, free: 56.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007866/3.026, allocations: 210.6 kB / 483.4 MB, free: 56.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/3.038, allocations: 3.275 MB / 486.7 MB, free: 54.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/3.038, allocations: 16 kB / 486.7 MB, free: 54.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/3.038, allocations: 4 kB / 486.7 MB, free: 54.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.696e-05/3.038, allocations: 7.406 kB / 486.7 MB, free: 54.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/3.064, allocations: 6.146 MB / 492.8 MB, free: 49.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.73e-05/3.064, allocations: 4 kB / 492.8 MB, free: 49.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/3.066, allocations: 202.6 kB / 493 MB, free: 49.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008523/3.075, allocations: 1.38 MB / 494.4 MB, free: 48.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006/3.075, allocations: 23.22 kB / 494.4 MB, free: 48.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02815/3.104, allocations: 13.56 MB / 0.4961 GB, free: 35.56 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.729e-06/3.104, allocations: 4 kB / 0.4961 GB, free: 35.56 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01266/3.116, allocations: 4.842 MB / 0.5008 GB, free: 31.21 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02773/3.144, allocations: 9.616 MB / 0.5102 GB, free: 22.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002088/3.146, allocations: 0.5067 MB / 0.5107 GB, free: 22.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008883/3.147, allocations: 25.3 kB / 0.5107 GB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/3.15, allocations: 101.3 kB / 0.5108 GB, free: 22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005763/3.151, allocations: 132.7 kB / 0.511 GB, free: 21.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/3.151, allocations: 49.77 kB / 0.511 GB, free: 21.89 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002668/3.154, allocations: 1.125 MB / 0.5121 GB, free: 20.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00476/3.159, allocations: 0.6356 MB / 0.5127 GB, free: 20.25 MB / 346.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].tSwitch,switch.closerWithArc[1].quenched,switch.closerWithArc[2].off,switch.closerWithArc[2].tSwitch,switch.closerWithArc[2].quenched,switch.closerWithArc[3].off,switch.closerWithArc[3].tSwitch,switch.closerWithArc[3].quenched) * 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.0008226/3.159, allocations: 319.4 kB / 0.513 GB, free: 19.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008465/3.168, allocations: 3.32 MB / 0.5163 GB, free: 16.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/3.168, allocations: 4.5 kB / 0.5163 GB, free: 16.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006307/3.174, allocations: 2.135 MB / 0.5184 GB, free: 14.92 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003767/3.178, allocations: 381 kB / 0.5187 GB, free: 14.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/3.197, allocations: 5.085 MB / 0.5237 GB, free: 9.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003958/3.201, allocations: 2.411 MB / 0.526 GB, free: 7.043 MB / 346.7 MB Notification: Performance of SimCode: time 2.415e-06/3.201, allocations: 0 / 0.526 GB, free: 7.043 MB / 346.7 MB