Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_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.736/1.736, allocations: 194.9 MB / 202.5 MB, free: 6.82 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2848/2.021, allocations: 46.85 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/2.113, allocations: 44.5 MB / 293.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3017/2.415, allocations: 87.87 MB / 381.7 MB, free: 5.852 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/2.415, allocations: 81.23 kB / 381.8 MB, free: 5.84 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.09894/2.514, allocations: 23.53 MB / 405.3 MB, free: 12.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/2.514, allocations: 9.125 kB / 405.3 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008639/2.515, allocations: 151.1 kB / 405.5 MB, free: 12.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/2.517, allocations: 0.6851 MB / 406.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.338e-05/2.517, allocations: 28 kB / 406.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/2.517, allocations: 51.78 kB / 406.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001414/2.519, allocations: 428.9 kB / 406.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/2.521, allocations: 0.6349 MB / 407.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.281e-05/2.521, allocations: 7.906 kB / 407.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/2.521, allocations: 0 / 407.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/2.521, allocations: 20 kB / 407.3 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006906/2.528, allocations: 3.31 MB / 410.6 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/2.528, allocations: 120.6 kB / 410.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/2.528, allocations: 90.12 kB / 410.9 MB, free: 8.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/2.528, allocations: 4 kB / 410.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/2.528, allocations: 38.5 kB / 410.9 MB, free: 8.543 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/2.528, allocations: 0 / 410.9 MB, free: 8.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.002046/2.531, allocations: 0.7565 MB / 411.7 MB, free: 7.828 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/2.531, allocations: 81.34 kB / 411.7 MB, free: 7.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/2.532, allocations: 0.5227 MB / 412.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/2.532, allocations: 25.7 kB / 412.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/2.532, allocations: 428 kB / 412.7 MB, free: 6.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/2.532, allocations: 100.8 kB / 412.8 MB, free: 6.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/2.532, allocations: 3.938 kB / 412.8 MB, free: 6.836 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002079/2.532, allocations: 370.5 kB / 413.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/2.533, allocations: 103.1 kB / 413.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/2.533, allocations: 376.8 kB / 413.6 MB, free: 5.973 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004171/2.534, allocations: 169.2 kB / 413.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/2.534, allocations: 4 kB / 413.8 MB, free: 5.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001322/2.535, allocations: 490.4 kB / 414.3 MB, free: 5.449 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/2.535, allocations: 6.031 kB / 414.3 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/2.535, allocations: 15.98 kB / 414.3 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002118/2.535, allocations: 36.23 kB / 414.3 MB, free: 5.395 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/2.536, allocations: 151.2 kB / 414.5 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/2.538, allocations: 1.238 MB / 415.7 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009013/2.539, allocations: 23.98 kB / 415.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/2.539, allocations: 27.5 kB / 415.8 MB, free: 3.887 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001761/2.539, allocations: 143.7 kB / 415.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/2.539, allocations: 63.25 kB / 416 MB, free: 3.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/2.54, allocations: 257.5 kB / 416.2 MB, free: 3.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/2.54, allocations: 4 kB / 416.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/2.54, allocations: 0 / 416.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/2.54, allocations: 48 / 416.2 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001998/2.542, allocations: 0.9157 MB / 417.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/2.542, allocations: 224 / 417.1 MB, free: 2.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005639/2.543, allocations: 66.97 kB / 417.2 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/2.543, allocations: 24.78 kB / 417.2 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/2.543, allocations: 7.906 kB / 417.2 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/2.544, allocations: 1.228 MB / 418.5 MB, free: 1.316 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/2.544, allocations: 4 kB / 418.5 MB, free: 1.312 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001112/2.545, allocations: 0.5644 MB / 419 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001414/2.547, allocations: 1.02 MB / 420.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004133/2.547, allocations: 166.1 kB / 420.2 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/2.547, allocations: 7.984 kB / 420.2 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/2.548, allocations: 23.98 kB / 420.3 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.642e-05/2.548, allocations: 26.39 kB / 420.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/2.548, allocations: 4 kB / 420.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0008185/2.549, allocations: 400.9 kB / 420.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001892/2.551, allocations: 166.4 kB / 420.8 MB, free: 15.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0005299/2.551, allocations: 254.9 kB / 421.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001101/2.552, allocations: 379.1 kB / 421.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.88e-06/2.552, allocations: 4 kB / 421.5 MB, free: 14.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000456/2.553, allocations: 201.7 kB / 421.7 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/2.554, allocations: 152.4 kB / 421.8 MB, free: 14.31 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/2.558, allocations: 1.01 MB / 422.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/2.559, allocations: 1.01 MB / 423.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/2.559, allocations: 0 / 423.8 MB, free: 12.29 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat does not exist to compare? outputFormat=mat