Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_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.66/1.66, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1973/1.857, allocations: 46.84 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/1.947, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/2.256, allocations: 97.05 MB / 391 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/2.257, allocations: 84.3 kB / 391 MB, free: 3.312 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.1837/2.44, allocations: 41.5 MB / 432.5 MB, free: 6.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/2.441, allocations: 15.92 kB / 432.6 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/2.442, allocations: 253.2 kB / 432.8 MB, free: 6.121 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004755/2.447, allocations: 1.343 MB / 434.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/2.447, allocations: 56 kB / 434.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004966/2.447, allocations: 107.9 kB / 434.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006343/2.454, allocations: 1.726 MB / 436 MB, free: 3.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006112/2.46, allocations: 2.053 MB / 438.1 MB, free: 1.512 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-05/2.46, allocations: 11.84 kB / 438.1 MB, free: 1.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002499/2.46, allocations: 4 kB / 438.1 MB, free: 1.496 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/2.461, allocations: 87.5 kB / 438.2 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02002/2.481, allocations: 6.856 MB / 445.1 MB, free: 10.37 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/2.483, allocations: 0.6839 MB / 445.7 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/2.485, allocations: 0.7326 MB / 446.5 MB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000408/2.485, allocations: 133.8 kB / 446.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.071e-05/2.486, allocations: 39.34 kB / 446.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=90): time 3.426e-06/2.486, allocations: 4 kB / 446.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=113): time 0.01721/2.503, allocations: 4.582 MB / 451.2 MB, free: 4.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/2.503, allocations: 68.34 kB / 451.3 MB, free: 4.016 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/2.505, allocations: 0.8508 MB / 452.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/2.505, allocations: 29.7 kB / 452.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006449/2.506, allocations: 0.6966 MB / 452.9 MB, free: 2.402 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005299/2.506, allocations: 386.3 kB / 453.2 MB, free: 2.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/2.506, allocations: 4 kB / 453.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002635/2.507, allocations: 353.9 kB / 453.6 MB, free: 1.664 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/2.509, allocations: 0.6234 MB / 454.2 MB, free: 1.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002044/2.511, allocations: 0.9317 MB / 455.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/2.513, allocations: 0.772 MB / 455.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/2.513, allocations: 7.938 kB / 455.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.007237/2.52, allocations: 2.216 MB / 458.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/2.52, allocations: 8 kB / 458.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/2.52, allocations: 8 kB / 458.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003225/2.523, allocations: 0.6299 MB / 458.8 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002435/2.526, allocations: 279.6 kB / 459.1 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.013/2.539, allocations: 5.743 MB / 464.8 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/2.541, allocations: 55.86 kB / 464.9 MB, free: 6.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/2.541, allocations: 55.98 kB / 464.9 MB, free: 5.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,76.0%) 23,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003613/2.541, allocations: 128.9 kB / 465 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/2.542, allocations: 122.5 kB / 465.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007065/2.549, allocations: 2.088 MB / 467.2 MB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/2.549, allocations: 12 kB / 467.3 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.84e-05/2.549, allocations: 12.03 kB / 467.3 MB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/2.549, allocations: 7.969 kB / 467.3 MB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0127/2.562, allocations: 4.051 MB / 471.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/2.562, allocations: 0 / 471.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/2.563, allocations: 175.8 kB / 471.5 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003956/2.567, allocations: 0.7098 MB / 472.2 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002317/2.568, allocations: 19.98 kB / 472.2 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0162/2.584, allocations: 7.382 MB / 479.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-05/2.584, allocations: 8 kB / 479.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009146/2.593, allocations: 3.212 MB / 482.8 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01156/2.605, allocations: 4.535 MB / 487.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/2.606, allocations: 343.4 kB / 487.7 MB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00034/2.606, allocations: 15.98 kB / 487.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/2.608, allocations: 51.94 kB / 487.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/2.608, allocations: 72.81 kB / 487.8 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/2.608, allocations: 35.98 kB / 487.9 MB, free: 14.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001622/2.61, allocations: 0.6395 MB / 488.5 MB, free: 13.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003079/2.613, allocations: 412 kB / 488.9 MB, free: 13.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 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 {(7,59.2%) 21,(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.0007332/2.614, allocations: 291.6 kB / 489.2 MB, free: 12.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005868/2.62, allocations: 2.078 MB / 491.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/2.62, allocations: 0 / 491.3 MB, free: 10.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00438/2.624, allocations: 1.388 MB / 492.7 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/2.627, allocations: 268 kB / 492.9 MB, free: 9.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/2.637, allocations: 3.261 MB / 496.2 MB, free: 5.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002993/2.64, allocations: 1.769 MB / 498 MB, free: 3.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/2.64, allocations: 0 / 498 MB, free: 3.906 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_Inverter_res.mat does not exist to compare? outputFormat=mat