Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_Start",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.682/1.682, allocations: 194.9 MB / 202.6 MB, free: 13.88 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1369/1.819, allocations: 46.83 MB / 249.4 MB, free: 14.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/2.028, allocations: 44.49 MB / 293.9 MB, free: 14.42 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/2.188, allocations: 92.38 MB / 386.3 MB, free: 5.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/2.189, allocations: 75.95 kB / 386.4 MB, free: 5.516 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.1274/2.316, allocations: 28.78 MB / 415.1 MB, free: 8.516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/2.316, allocations: 11.94 kB / 415.1 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/2.317, allocations: 198.3 kB / 415.3 MB, free: 8.309 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/2.32, allocations: 0.793 MB / 416.1 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/2.32, allocations: 32 kB / 416.2 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/2.32, allocations: 56 kB / 416.2 MB, free: 7.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001908/2.322, allocations: 0.5389 MB / 416.8 MB, free: 6.852 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/2.324, allocations: 0.7513 MB / 417.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/2.325, allocations: 0 / 417.5 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/2.325, allocations: 3.938 kB / 417.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/2.325, allocations: 24 kB / 417.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008388/2.333, allocations: 3.738 MB / 421.3 MB, free: 2.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005175/2.334, allocations: 191.7 kB / 421.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009347/2.335, allocations: 260.5 kB / 421.7 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/2.335, allocations: 4 kB / 421.7 MB, free: 1.641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/2.335, allocations: 42.47 kB / 421.8 MB, free: 1.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 5.25e-06/2.335, allocations: 7.984 kB / 421.8 MB, free: 1.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.003254/2.338, allocations: 1.096 MB / 422.9 MB, free: 436 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/2.338, allocations: 85.55 kB / 422.9 MB, free: 332 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1161/2.454, allocations: 0.5702 MB / 423.5 MB, free: 132.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/2.454, allocations: 29.64 kB / 423.5 MB, free: 132.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/2.455, allocations: 469.8 kB / 424 MB, free: 132.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/2.455, allocations: 168.5 kB / 424.2 MB, free: 132.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/2.455, allocations: 0 / 424.2 MB, free: 132.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/2.455, allocations: 384.1 kB / 424.5 MB, free: 131.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/2.455, allocations: 134 kB / 424.7 MB, free: 131.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/2.456, allocations: 425.8 kB / 425.1 MB, free: 131.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005374/2.456, allocations: 217.5 kB / 425.3 MB, free: 131.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/2.456, allocations: 6.406 kB / 425.3 MB, free: 131.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001743/2.458, allocations: 0.6581 MB / 426 MB, free: 131.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/2.458, allocations: 7.875 kB / 426 MB, free: 131.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/2.458, allocations: 9.688 kB / 426 MB, free: 131.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/2.459, allocations: 100.3 kB / 426.1 MB, free: 131.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/2.46, allocations: 164.2 kB / 426.2 MB, free: 131.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003006/2.463, allocations: 2.9 MB / 429.1 MB, free: 128.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/2.464, allocations: 27.8 kB / 429.2 MB, free: 128.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/2.464, allocations: 38.88 kB / 429.2 MB, free: 128.9 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/2.464, allocations: 132.3 kB / 429.3 MB, free: 128.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/2.464, allocations: 81 kB / 429.4 MB, free: 128.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/2.466, allocations: 443.6 kB / 429.8 MB, free: 128.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/2.466, allocations: 7.906 kB / 429.9 MB, free: 128.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/2.466, allocations: 0 / 429.9 MB, free: 128.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/2.466, allocations: 3.141 kB / 429.9 MB, free: 128.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/2.468, allocations: 1.263 MB / 431.1 MB, free: 128.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/2.468, allocations: 3.938 kB / 431.1 MB, free: 128.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006647/2.469, allocations: 76.34 kB / 431.2 MB, free: 128.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004336/2.47, allocations: 91.45 kB / 431.3 MB, free: 128.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/2.47, allocations: 3.344 kB / 431.3 MB, free: 128.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002939/2.473, allocations: 2.888 MB / 434.2 MB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/2.473, allocations: 6.438 kB / 434.2 MB, free: 125.8 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001659/2.474, allocations: 0.8066 MB / 435 MB, free: 125.5 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002041/2.476, allocations: 1.362 MB / 436.4 MB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/2.477, allocations: 187.6 kB / 436.5 MB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/2.477, allocations: 3.812 kB / 436.5 MB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008332/2.478, allocations: 26.64 kB / 436.6 MB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.346e-05/2.478, allocations: 30.98 kB / 436.6 MB, free: 124.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/2.478, allocations: 15.12 kB / 436.6 MB, free: 124.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0008354/2.479, allocations: 439.1 kB / 437 MB, free: 124.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002226/2.481, allocations: 203.5 kB / 437.2 MB, free: 124.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000451/2.482, allocations: 276.3 kB / 437.5 MB, free: 124.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/2.483, allocations: 0.618 MB / 438.1 MB, free: 124.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/2.483, allocations: 0 / 438.1 MB, free: 124.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008672/2.484, allocations: 409.5 kB / 438.5 MB, free: 124 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001516/2.485, allocations: 171.5 kB / 438.7 MB, free: 124 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/2.489, allocations: 1.236 MB / 439.9 MB, free: 123.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008086/2.49, allocations: 1.092 MB / 441 MB, free: 122.9 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/2.49, allocations: 0 / 441 MB, free: 122.9 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat