Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_withLosses",fmuType="me",version="2.0",platforms={"static"}) [: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.602/1.602, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1861/1.788, allocations: 41.12 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07921/1.867, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3276/2.195, allocations: 97.9 MB / 355.9 MB, free: 6.535 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005091/2.195, allocations: 85.77 kB / 356 MB, free: 6.492 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: 518 * Number of variables: 518 Notification: Performance of Generate backend data structure: time 0.243/2.438, allocations: 50.5 MB / 406.5 MB, free: 8.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/2.438, allocations: 8 kB / 406.5 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/2.44, allocations: 332.3 kB / 406.8 MB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006454/2.447, allocations: 1.724 MB / 408.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001441/2.447, allocations: 67.98 kB / 408.6 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007086/2.448, allocations: 131.9 kB / 408.8 MB, free: 6.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007037/2.455, allocations: 1.972 MB / 410.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007893/2.463, allocations: 2.33 MB / 413.1 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.291e-05/2.463, allocations: 4 kB / 413.1 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/2.463, allocations: 4 kB / 413.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001357/2.463, allocations: 87.89 kB / 413.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.155/2.618, allocations: 7.945 MB / 421.1 MB, free: 121.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/2.622, allocations: 0.9049 MB / 422 MB, free: 121.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/2.626, allocations: 0.8785 MB / 422.9 MB, free: 121.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007318/2.627, allocations: 140.1 kB / 423 MB, free: 121.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.796e-05/2.627, allocations: 43.5 kB / 423.1 MB, free: 121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 9.067e-06/2.627, allocations: 6.625 kB / 423.1 MB, free: 121 MB / 346.7 MB Notification: Performance of matching and sorting (n=131): time 0.02081/2.647, allocations: 4.817 MB / 427.9 MB, free: 120.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/2.648, allocations: 63.19 kB / 427.9 MB, free: 120.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003831/2.651, allocations: 1.643 MB / 429.6 MB, free: 120 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003506/2.652, allocations: 32.33 kB / 429.6 MB, free: 120 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004773/2.652, allocations: 0.7807 MB / 430.4 MB, free: 119.7 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005037/2.653, allocations: 434.7 kB / 430.8 MB, free: 119.4 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/2.653, allocations: 0 / 430.8 MB, free: 119.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/2.653, allocations: 362.7 kB / 431.2 MB, free: 119.1 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/2.655, allocations: 0.705 MB / 431.9 MB, free: 119.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/2.657, allocations: 0.9442 MB / 432.8 MB, free: 118.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/2.659, allocations: 0.8536 MB / 433.7 MB, free: 118.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.085e-06/2.659, allocations: 0.5469 kB / 433.7 MB, free: 118.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.007733/2.667, allocations: 2.602 MB / 436.3 MB, free: 118.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/2.667, allocations: 3.562 kB / 436.3 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.755e-05/2.667, allocations: 7.688 kB / 436.3 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003832/2.671, allocations: 0.8357 MB / 437.1 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/2.673, allocations: 264.7 kB / 437.4 MB, free: 118.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/2.692, allocations: 8.452 MB / 445.8 MB, free: 115.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/2.694, allocations: 62.06 kB / 445.9 MB, free: 115.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/2.694, allocations: 55.59 kB / 446 MB, free: 115.1 MB / 346.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 (120): * Single equations (assignments): 115 * 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.0003594/2.695, allocations: 123 kB / 446.1 MB, free: 115 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005011/2.695, allocations: 185.4 kB / 446.3 MB, free: 114.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007829/2.703, allocations: 2.386 MB / 448.6 MB, free: 114.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.502e-05/2.703, allocations: 11.59 kB / 448.7 MB, free: 114.1 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/2.703, allocations: 6.906 kB / 448.7 MB, free: 114.1 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.785e-05/2.703, allocations: 7.359 kB / 448.7 MB, free: 114.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/2.722, allocations: 4.617 MB / 453.3 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-05/2.723, allocations: 3.812 kB / 453.3 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/2.725, allocations: 211.4 kB / 453.5 MB, free: 112.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/2.728, allocations: 0.6916 MB / 454.2 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002824/2.729, allocations: 26.73 kB / 454.2 MB, free: 112.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/2.747, allocations: 7.839 MB / 462.1 MB, free: 106.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/2.747, allocations: 4.875 kB / 462.1 MB, free: 106.7 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01322/2.76, allocations: 3.489 MB / 465.5 MB, free: 105.2 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02476/2.785, allocations: 7.149 MB / 472.7 MB, free: 99.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/2.788, allocations: 457.8 kB / 473.1 MB, free: 98.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001143/2.789, allocations: 11.94 kB / 473.2 MB, free: 98.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00346/2.793, allocations: 57.31 kB / 473.2 MB, free: 98.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005628/2.793, allocations: 79.41 kB / 473.3 MB, free: 98.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003181/2.794, allocations: 35.61 kB / 473.3 MB, free: 98.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.004242/2.798, allocations: 1.257 MB / 474.6 MB, free: 97.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007004/2.805, allocations: 0.5126 MB / 475.1 MB, free: 97.25 MB / 346.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 (90): * Single equations (assignments): 84 * 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.001596/2.807, allocations: 392.5 kB / 475.5 MB, free: 97.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006323/2.813, allocations: 2.232 MB / 477.7 MB, free: 94.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/2.813, allocations: 0 / 477.7 MB, free: 94.98 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004948/2.818, allocations: 1.521 MB / 479.2 MB, free: 93.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005439/2.824, allocations: 321.3 kB / 479.5 MB, free: 93.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01943/2.843, allocations: 4.279 MB / 483.8 MB, free: 89.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005326/2.848, allocations: 2.128 MB / 485.9 MB, free: 87.84 MB / 346.7 MB Notification: Performance of SimCode: time 2.204e-06/2.849, allocations: 0 / 485.9 MB, free: 87.84 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_withLosses_res.mat does not exist to compare? outputFormat=mat