Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",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.598/1.598, allocations: 171.2 MB / 178.1 MB, free: 8.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.234/1.832, allocations: 41.11 MB / 219.3 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/1.933, allocations: 38.76 MB / 258 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/2.246, allocations: 84.31 MB / 342.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/2.246, allocations: 76.58 kB / 342.4 MB, free: 3.895 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.2346/2.481, allocations: 41.86 MB / 384.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/2.481, allocations: 8 kB / 384.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/2.483, allocations: 265.6 kB / 384.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003921/2.487, allocations: 1.105 MB / 385.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.625e-05/2.487, allocations: 52 kB / 385.7 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003702/2.487, allocations: 95.91 kB / 385.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004904/2.492, allocations: 0.8106 MB / 386.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006887/2.499, allocations: 1.209 MB / 387.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001543/2.499, allocations: 7.906 kB / 387.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000405/2.5, allocations: 4 kB / 387.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-05/2.5, allocations: 40 kB / 387.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0203/2.52, allocations: 6.384 MB / 394.2 MB, free: 4.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006615/2.521, allocations: 234.5 kB / 394.5 MB, free: 4.273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/2.521, allocations: 190.1 kB / 394.7 MB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/2.522, allocations: 4.438 kB / 394.7 MB, free: 4.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005699/2.522, allocations: 232.8 kB / 394.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.837e-06/2.522, allocations: 0 / 394.9 MB, free: 3.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.004558/2.527, allocations: 1.488 MB / 396.4 MB, free: 2.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/2.527, allocations: 188.4 kB / 396.6 MB, free: 2.047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002198/2.529, allocations: 0.8554 MB / 397.4 MB, free: 1.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/2.529, allocations: 25.7 kB / 397.4 MB, free: 1.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008436/2.53, allocations: 0.7336 MB / 398.2 MB, free: 412 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/2.53, allocations: 201.1 kB / 398.4 MB, free: 208 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/2.53, allocations: 0 / 398.4 MB, free: 208 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001891/2.531, allocations: 349.8 kB / 398.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006125/2.531, allocations: 194.6 kB / 398.9 MB, free: 15.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/2.532, allocations: 0.7501 MB / 399.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000963/2.533, allocations: 325.1 kB / 400 MB, free: 14.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.2e-05/2.533, allocations: 4 kB / 400 MB, free: 14.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.0031/2.537, allocations: 0.9354 MB / 400.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/2.537, allocations: 4 kB / 400.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.724e-05/2.537, allocations: 24.09 kB / 400.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/2.537, allocations: 61.7 kB / 401 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/2.539, allocations: 279.4 kB / 401.3 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/2.542, allocations: 2.472 MB / 403.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/2.544, allocations: 56.03 kB / 403.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/2.544, allocations: 56 kB / 403.8 MB, free: 10.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002833/2.544, allocations: 156.4 kB / 404 MB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/2.545, allocations: 126.7 kB / 404.1 MB, free: 9.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/2.546, allocations: 449.7 kB / 404.6 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/2.546, allocations: 8 kB / 404.6 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/2.546, allocations: 4 kB / 404.6 MB, free: 9.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/2.546, allocations: 7.922 kB / 404.6 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/2.551, allocations: 1.646 MB / 406.2 MB, free: 7.676 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/2.551, allocations: 4 kB / 406.2 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/2.552, allocations: 111.9 kB / 406.3 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/2.552, allocations: 41.7 kB / 406.4 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/2.552, allocations: 11.91 kB / 406.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002698/2.555, allocations: 2.437 MB / 408.8 MB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.488e-06/2.555, allocations: 11.94 kB / 408.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002277/2.557, allocations: 1.006 MB / 409.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00286/2.56, allocations: 1.56 MB / 411.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007385/2.561, allocations: 227.6 kB / 411.6 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002712/2.561, allocations: 16.23 kB / 411.6 MB, free: 1.723 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/2.562, allocations: 27.98 kB / 411.7 MB, free: 1.695 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/2.562, allocations: 47.78 kB / 411.7 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.921e-05/2.562, allocations: 20 kB / 411.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001539/2.564, allocations: 0.611 MB / 412.3 MB, free: 1.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002989/2.567, allocations: 299.9 kB / 412.6 MB, free: 0.7188 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007244/2.568, allocations: 276.3 kB / 412.9 MB, free: 448 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.1373/2.705, allocations: 0.7733 MB / 413.7 MB, free: 130 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-05/2.705, allocations: 3.5 kB / 413.7 MB, free: 130 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001622/2.707, allocations: 424 kB / 414.1 MB, free: 129.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003872/2.711, allocations: 258.2 kB / 414.4 MB, free: 129.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/2.717, allocations: 1.85 MB / 416.2 MB, free: 129.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/2.719, allocations: 1.299 MB / 417.5 MB, free: 128.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/2.719, allocations: 1.312 kB / 417.5 MB, free: 128.4 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat does not exist to compare? outputFormat=mat