Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",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.592/1.592, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2125/1.804, allocations: 46.84 MB / 249.4 MB, free: 5.305 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08655/1.891, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3074/2.199, allocations: 103.4 MB / 397.3 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/2.199, allocations: 86.08 kB / 397.4 MB, free: 0.6172 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.2343/2.433, allocations: 53.09 MB / 450.5 MB, free: 5.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/2.433, allocations: 11.94 kB / 450.5 MB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/2.435, allocations: 332.2 kB / 450.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006469/2.441, allocations: 1.779 MB / 452.6 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/2.442, allocations: 64 kB / 452.7 MB, free: 2.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/2.442, allocations: 123.9 kB / 452.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00655/2.449, allocations: 1.984 MB / 454.8 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00696/2.456, allocations: 2.346 MB / 457.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.591e-05/2.456, allocations: 7.906 kB / 457.1 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002796/2.456, allocations: 4 kB / 457.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001345/2.456, allocations: 87.92 kB / 457.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0235/2.48, allocations: 7.999 MB / 465.2 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/2.483, allocations: 0.9049 MB / 466.1 MB, free: 5.168 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/2.485, allocations: 0.8978 MB / 467 MB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004455/2.486, allocations: 142 kB / 467.2 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/2.486, allocations: 47.56 kB / 467.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=119): time 4.198e-06/2.486, allocations: 4 kB / 467.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of matching and sorting (n=135): time 0.01714/2.503, allocations: 4.846 MB / 472 MB, free: 15.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/2.503, allocations: 68.7 kB / 472.1 MB, free: 15.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004254/2.507, allocations: 1.665 MB / 473.8 MB, free: 13.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003001/2.508, allocations: 29.7 kB / 473.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006859/2.508, allocations: 0.7863 MB / 474.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005919/2.509, allocations: 449.2 kB / 475 MB, free: 12.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/2.509, allocations: 0 / 475 MB, free: 12.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/2.509, allocations: 365.9 kB / 475.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002019/2.511, allocations: 0.7029 MB / 476.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002169/2.513, allocations: 0.9588 MB / 477.1 MB, free: 9.984 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002354/2.516, allocations: 0.8456 MB / 477.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/2.516, allocations: 0 / 477.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.00887/2.525, allocations: 2.611 MB / 480.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/2.525, allocations: 12.23 kB / 480.5 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-05/2.525, allocations: 11.94 kB / 480.5 MB, free: 6.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00424/2.529, allocations: 0.8344 MB / 481.4 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002533/2.532, allocations: 271.6 kB / 481.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02061/2.552, allocations: 8.445 MB / 490.1 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/2.555, allocations: 60 kB / 490.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/2.555, allocations: 59.92 kB / 490.2 MB, free: 12.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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%) 6,(6,88.9%) 39} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003755/2.555, allocations: 124.4 kB / 490.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005601/2.556, allocations: 189.7 kB / 490.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007951/2.564, allocations: 2.404 MB / 492.9 MB, free: 9.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.432e-05/2.564, allocations: 12.19 kB / 492.9 MB, free: 9.812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.532e-05/2.564, allocations: 8 kB / 492.9 MB, free: 9.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/2.564, allocations: 11.97 kB / 492.9 MB, free: 9.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/2.579, allocations: 4.64 MB / 497.6 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.168e-05/2.579, allocations: 0 / 497.6 MB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/2.581, allocations: 219.8 kB / 497.8 MB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003863/2.585, allocations: 0.691 MB / 498.5 MB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001945/2.585, allocations: 15.98 kB / 498.5 MB, free: 4.141 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1364/2.722, allocations: 7.843 MB / 0.4945 GB, free: 137.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/2.722, allocations: 6.781 kB / 0.4945 GB, free: 137.2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008925/2.73, allocations: 3.521 MB / 0.4979 GB, free: 136.9 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01552/2.746, allocations: 7.177 MB / 0.5049 GB, free: 136.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001428/2.748, allocations: 458.8 kB / 0.5054 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004513/2.748, allocations: 13.86 kB / 0.5054 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001898/2.75, allocations: 58.89 kB / 0.5054 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/2.75, allocations: 80.48 kB / 0.5055 GB, free: 136 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/2.75, allocations: 35.59 kB / 0.5055 GB, free: 136 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002613/2.753, allocations: 1.279 MB / 0.5068 GB, free: 135.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003643/2.757, allocations: 0.524 MB / 0.5073 GB, free: 135.9 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.phi,PI.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 6,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/2.758, allocations: 439.9 kB / 0.5077 GB, free: 135.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005746/2.764, allocations: 2.248 MB / 0.5099 GB, free: 135.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/2.764, allocations: 3.531 kB / 0.5099 GB, free: 135.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003793/2.768, allocations: 1.537 MB / 0.5114 GB, free: 135 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/2.77, allocations: 317.1 kB / 0.5117 GB, free: 135 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/2.782, allocations: 4.329 MB / 0.516 GB, free: 134.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003063/2.785, allocations: 2.143 MB / 0.518 GB, free: 133.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.194e-06/2.785, allocations: 0 / 0.518 GB, free: 133.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat does not exist to compare? outputFormat=mat