Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_QuasiStationary",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.717/1.717, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2472/1.965, allocations: 46.84 MB / 249.4 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/2.054, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2994/2.354, allocations: 89.12 MB / 383 MB, free: 5.473 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002832/2.354, allocations: 84.69 kB / 383.1 MB, free: 5.457 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.1746/2.529, allocations: 41.7 MB / 424.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/2.529, allocations: 8 kB / 424.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001438/2.53, allocations: 261.6 kB / 425.1 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003518/2.534, allocations: 1.11 MB / 426.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-05/2.534, allocations: 49.5 kB / 426.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003109/2.534, allocations: 102.7 kB / 426.3 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003015/2.537, allocations: 0.813 MB / 427.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/2.541, allocations: 1.216 MB / 428.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.533e-05/2.541, allocations: 11.84 kB / 428.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/2.541, allocations: 0 / 428.4 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.959e-05/2.541, allocations: 40 kB / 428.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01384/2.555, allocations: 6.382 MB / 434.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/2.556, allocations: 222.5 kB / 435 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005659/2.556, allocations: 186.2 kB / 435.2 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.056e-05/2.556, allocations: 12.44 kB / 435.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000582/2.557, allocations: 228.8 kB / 435.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=50): time 3.557e-06/2.557, allocations: 0 / 435.4 MB, free: 3.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=56): time 0.004062/2.561, allocations: 1.499 MB / 436.9 MB, free: 1.625 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/2.561, allocations: 188.4 kB / 437.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/2.563, allocations: 0.8514 MB / 438 MB, free: 0.5352 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/2.563, allocations: 29.7 kB / 438 MB, free: 0.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008412/2.564, allocations: 0.7221 MB / 438.7 MB, free: 15.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/2.564, allocations: 209.1 kB / 438.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/2.564, allocations: 0 / 438.9 MB, free: 15.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/2.565, allocations: 349.9 kB / 439.3 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/2.565, allocations: 186.6 kB / 439.5 MB, free: 15.03 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/2.566, allocations: 0.7501 MB / 440.2 MB, free: 14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009037/2.567, allocations: 325.1 kB / 440.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/2.567, allocations: 8 kB / 440.5 MB, free: 13.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002733/2.57, allocations: 0.9389 MB / 441.5 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/2.57, allocations: 4 kB / 441.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.714e-05/2.57, allocations: 20 kB / 441.5 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/2.571, allocations: 61.7 kB / 441.6 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001832/2.572, allocations: 275.9 kB / 441.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/2.575, allocations: 2.48 MB / 444.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/2.577, allocations: 55.88 kB / 444.4 MB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/2.577, allocations: 64 kB / 444.4 MB, free: 9.531 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.0002544/2.577, allocations: 156.2 kB / 444.6 MB, free: 9.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/2.577, allocations: 118.5 kB / 444.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/2.579, allocations: 453.8 kB / 445.1 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/2.579, allocations: 7.938 kB / 445.1 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/2.579, allocations: 4 kB / 445.1 MB, free: 8.789 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/2.579, allocations: 3.984 kB / 445.1 MB, free: 8.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003995/2.583, allocations: 1.656 MB / 446.8 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/2.583, allocations: 4 kB / 446.8 MB, free: 7.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009642/2.584, allocations: 103.8 kB / 446.9 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/2.584, allocations: 50.08 kB / 447 MB, free: 6.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/2.584, allocations: 11.98 kB / 447 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002543/2.587, allocations: 2.441 MB / 449.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/2.587, allocations: 7.906 kB / 449.4 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002084/2.589, allocations: 0.9934 MB / 450.4 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002573/2.592, allocations: 1.552 MB / 452 MB, free: 1.363 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/2.592, allocations: 235.6 kB / 452.2 MB, free: 1.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/2.593, allocations: 7.906 kB / 452.2 MB, free: 1.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/2.594, allocations: 31.97 kB / 452.2 MB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/2.594, allocations: 51.7 kB / 452.3 MB, free: 1.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/2.594, allocations: 19.94 kB / 452.3 MB, free: 1.004 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001506/2.595, allocations: 0.6149 MB / 452.9 MB, free: 392 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.002715/2.598, allocations: 295.8 kB / 453.2 MB, free: 96 kB / 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.0005818/2.599, allocations: 279.2 kB / 453.5 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002018/2.601, allocations: 0.7803 MB / 454.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/2.601, allocations: 4.125 kB / 454.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009989/2.602, allocations: 419.1 kB / 454.7 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/2.604, allocations: 257.7 kB / 454.9 MB, free: 14.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00597/2.61, allocations: 1.863 MB / 456.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/2.612, allocations: 1.299 MB / 458.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.112e-06/2.612, allocations: 3.938 kB / 458.1 MB, free: 11.05 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary_res.mat does not exist to compare? outputFormat=mat