Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",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.638/1.638, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2271/1.865, allocations: 46.83 MB / 249.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/1.954, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/2.249, allocations: 88.4 MB / 382.3 MB, free: 5.703 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/2.249, allocations: 85.25 kB / 382.3 MB, free: 5.688 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.1039/2.353, allocations: 24.42 MB / 406.8 MB, free: 11.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/2.353, allocations: 8 kB / 406.8 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/2.355, allocations: 154.6 kB / 406.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/2.357, allocations: 0.6797 MB / 407.6 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/2.357, allocations: 28 kB / 407.6 MB, free: 11.17 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002009/2.357, allocations: 59.02 kB / 407.7 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/2.359, allocations: 447.6 kB / 408.1 MB, free: 10.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/2.361, allocations: 0.6599 MB / 408.8 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.749e-05/2.361, allocations: 8.578 kB / 408.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.729e-05/2.361, allocations: 7.906 kB / 408.8 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/2.361, allocations: 20 kB / 408.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007916/2.369, allocations: 3.328 MB / 412.1 MB, free: 7.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004246/2.37, allocations: 144.8 kB / 412.3 MB, free: 7.344 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/2.37, allocations: 89.61 kB / 412.4 MB, free: 7.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/2.37, allocations: 7.984 kB / 412.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/2.37, allocations: 37.62 kB / 412.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 3.607e-06/2.37, allocations: 0 / 412.4 MB, free: 7.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002475/2.373, allocations: 0.7819 MB / 413.2 MB, free: 6.504 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.616e-05/2.373, allocations: 81.11 kB / 413.3 MB, free: 6.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/2.374, allocations: 0.5107 MB / 413.8 MB, free: 6.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.969e-05/2.374, allocations: 33.7 kB / 413.8 MB, free: 5.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/2.374, allocations: 439.1 kB / 414.2 MB, free: 5.598 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/2.375, allocations: 111.6 kB / 414.4 MB, free: 5.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/2.375, allocations: 0 / 414.4 MB, free: 5.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002206/2.375, allocations: 370.3 kB / 414.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003163/2.375, allocations: 97.88 kB / 414.8 MB, free: 5.102 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/2.376, allocations: 388.6 kB / 415.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/2.376, allocations: 160.5 kB / 415.3 MB, free: 4.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/2.376, allocations: 8 kB / 415.4 MB, free: 4.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001458/2.378, allocations: 0.4904 MB / 415.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/2.378, allocations: 4 kB / 415.8 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/2.378, allocations: 12.12 kB / 415.9 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/2.378, allocations: 32.84 kB / 415.9 MB, free: 4.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/2.379, allocations: 155 kB / 416 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/2.381, allocations: 1.237 MB / 417.3 MB, free: 2.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/2.382, allocations: 36.05 kB / 417.3 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.281e-05/2.382, allocations: 34.05 kB / 417.3 MB, free: 2.527 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 (75): * Single equations (assignments): 74 * 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.0001908/2.382, allocations: 131.9 kB / 417.5 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/2.382, allocations: 67.16 kB / 417.5 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009014/2.383, allocations: 274.8 kB / 417.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/2.383, allocations: 0 / 417.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/2.383, allocations: 0 / 417.8 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/2.383, allocations: 15.83 kB / 417.8 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/2.386, allocations: 0.9314 MB / 418.8 MB, free: 1.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/2.386, allocations: 4 kB / 418.8 MB, free: 1.328 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/2.386, allocations: 64.12 kB / 418.8 MB, free: 1.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001634/2.386, allocations: 24.28 kB / 418.8 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/2.387, allocations: 4 kB / 418.9 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001271/2.388, allocations: 1.225 MB / 420.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/2.388, allocations: 4 kB / 420.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/2.389, allocations: 0.5775 MB / 420.7 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001612/2.391, allocations: 1.04 MB / 421.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/2.391, allocations: 169.1 kB / 421.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/2.391, allocations: 4 kB / 421.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/2.392, allocations: 27.92 kB / 421.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/2.392, allocations: 31.75 kB / 421.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/2.392, allocations: 8 kB / 421.9 MB, free: 14.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000865/2.393, allocations: 390.3 kB / 422.3 MB, free: 13.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002145/2.395, allocations: 170.8 kB / 422.5 MB, free: 13.73 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 (28): * Single equations (assignments): 27 * 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.0006303/2.396, allocations: 283.8 kB / 422.8 MB, free: 13.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001198/2.397, allocations: 396.2 kB / 423.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/2.397, allocations: 0 / 423.1 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000533/2.398, allocations: 207.8 kB / 423.3 MB, free: 12.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001647/2.4, allocations: 155 kB / 423.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/2.403, allocations: 1.04 MB / 424.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001098/2.404, allocations: 1.025 MB / 425.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of SimCode: time 2.104e-06/2.404, allocations: 0 / 425.6 MB, free: 10.8 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_Temperature_res.mat does not exist to compare? outputFormat=mat