Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_DCMachines_DCSE_SinglePhase",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.667/1.667, allocations: 194.9 MB / 202.5 MB, free: 6.852 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2682/1.935, allocations: 46.85 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/2.036, allocations: 44.5 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3268/2.363, allocations: 93.16 MB / 387 MB, free: 4.637 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002928/2.363, allocations: 80.92 kB / 387.1 MB, free: 4.625 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.1447/2.508, allocations: 29.27 MB / 416.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.831e-05/2.508, allocations: 12 kB / 416.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/2.51, allocations: 190.3 kB / 416.6 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004037/2.514, allocations: 0.8141 MB / 417.4 MB, free: 3.746 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.599e-05/2.514, allocations: 32 kB / 417.4 MB, free: 3.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/2.515, allocations: 63.28 kB / 417.5 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0029/2.518, allocations: 0.541 MB / 418 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/2.521, allocations: 0.7495 MB / 418.8 MB, free: 2.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-05/2.521, allocations: 11.94 kB / 418.8 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/2.521, allocations: 3.906 kB / 418.8 MB, free: 2.762 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/2.522, allocations: 24 kB / 418.8 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01318/2.535, allocations: 3.775 MB / 422.6 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007434/2.536, allocations: 182.9 kB / 422.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/2.537, allocations: 259.1 kB / 423 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.313e-05/2.537, allocations: 8.688 kB / 423 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.491e-05/2.537, allocations: 41.75 kB / 423 MB, free: 15.22 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 5.009e-06/2.537, allocations: 0 / 423 MB, free: 15.22 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.005196/2.542, allocations: 1.132 MB / 424.2 MB, free: 14.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/2.542, allocations: 85.55 kB / 424.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002041/2.544, allocations: 0.5921 MB / 424.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/2.545, allocations: 29.7 kB / 424.9 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/2.545, allocations: 474.4 kB / 425.3 MB, free: 13.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/2.545, allocations: 167.8 kB / 425.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.358e-05/2.545, allocations: 0 / 425.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002935/2.546, allocations: 386.9 kB / 425.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/2.546, allocations: 138.8 kB / 426 MB, free: 12.67 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009618/2.547, allocations: 427.8 kB / 426.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008781/2.548, allocations: 218.3 kB / 426.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/2.548, allocations: 4 kB / 426.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003085/2.552, allocations: 0.6856 MB / 427.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/2.552, allocations: 4 kB / 427.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.041e-05/2.552, allocations: 8 kB / 427.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007251/2.552, allocations: 94.55 kB / 427.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/2.554, allocations: 169.4 kB / 427.6 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005714/2.56, allocations: 2.911 MB / 430.5 MB, free: 8.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001669/2.562, allocations: 27.89 kB / 430.6 MB, free: 8.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/2.562, allocations: 37.92 kB / 430.6 MB, free: 8.25 MB / 330.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 (85): * Single equations (assignments): 83 * 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.000315/2.562, allocations: 135.9 kB / 430.7 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002915/2.562, allocations: 82.97 kB / 430.8 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/2.565, allocations: 461.6 kB / 431.3 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/2.565, allocations: 4 kB / 431.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/2.565, allocations: 0 / 431.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/2.565, allocations: 7.984 kB / 431.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/2.57, allocations: 1.283 MB / 432.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/2.57, allocations: 0 / 432.5 MB, free: 6.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/2.571, allocations: 84.11 kB / 432.6 MB, free: 6.203 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/2.572, allocations: 81.67 kB / 432.7 MB, free: 6.117 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.662e-05/2.572, allocations: 8 kB / 432.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005331/2.577, allocations: 2.897 MB / 435.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/2.577, allocations: 4 kB / 435.6 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003026/2.58, allocations: 0.8265 MB / 436.4 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003888/2.584, allocations: 1.386 MB / 437.8 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/2.585, allocations: 184.1 kB / 438 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003046/2.585, allocations: 4 kB / 438 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/2.587, allocations: 35.91 kB / 438.1 MB, free: 364 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/2.587, allocations: 27.88 kB / 438.1 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/2.587, allocations: 19.98 kB / 438.1 MB, free: 316 kB / 330.7 MB Notification: Performance of sort global known variables: time 0.001506/2.588, allocations: 447.2 kB / 438.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004007/2.592, allocations: 216 kB / 438.7 MB, free: 15.67 MB / 346.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 (39): * Single equations (assignments): 37 * 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.0008482/2.593, allocations: 270.8 kB / 439 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002583/2.596, allocations: 0.6293 MB / 439.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-05/2.596, allocations: 2 kB / 439.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/2.597, allocations: 419.4 kB / 440 MB, free: 14.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00252/2.6, allocations: 177.4 kB / 440.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/2.607, allocations: 1.263 MB / 441.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001774/2.609, allocations: 1.104 MB / 442.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.483e-06/2.609, allocations: 0 / 442.6 MB, free: 11.71 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase_res.mat does not exist to compare? outputFormat=mat