Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.513/1.513, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2168/1.73, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/1.842, allocations: 38.77 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3299/2.172, allocations: 87.11 MB / 345.1 MB, free: 1.258 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/2.172, allocations: 78.08 kB / 345.2 MB, free: 1.219 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1361/2.309, allocations: 26.98 MB / 372.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.482e-05/2.309, allocations: 8 kB / 372.2 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/2.31, allocations: 179.2 kB / 372.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00373/2.314, allocations: 0.7739 MB / 373.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/2.314, allocations: 32 kB / 373.2 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/2.314, allocations: 60 kB / 373.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002574/2.317, allocations: 0.5156 MB / 373.7 MB, free: 9.555 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/2.32, allocations: 0.7395 MB / 374.5 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/2.32, allocations: 11.88 kB / 374.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/2.32, allocations: 0 / 374.5 MB, free: 8.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.003e-05/2.32, allocations: 27.98 kB / 374.5 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01053/2.331, allocations: 3.769 MB / 378.3 MB, free: 4.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/2.332, allocations: 138.2 kB / 378.4 MB, free: 4.605 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009882/2.333, allocations: 133.4 kB / 378.6 MB, free: 4.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.547e-05/2.333, allocations: 4.281 kB / 378.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.553e-05/2.333, allocations: 34.84 kB / 378.6 MB, free: 4.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 5.781e-06/2.333, allocations: 0 / 378.6 MB, free: 4.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.005562/2.339, allocations: 0.8706 MB / 379.5 MB, free: 3.496 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/2.339, allocations: 84.97 kB / 379.5 MB, free: 3.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00311/2.342, allocations: 0.574 MB / 380.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/2.342, allocations: 25.7 kB / 380.1 MB, free: 2.789 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006781/2.343, allocations: 485.4 kB / 380.6 MB, free: 2.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/2.343, allocations: 130.1 kB / 380.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/2.343, allocations: 0 / 380.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004122/2.344, allocations: 382.8 kB / 381.1 MB, free: 1.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008859/2.345, allocations: 113.6 kB / 381.2 MB, free: 1.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/2.346, allocations: 424.2 kB / 381.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/2.347, allocations: 190.5 kB / 381.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/2.347, allocations: 4 kB / 381.8 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00202/2.349, allocations: 0.5522 MB / 382.4 MB, free: 380 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/2.349, allocations: 4 kB / 382.4 MB, free: 376 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/2.349, allocations: 11.91 kB / 382.4 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/2.35, allocations: 36.84 kB / 382.4 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/2.351, allocations: 168.1 kB / 382.6 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/2.352, allocations: 1.24 MB / 383.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001031/2.353, allocations: 27.89 kB / 383.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/2.353, allocations: 32 kB / 383.9 MB, free: 14.74 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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): 84 * 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.0001932/2.353, allocations: 132.8 kB / 384 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/2.354, allocations: 79 kB / 384.1 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009899/2.355, allocations: 305.7 kB / 384.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/2.355, allocations: 4 kB / 384.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/2.355, allocations: 3.984 kB / 384.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/2.355, allocations: 4 kB / 384.4 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002813/2.358, allocations: 1.056 MB / 385.5 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/2.358, allocations: 12.16 kB / 385.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007298/2.358, allocations: 75.89 kB / 385.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/2.358, allocations: 20.86 kB / 385.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/2.359, allocations: 4 kB / 385.6 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001243/2.36, allocations: 1.224 MB / 386.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/2.36, allocations: 4.156 kB / 386.8 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001271/2.361, allocations: 0.6386 MB / 387.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001665/2.363, allocations: 1.127 MB / 388.6 MB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005172/2.363, allocations: 180.1 kB / 388.8 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00027/2.364, allocations: 4 kB / 388.8 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007635/2.364, allocations: 23.98 kB / 388.8 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.267e-05/2.364, allocations: 27.88 kB / 388.8 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.255e-05/2.365, allocations: 12 kB / 388.8 MB, free: 9.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009437/2.365, allocations: 439.2 kB / 389.3 MB, free: 8.988 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00201/2.368, allocations: 188 kB / 389.4 MB, free: 8.805 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.phi,dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * 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.0005442/2.368, allocations: 273.4 kB / 389.7 MB, free: 8.527 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/2.369, allocations: 434.4 kB / 390.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/2.369, allocations: 0 / 390.1 MB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/2.37, allocations: 239.6 kB / 390.4 MB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/2.371, allocations: 159.3 kB / 390.5 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003854/2.375, allocations: 1.238 MB / 391.8 MB, free: 6.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/2.376, allocations: 1.074 MB / 392.8 MB, free: 5.301 MB / 330.7 MB Notification: Performance of SimCode: time 1.492e-06/2.376, allocations: 0 / 392.8 MB, free: 5.301 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start_res.mat does not exist to compare? outputFormat=mat