Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_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.821/1.821, allocations: 194.9 MB / 202.5 MB, free: 14.27 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2566/2.078, allocations: 46.84 MB / 249.4 MB, free: 14.26 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/2.254, allocations: 44.5 MB / 293.9 MB, free: 1.688 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.419/2.673, allocations: 92.38 MB / 386.2 MB, free: 14.95 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/2.673, allocations: 77.48 kB / 386.3 MB, free: 14.91 MB / 306.8 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.1281/2.802, allocations: 28.76 MB / 415.1 MB, free: 7.258 MB / 322.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/2.802, allocations: 8 kB / 415.1 MB, free: 7.25 MB / 322.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/2.803, allocations: 194.3 kB / 415.3 MB, free: 7.059 MB / 322.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002426/2.805, allocations: 0.8008 MB / 416.1 MB, free: 6.391 MB / 322.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/2.805, allocations: 32 kB / 416.1 MB, free: 6.359 MB / 322.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/2.805, allocations: 66.61 kB / 416.2 MB, free: 6.297 MB / 322.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001797/2.807, allocations: 0.5354 MB / 416.7 MB, free: 5.977 MB / 322.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/2.809, allocations: 0.7518 MB / 417.5 MB, free: 5.418 MB / 322.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.804e-05/2.809, allocations: 4 kB / 417.5 MB, free: 5.414 MB / 322.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.96e-05/2.81, allocations: 0 / 417.5 MB, free: 5.414 MB / 322.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.455e-05/2.81, allocations: 24 kB / 417.5 MB, free: 5.391 MB / 322.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008175/2.818, allocations: 3.735 MB / 421.2 MB, free: 2.223 MB / 322.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004782/2.818, allocations: 189.2 kB / 421.4 MB, free: 2.094 MB / 322.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/2.819, allocations: 254.9 kB / 421.6 MB, free: 1.906 MB / 322.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.722e-05/2.819, allocations: 4 kB / 421.7 MB, free: 1.902 MB / 322.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/2.819, allocations: 44.59 kB / 421.7 MB, free: 1.852 MB / 322.8 MB Notification: Performance of pre-optimization done (n=42): time 2.565e-06/2.819, allocations: 4 kB / 421.7 MB, free: 1.848 MB / 322.8 MB Notification: Performance of matching and sorting (n=47): time 0.003202/2.823, allocations: 1.096 MB / 422.8 MB, free: 0.8828 MB / 322.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/2.823, allocations: 85.55 kB / 422.9 MB, free: 0.7812 MB / 322.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/2.824, allocations: 0.5773 MB / 423.5 MB, free: 364 kB / 322.8 MB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/2.824, allocations: 26.2 kB / 423.5 MB, free: 332 kB / 322.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/2.824, allocations: 472.2 kB / 423.9 MB, free: 15.91 MB / 338.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/2.825, allocations: 169.8 kB / 424.1 MB, free: 15.76 MB / 338.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/2.825, allocations: 0 / 424.1 MB, free: 15.76 MB / 338.8 MB Notification: Performance of setup shared object (initialization): time 0.0002217/2.825, allocations: 383.4 kB / 424.5 MB, free: 15.41 MB / 338.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/2.825, allocations: 138.3 kB / 424.6 MB, free: 15.3 MB / 338.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006503/2.826, allocations: 428.4 kB / 425 MB, free: 14.75 MB / 338.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005814/2.827, allocations: 208.7 kB / 425.2 MB, free: 14.54 MB / 338.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/2.827, allocations: 4 kB / 425.2 MB, free: 14.54 MB / 338.8 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001948/2.829, allocations: 0.6641 MB / 425.9 MB, free: 13.86 MB / 338.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/2.829, allocations: 4 kB / 425.9 MB, free: 13.86 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/2.829, allocations: 15.91 kB / 425.9 MB, free: 13.84 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/2.829, allocations: 102 kB / 426 MB, free: 13.73 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/2.83, allocations: 155.7 kB / 426.2 MB, free: 13.58 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/2.834, allocations: 2.898 MB / 429.1 MB, free: 10.46 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/2.835, allocations: 24 kB / 429.1 MB, free: 10.43 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.647e-05/2.835, allocations: 39.94 kB / 429.1 MB, free: 10.39 MB / 338.8 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.0001943/2.836, allocations: 136.7 kB / 429.3 MB, free: 10.25 MB / 338.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001696/2.836, allocations: 82.97 kB / 429.4 MB, free: 10.17 MB / 338.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/2.837, allocations: 444.8 kB / 429.8 MB, free: 9.719 MB / 338.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/2.837, allocations: 4 kB / 429.8 MB, free: 9.715 MB / 338.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/2.837, allocations: 4.062 kB / 429.8 MB, free: 9.711 MB / 338.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/2.837, allocations: 7.984 kB / 429.8 MB, free: 9.703 MB / 338.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/2.84, allocations: 1.26 MB / 431.1 MB, free: 8.371 MB / 338.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/2.84, allocations: 0 / 431.1 MB, free: 8.371 MB / 338.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006604/2.841, allocations: 84.05 kB / 431.1 MB, free: 8.289 MB / 338.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/2.841, allocations: 85.67 kB / 431.2 MB, free: 8.199 MB / 338.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/2.842, allocations: 4 kB / 431.2 MB, free: 8.195 MB / 338.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/2.845, allocations: 2.882 MB / 434.1 MB, free: 5.074 MB / 338.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.009e-05/2.845, allocations: 8.188 kB / 434.1 MB, free: 5.066 MB / 338.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001922/2.847, allocations: 0.8087 MB / 434.9 MB, free: 4.168 MB / 338.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002368/2.849, allocations: 1.355 MB / 436.3 MB, free: 2.723 MB / 338.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/2.85, allocations: 184.1 kB / 436.5 MB, free: 2.523 MB / 338.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/2.85, allocations: 12.11 kB / 436.5 MB, free: 2.512 MB / 338.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007677/2.851, allocations: 31.92 kB / 436.5 MB, free: 2.48 MB / 338.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/2.851, allocations: 39.73 kB / 436.6 MB, free: 2.441 MB / 338.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.396e-05/2.851, allocations: 15.98 kB / 436.6 MB, free: 2.426 MB / 338.8 MB Notification: Performance of sort global known variables: time 0.0009738/2.852, allocations: 439.2 kB / 437 MB, free: 2.004 MB / 338.8 MB Notification: Performance of remove unused functions: time 0.002203/2.854, allocations: 196 kB / 437.2 MB, free: 1.812 MB / 338.8 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.0005537/2.855, allocations: 271.9 kB / 437.5 MB, free: 1.535 MB / 338.8 MB Notification: Performance of simCode: created initialization part: time 0.001708/2.857, allocations: 0.6138 MB / 438.1 MB, free: 0.9062 MB / 338.8 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/2.857, allocations: 3.938 kB / 438.1 MB, free: 0.9023 MB / 338.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0009588/2.858, allocations: 413.6 kB / 438.5 MB, free: 492 kB / 338.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/2.859, allocations: 175.4 kB / 438.6 MB, free: 316 kB / 338.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/2.863, allocations: 1.235 MB / 439.9 MB, free: 15.02 MB / 354.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00114/2.864, allocations: 1.096 MB / 441 MB, free: 13.89 MB / 354.8 MB Notification: Performance of SimCode: time 1.272e-06/2.865, allocations: 0 / 441 MB, free: 13.89 MB / 354.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_Start_res.mat does not exist to compare? outputFormat=mat