Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Initialize,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_Initialize",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.637/1.637, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2196/1.857, allocations: 46.83 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08743/1.944, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/2.25, allocations: 97.54 MB / 391.5 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/2.25, allocations: 83.92 kB / 391.5 MB, free: 3.242 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: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.1977/2.448, allocations: 42.36 MB / 433.9 MB, free: 5.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/2.448, allocations: 11.94 kB / 433.9 MB, free: 5.148 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/2.45, allocations: 265.1 kB / 434.2 MB, free: 4.887 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005543/2.456, allocations: 1.423 MB / 435.6 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/2.456, allocations: 63.91 kB / 435.7 MB, free: 3.688 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008256/2.457, allocations: 111.7 kB / 435.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00702/2.464, allocations: 1.779 MB / 437.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008326/2.472, allocations: 2.112 MB / 439.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/2.472, allocations: 0 / 439.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003663/2.473, allocations: 4 kB / 439.7 MB, free: 15.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/2.473, allocations: 75.5 kB / 439.7 MB, free: 15.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02276/2.496, allocations: 7.182 MB / 446.9 MB, free: 8.445 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/2.498, allocations: 0.7153 MB / 447.6 MB, free: 7.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002213/2.5, allocations: 0.7436 MB / 448.4 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004248/2.501, allocations: 129.8 kB / 448.5 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/2.501, allocations: 39.34 kB / 448.6 MB, free: 6.777 MB / 346.7 MB Notification: Performance of pre-optimization done (n=87): time 3.757e-06/2.501, allocations: 4.656 kB / 448.6 MB, free: 6.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.0149/2.516, allocations: 3.962 MB / 452.5 MB, free: 2.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/2.516, allocations: 64.34 kB / 452.6 MB, free: 2.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/2.519, allocations: 1.005 MB / 453.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002717/2.519, allocations: 29.7 kB / 453.6 MB, free: 1.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007178/2.52, allocations: 0.7164 MB / 454.3 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/2.52, allocations: 346.9 kB / 454.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/2.521, allocations: 0 / 454.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/2.521, allocations: 353.9 kB / 455 MB, free: 196 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001815/2.523, allocations: 0.6001 MB / 455.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/2.525, allocations: 0.8844 MB / 456.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/2.527, allocations: 0.7446 MB / 457.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.299e-05/2.527, allocations: 4 kB / 457.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008421/2.535, allocations: 2.275 MB / 459.5 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/2.535, allocations: 8.25 kB / 459.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.751e-05/2.535, allocations: 12 kB / 459.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004142/2.54, allocations: 0.7624 MB / 460.3 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/2.542, allocations: 239.6 kB / 460.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/2.562, allocations: 7.775 MB / 468.3 MB, free: 2.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/2.564, allocations: 47.94 kB / 468.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003346/2.564, allocations: 55.94 kB / 468.4 MB, free: 2.414 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(6,77.8%) 35} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003757/2.565, allocations: 132.8 kB / 468.5 MB, free: 2.277 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005428/2.565, allocations: 134.3 kB / 468.7 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006246/2.571, allocations: 1.808 MB / 470.5 MB, free: 324 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.377e-05/2.572, allocations: 12 kB / 470.5 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.504e-05/2.572, allocations: 4 kB / 470.5 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.74e-05/2.572, allocations: 3.984 kB / 470.5 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01299/2.585, allocations: 3.694 MB / 474.2 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/2.585, allocations: 4 kB / 474.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002033/2.587, allocations: 183.8 kB / 474.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002604/2.589, allocations: 467 kB / 474.8 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002634/2.59, allocations: 11.98 kB / 474.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/2.6, allocations: 5.728 MB / 480.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.268e-05/2.6, allocations: 4 kB / 480.6 MB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008158/2.608, allocations: 2.808 MB / 483.4 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01067/2.619, allocations: 4.097 MB / 487.5 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/2.62, allocations: 347.4 kB / 487.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/2.621, allocations: 4 kB / 487.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/2.623, allocations: 51.94 kB / 487.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004062/2.623, allocations: 72.53 kB / 488 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/2.624, allocations: 27.98 kB / 488 MB, free: 14.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002204/2.626, allocations: 0.7597 MB / 488.7 MB, free: 13.42 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003738/2.63, allocations: 416 kB / 489.1 MB, free: 13.01 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (aimc.inertiaRotor.phi,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 83 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009233/2.63, allocations: 280.6 kB / 489.4 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006064/2.637, allocations: 1.852 MB / 491.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.637, allocations: 320 / 491.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003852/2.64, allocations: 1.244 MB / 492.5 MB, free: 9.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003/2.644, allocations: 267.9 kB / 492.8 MB, free: 9.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/2.656, allocations: 3.27 MB / 496 MB, free: 5.965 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003875/2.66, allocations: 1.824 MB / 497.9 MB, free: 4.109 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/2.66, allocations: 0 / 497.9 MB, free: 4.109 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_Initialize_res.mat does not exist to compare? outputFormat=mat