Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.759/1.759, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2215/1.98, allocations: 46.84 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09904/2.079, allocations: 44.5 MB / 293.9 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3112/2.391, allocations: 91.94 MB / 385.8 MB, free: 4.812 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/2.391, allocations: 78.45 kB / 385.9 MB, free: 4.801 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1202/2.511, allocations: 26.86 MB / 412.7 MB, free: 7.445 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/2.511, allocations: 8 kB / 412.7 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/2.513, allocations: 182.3 kB / 412.9 MB, free: 7.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004298/2.517, allocations: 0.7718 MB / 413.7 MB, free: 6.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.634e-05/2.517, allocations: 32 kB / 413.7 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002045/2.518, allocations: 66.83 kB / 413.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001803/2.519, allocations: 0.5122 MB / 414.3 MB, free: 6.234 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/2.522, allocations: 0.7401 MB / 415 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.195e-05/2.522, allocations: 0 / 415 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/2.522, allocations: 7.984 kB / 415.1 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.177e-05/2.522, allocations: 24 kB / 415.1 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00844/2.53, allocations: 3.768 MB / 418.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003983/2.531, allocations: 133.5 kB / 419 MB, free: 2.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/2.531, allocations: 126.9 kB / 419.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.888e-05/2.531, allocations: 288 / 419.1 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/2.531, allocations: 46.72 kB / 419.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 2.464e-06/2.531, allocations: 0 / 419.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002497/2.534, allocations: 0.8828 MB / 420 MB, free: 1.395 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/2.534, allocations: 81.11 kB / 420.1 MB, free: 1.297 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/2.535, allocations: 0.5757 MB / 420.7 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.716e-05/2.535, allocations: 29.64 kB / 420.7 MB, free: 0.8359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/2.536, allocations: 486.2 kB / 421.2 MB, free: 416 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/2.536, allocations: 124.8 kB / 421.3 MB, free: 308 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.882e-05/2.536, allocations: 4 kB / 421.3 MB, free: 304 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/2.536, allocations: 387.3 kB / 421.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/2.536, allocations: 109.1 kB / 421.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/2.537, allocations: 415.2 kB / 422.2 MB, free: 15.4 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/2.537, allocations: 193.9 kB / 422.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/2.538, allocations: 0 / 422.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001507/2.539, allocations: 0.5545 MB / 422.9 MB, free: 14.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/2.539, allocations: 8 kB / 423 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/2.539, allocations: 8 kB / 423 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002367/2.539, allocations: 36.59 kB / 423 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/2.54, allocations: 167.5 kB / 423.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/2.542, allocations: 1.24 MB / 424.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009628/2.543, allocations: 27.89 kB / 424.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.183e-05/2.543, allocations: 35.31 kB / 424.5 MB, free: 13.22 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001958/2.543, allocations: 140.5 kB / 424.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/2.543, allocations: 75.06 kB / 424.7 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009593/2.544, allocations: 306.7 kB / 425 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/2.544, allocations: 4 kB / 425 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/2.544, allocations: 4 kB / 425 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/2.544, allocations: 0 / 425 MB, free: 12.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/2.547, allocations: 1.063 MB / 426 MB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/2.547, allocations: 4 kB / 426 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006906/2.547, allocations: 80.11 kB / 426.1 MB, free: 11.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001405/2.548, allocations: 20.11 kB / 426.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/2.548, allocations: 3.188 kB / 426.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00124/2.549, allocations: 1.235 MB / 427.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.549, allocations: 0 / 427.4 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001257/2.55, allocations: 0.635 MB / 428 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001565/2.552, allocations: 1.129 MB / 429.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/2.552, allocations: 176.5 kB / 429.3 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001583/2.552, allocations: 4 kB / 429.3 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007062/2.553, allocations: 23.98 kB / 429.3 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/2.553, allocations: 23.41 kB / 429.4 MB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/2.553, allocations: 15.12 kB / 429.4 MB, free: 8.625 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009563/2.554, allocations: 432.4 kB / 429.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003878/2.558, allocations: 191.7 kB / 430 MB, free: 8.156 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001049/2.559, allocations: 276.6 kB / 430.3 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/2.561, allocations: 434 kB / 430.7 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/2.561, allocations: 4 kB / 430.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009485/2.562, allocations: 227.5 kB / 430.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/2.565, allocations: 167.5 kB / 431.1 MB, free: 7.227 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00538/2.57, allocations: 1.223 MB / 432.3 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/2.571, allocations: 1.085 MB / 433.4 MB, free: 4.859 MB / 330.7 MB Notification: Performance of SimCode: time 3.516e-06/2.571, allocations: 0 / 433.4 MB, free: 4.859 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat