Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Temperature",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.653/1.653, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2048/1.858, allocations: 46.82 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08567/1.944, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2862/2.23, allocations: 88.4 MB / 382.3 MB, free: 5.652 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/2.23, allocations: 84.17 kB / 382.4 MB, free: 5.641 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.09861/2.329, allocations: 24.42 MB / 406.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/2.329, allocations: 12 kB / 406.8 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008191/2.33, allocations: 150.6 kB / 407 MB, free: 11.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/2.332, allocations: 0.6759 MB / 407.7 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/2.332, allocations: 24 kB / 407.7 MB, free: 11.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/2.332, allocations: 63.14 kB / 407.7 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00148/2.334, allocations: 448.7 kB / 408.2 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/2.335, allocations: 0.6536 MB / 408.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.559e-05/2.336, allocations: 8.594 kB / 408.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-05/2.336, allocations: 7.891 kB / 408.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/2.336, allocations: 24 kB / 408.9 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006683/2.342, allocations: 3.329 MB / 412.2 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/2.343, allocations: 143.9 kB / 412.3 MB, free: 7.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/2.343, allocations: 95.17 kB / 412.4 MB, free: 7.301 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/2.343, allocations: 4 kB / 412.4 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/2.343, allocations: 33.5 kB / 412.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of pre-optimization done (n=26): time 2.946e-06/2.343, allocations: 0 / 412.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.002105/2.345, allocations: 0.7831 MB / 413.3 MB, free: 6.52 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/2.345, allocations: 80.48 kB / 413.3 MB, free: 6.426 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/2.346, allocations: 0.5157 MB / 413.8 MB, free: 6.035 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/2.346, allocations: 25.7 kB / 413.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/2.347, allocations: 441.8 kB / 414.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/2.347, allocations: 106.8 kB / 414.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/2.347, allocations: 0 / 414.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001896/2.347, allocations: 374.1 kB / 414.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/2.347, allocations: 101.9 kB / 414.9 MB, free: 5.117 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005441/2.348, allocations: 382 kB / 415.2 MB, free: 4.656 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/2.348, allocations: 164.7 kB / 415.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/2.348, allocations: 0 / 415.4 MB, free: 4.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001339/2.35, allocations: 0.4989 MB / 415.9 MB, free: 4.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/2.35, allocations: 4 kB / 415.9 MB, free: 4.117 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/2.35, allocations: 12 kB / 415.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/2.35, allocations: 36.41 kB / 416 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/2.351, allocations: 152.1 kB / 416.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/2.352, allocations: 1.24 MB / 417.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/2.353, allocations: 31.98 kB / 417.4 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-05/2.353, allocations: 41.55 kB / 417.4 MB, free: 2.539 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.0001611/2.354, allocations: 127.6 kB / 417.5 MB, free: 2.41 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001403/2.354, allocations: 67.16 kB / 417.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008387/2.355, allocations: 269.7 kB / 417.9 MB, free: 2.137 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/2.355, allocations: 4 kB / 417.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/2.355, allocations: 0 / 417.9 MB, free: 2.133 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/2.355, allocations: 15.83 kB / 417.9 MB, free: 2.117 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/2.357, allocations: 0.9261 MB / 418.8 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/2.357, allocations: 4 kB / 418.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006252/2.357, allocations: 71.7 kB / 418.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001427/2.358, allocations: 20.61 kB / 418.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/2.358, allocations: 0 / 418.9 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/2.359, allocations: 1.236 MB / 420.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/2.359, allocations: 4.156 kB / 420.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001196/2.36, allocations: 0.5777 MB / 420.7 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001523/2.362, allocations: 1.042 MB / 421.8 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003966/2.362, allocations: 166.9 kB / 421.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/2.362, allocations: 4 kB / 421.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006668/2.363, allocations: 27.92 kB / 422 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.435e-05/2.363, allocations: 27.25 kB / 422 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/2.363, allocations: 8 kB / 422 MB, free: 14.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0008479/2.364, allocations: 397.2 kB / 422.4 MB, free: 13.9 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002082/2.366, allocations: 169.9 kB / 422.6 MB, free: 13.75 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.0005724/2.367, allocations: 285.6 kB / 422.8 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001078/2.368, allocations: 391 kB / 423.2 MB, free: 13.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/2.368, allocations: 8.125 kB / 423.2 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004601/2.368, allocations: 198.2 kB / 423.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/2.37, allocations: 150.3 kB / 423.6 MB, free: 12.87 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/2.373, allocations: 1.045 MB / 424.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/2.374, allocations: 1.029 MB / 425.6 MB, free: 10.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.113e-06/2.374, allocations: 0 / 425.6 MB, free: 10.81 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat does not exist to compare? outputFormat=mat