Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_1_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.761/1.761, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1871/1.948, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/2.055, allocations: 38.77 MB / 258 MB, free: 4.359 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/2.354, allocations: 83.58 MB / 341.6 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003201/2.354, allocations: 88 kB / 341.7 MB, free: 4.711 MB / 282.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.1222/2.477, allocations: 24.51 MB / 366.2 MB, free: 472 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/2.477, allocations: 16 kB / 366.2 MB, free: 456 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/2.478, allocations: 150.6 kB / 366.4 MB, free: 304 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/2.48, allocations: 0.6807 MB / 367 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/2.48, allocations: 28 kB / 367.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/2.48, allocations: 51.25 kB / 367.1 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/2.482, allocations: 457.7 kB / 367.6 MB, free: 15.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/2.484, allocations: 0.6541 MB / 368.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/2.484, allocations: 5.188 kB / 368.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/2.484, allocations: 0 / 368.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.396e-05/2.484, allocations: 24 kB / 368.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007192/2.491, allocations: 3.322 MB / 371.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/2.492, allocations: 149.8 kB / 371.7 MB, free: 11.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002669/2.492, allocations: 92.86 kB / 371.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.558e-05/2.492, allocations: 4 kB / 371.8 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/2.492, allocations: 38.47 kB / 371.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/2.492, allocations: 0 / 371.8 MB, free: 11.24 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002502/2.495, allocations: 0.769 MB / 372.6 MB, free: 10.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/2.495, allocations: 85.11 kB / 372.7 MB, free: 10.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/2.496, allocations: 0.5152 MB / 373.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.663e-05/2.496, allocations: 25.7 kB / 373.2 MB, free: 9.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/2.497, allocations: 445.5 kB / 373.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/2.497, allocations: 106.5 kB / 373.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/2.497, allocations: 0 / 373.8 MB, free: 9.215 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003065/2.497, allocations: 370.8 kB / 374.1 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/2.498, allocations: 97.25 kB / 374.2 MB, free: 8.746 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006888/2.498, allocations: 388.9 kB / 374.6 MB, free: 8.227 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/2.499, allocations: 167 kB / 374.8 MB, free: 8.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/2.499, allocations: 11.84 kB / 374.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002361/2.502, allocations: 0.4907 MB / 375.3 MB, free: 7.555 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/2.502, allocations: 8 kB / 375.3 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/2.502, allocations: 8 kB / 375.3 MB, free: 7.539 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003392/2.502, allocations: 48.62 kB / 375.3 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001692/2.504, allocations: 143.8 kB / 375.5 MB, free: 7.348 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002247/2.506, allocations: 1.24 MB / 376.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001676/2.508, allocations: 39.95 kB / 376.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/2.508, allocations: 28 kB / 376.8 MB, free: 5.93 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.0002371/2.508, allocations: 136.7 kB / 376.9 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/2.509, allocations: 63.16 kB / 377 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/2.51, allocations: 265 kB / 377.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/2.51, allocations: 4 kB / 377.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/2.51, allocations: 0 / 377.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/2.51, allocations: 0 / 377.2 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003231/2.514, allocations: 0.9421 MB / 378.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/2.514, allocations: 0 / 378.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006513/2.514, allocations: 68.12 kB / 378.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001688/2.514, allocations: 24.84 kB / 378.3 MB, free: 4.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.684e-05/2.514, allocations: 4 kB / 378.3 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/2.516, allocations: 1.224 MB / 379.5 MB, free: 3 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.537e-06/2.516, allocations: 4.031 kB / 379.5 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001245/2.517, allocations: 0.5688 MB / 380.1 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001515/2.519, allocations: 1.05 MB / 381.1 MB, free: 1.203 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/2.519, allocations: 168.2 kB / 381.3 MB, free: 1.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/2.519, allocations: 3.938 kB / 381.3 MB, free: 1.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006638/2.52, allocations: 27.92 kB / 381.3 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/2.52, allocations: 23.97 kB / 381.3 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/2.52, allocations: 8 kB / 381.4 MB, free: 0.957 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0009669/2.521, allocations: 391.2 kB / 381.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001983/2.523, allocations: 172 kB / 381.9 MB, free: 424 kB / 314.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.0006444/2.524, allocations: 298 kB / 382.2 MB, free: 112 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001147/2.525, allocations: 395.2 kB / 382.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/2.525, allocations: 0 / 382.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004689/2.525, allocations: 206.9 kB / 382.8 MB, free: 15.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/2.527, allocations: 150.9 kB / 382.9 MB, free: 15.35 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/2.53, allocations: 1.041 MB / 384 MB, free: 14.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/2.531, allocations: 1.025 MB / 385 MB, free: 13.21 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/2.531, allocations: 0 / 385 MB, free: 13.21 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat