Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_SynchronousInductionMachines_SMPM_Inverter",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.622/1.622, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2367/1.859, allocations: 46.83 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08763/1.946, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.31/2.256, allocations: 103.1 MB / 397 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/2.257, allocations: 85.52 kB / 397.1 MB, free: 0.8438 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.2205/2.477, allocations: 51.28 MB / 448.3 MB, free: 7.305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/2.477, allocations: 8 kB / 448.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001473/2.479, allocations: 320.5 kB / 448.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005522/2.484, allocations: 1.679 MB / 450.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/2.484, allocations: 72 kB / 450.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005021/2.485, allocations: 135.9 kB / 450.5 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006762/2.492, allocations: 2.11 MB / 452.6 MB, free: 2.922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006989/2.499, allocations: 2.523 MB / 455.2 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.514e-05/2.499, allocations: 7.891 kB / 455.2 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003013/2.499, allocations: 4 kB / 455.2 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001509/2.499, allocations: 108.3 kB / 455.3 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02374/2.523, allocations: 8.702 MB / 464 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/2.526, allocations: 0.8545 MB / 464.8 MB, free: 6.312 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002333/2.528, allocations: 0.8545 MB / 465.7 MB, free: 5.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004559/2.528, allocations: 223.1 kB / 465.9 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/2.528, allocations: 51.47 kB / 466 MB, free: 5.145 MB / 362.7 MB Notification: Performance of pre-optimization done (n=109): time 3.737e-06/2.529, allocations: 0 / 466 MB, free: 5.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=132): time 0.01696/2.545, allocations: 4.935 MB / 470.9 MB, free: 160 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/2.546, allocations: 64.72 kB / 471 MB, free: 84 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/2.548, allocations: 1.116 MB / 472.1 MB, free: 14.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/2.548, allocations: 25.7 kB / 472.1 MB, free: 14.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007624/2.549, allocations: 0.8764 MB / 473 MB, free: 14.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005431/2.55, allocations: 445.3 kB / 473.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/2.55, allocations: 0 / 473.4 MB, free: 13.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/2.55, allocations: 369.9 kB / 473.8 MB, free: 13.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001956/2.552, allocations: 0.7146 MB / 474.5 MB, free: 12.51 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002299/2.554, allocations: 1.122 MB / 475.6 MB, free: 11.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002446/2.557, allocations: 0.908 MB / 476.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/2.557, allocations: 4 kB / 476.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.007653/2.565, allocations: 2.471 MB / 479 MB, free: 7.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.25e-05/2.565, allocations: 8 kB / 479 MB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/2.565, allocations: 12 kB / 479 MB, free: 7.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/2.567, allocations: 0.5882 MB / 479.6 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/2.57, allocations: 347.5 kB / 479.9 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01362/2.584, allocations: 6.08 MB / 486 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/2.587, allocations: 67.84 kB / 486.1 MB, free: 476 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/2.587, allocations: 63.98 kB / 486.2 MB, free: 412 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004183/2.587, allocations: 148.2 kB / 486.3 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004147/2.588, allocations: 158 kB / 486.5 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/2.595, allocations: 2.255 MB / 488.7 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/2.595, allocations: 12 kB / 488.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/2.595, allocations: 4 kB / 488.7 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/2.595, allocations: 11.97 kB / 488.7 MB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/2.609, allocations: 4.517 MB / 493.2 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/2.609, allocations: 4.469 kB / 493.3 MB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/2.612, allocations: 211.7 kB / 493.5 MB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003405/2.615, allocations: 0.6469 MB / 494.1 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/2.615, allocations: 11.98 kB / 494.1 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01602/2.631, allocations: 7.705 MB / 0.4901 GB, free: 232 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.998e-06/2.631, allocations: 4 kB / 0.4901 GB, free: 228 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1338/2.765, allocations: 3.506 MB / 0.4935 GB, free: 137.4 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01043/2.776, allocations: 4.987 MB / 0.4984 GB, free: 136.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/2.777, allocations: 394.9 kB / 0.4987 GB, free: 136.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004028/2.777, allocations: 17.98 kB / 0.4988 GB, free: 136.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/2.779, allocations: 58.55 kB / 0.4988 GB, free: 136.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/2.779, allocations: 81.19 kB / 0.4989 GB, free: 136.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/2.779, allocations: 36.22 kB / 0.4989 GB, free: 136.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00173/2.781, allocations: 0.8345 MB / 0.4997 GB, free: 136.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003221/2.784, allocations: 493 kB / 0.5002 GB, free: 136.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 100 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 23,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006675/2.785, allocations: 328.4 kB / 0.5005 GB, free: 136.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005384/2.79, allocations: 2.206 MB / 0.5027 GB, free: 135.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/2.79, allocations: 0 / 0.5027 GB, free: 135.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003757/2.794, allocations: 1.38 MB / 0.504 GB, free: 135.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/2.797, allocations: 333.8 kB / 0.5043 GB, free: 135.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0105/2.808, allocations: 3.858 MB / 0.5081 GB, free: 134.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00278/2.811, allocations: 2.025 MB / 0.5101 GB, free: 134.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/2.811, allocations: 0 / 0.5101 GB, free: 134.1 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter_res.mat does not exist to compare? outputFormat=mat