Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCEE_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.659/1.659, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2076/1.866, allocations: 46.83 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08897/1.955, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3006/2.256, allocations: 91.94 MB / 385.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/2.256, allocations: 80.08 kB / 385.9 MB, free: 4.82 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.1132/2.37, allocations: 26.86 MB / 412.8 MB, free: 7.379 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/2.37, allocations: 8 kB / 412.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001008/2.371, allocations: 182.3 kB / 413 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002531/2.373, allocations: 0.7693 MB / 413.8 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/2.373, allocations: 32 kB / 413.8 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/2.374, allocations: 59.91 kB / 413.8 MB, free: 6.477 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001781/2.375, allocations: 0.515 MB / 414.4 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/2.378, allocations: 0.739 MB / 415.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/2.378, allocations: 11.92 kB / 415.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/2.378, allocations: 0 / 415.1 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.911e-05/2.378, allocations: 24 kB / 415.1 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008272/2.386, allocations: 3.765 MB / 418.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/2.386, allocations: 137.8 kB / 419 MB, free: 2.277 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003904/2.387, allocations: 131.8 kB / 419.2 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.88e-05/2.387, allocations: 4.281 kB / 419.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.804e-05/2.387, allocations: 34.03 kB / 419.2 MB, free: 2.148 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 4.859e-06/2.387, allocations: 3.938 kB / 419.2 MB, free: 2.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002455/2.389, allocations: 0.8888 MB / 420.1 MB, free: 1.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/2.39, allocations: 85.11 kB / 420.2 MB, free: 1.219 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/2.391, allocations: 0.5701 MB / 420.7 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/2.391, allocations: 25.7 kB / 420.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/2.391, allocations: 483.5 kB / 421.2 MB, free: 348 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/2.391, allocations: 129.3 kB / 421.4 MB, free: 236 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/2.391, allocations: 0 / 421.4 MB, free: 236 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002253/2.392, allocations: 384.8 kB / 421.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/2.392, allocations: 113.4 kB / 421.9 MB, free: 15.81 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005966/2.393, allocations: 415.7 kB / 422.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000502/2.393, allocations: 192.5 kB / 422.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/2.393, allocations: 0 / 422.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001613/2.395, allocations: 0.5612 MB / 423 MB, free: 14.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/2.395, allocations: 4 kB / 423 MB, free: 14.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/2.395, allocations: 8 kB / 423 MB, free: 14.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/2.395, allocations: 40.34 kB / 423.1 MB, free: 14.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/2.396, allocations: 167.9 kB / 423.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/2.398, allocations: 1.242 MB / 424.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/2.399, allocations: 27.89 kB / 424.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.648e-05/2.399, allocations: 38.97 kB / 424.5 MB, free: 13.15 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.0001762/2.399, allocations: 132.5 kB / 424.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/2.399, allocations: 75.06 kB / 424.7 MB, free: 12.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009401/2.4, allocations: 312.3 kB / 425 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/2.4, allocations: 4 kB / 425 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/2.4, allocations: 3.984 kB / 425 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/2.4, allocations: 0 / 425 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/2.403, allocations: 1.059 MB / 426.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/2.403, allocations: 4 kB / 426.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007321/2.403, allocations: 75.53 kB / 426.2 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001508/2.403, allocations: 24.47 kB / 426.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/2.404, allocations: 4 kB / 426.2 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/2.405, allocations: 1.23 MB / 427.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/2.405, allocations: 4.156 kB / 427.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001269/2.406, allocations: 0.6333 MB / 428.1 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001598/2.408, allocations: 1.132 MB / 429.2 MB, free: 8.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004186/2.408, allocations: 174.5 kB / 429.4 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/2.408, allocations: 11.92 kB / 429.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007124/2.409, allocations: 23.98 kB / 429.4 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/2.409, allocations: 22.72 kB / 429.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/2.409, allocations: 15.19 kB / 429.5 MB, free: 8.551 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0009779/2.41, allocations: 432.5 kB / 429.9 MB, free: 8.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002057/2.412, allocations: 190.9 kB / 430.1 MB, free: 8.082 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.0005346/2.413, allocations: 261.7 kB / 430.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001233/2.414, allocations: 442.1 kB / 430.8 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/2.414, allocations: 2.125 kB / 430.8 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/2.415, allocations: 230.1 kB / 431 MB, free: 7.285 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/2.416, allocations: 160.7 kB / 431.1 MB, free: 7.156 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/2.42, allocations: 1.234 MB / 432.4 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/2.422, allocations: 1.081 MB / 433.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of SimCode: time 1.393e-06/2.422, allocations: 0 / 433.4 MB, free: 4.762 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.DCEE_Start_res.mat does not exist to compare? outputFormat=mat