Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_DOL",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.654/1.654, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.214/1.868, allocations: 46.84 MB / 249.4 MB, free: 5.324 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09109/1.959, allocations: 44.5 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3122/2.272, allocations: 98.6 MB / 392.5 MB, free: 2.891 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/2.272, allocations: 87.75 kB / 392.6 MB, free: 2.875 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.2024/2.474, allocations: 46.05 MB / 438.6 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/2.474, allocations: 11.94 kB / 438.7 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00168/2.476, allocations: 300.8 kB / 438.9 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005428/2.482, allocations: 1.549 MB / 440.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/2.482, allocations: 68 kB / 440.6 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/2.482, allocations: 127.9 kB / 440.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006787/2.489, allocations: 2.07 MB / 442.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006895/2.496, allocations: 2.387 MB / 445.1 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.545e-05/2.496, allocations: 11.84 kB / 445.2 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003022/2.496, allocations: 4 kB / 445.2 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001365/2.497, allocations: 91.92 kB / 445.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02255/2.519, allocations: 8.1 MB / 453.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/2.521, allocations: 0.8086 MB / 454.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002599/2.524, allocations: 0.9417 MB / 455.1 MB, free: 108 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/2.524, allocations: 130 kB / 455.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/2.525, allocations: 47.56 kB / 455.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=107): time 3.927e-06/2.525, allocations: 4 kB / 455.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=123): time 0.01506/2.54, allocations: 4.411 MB / 459.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/2.54, allocations: 64.41 kB / 459.8 MB, free: 11.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/2.543, allocations: 1.108 MB / 460.9 MB, free: 10.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002666/2.543, allocations: 29.69 kB / 460.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006821/2.544, allocations: 0.7716 MB / 461.7 MB, free: 9.414 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005819/2.544, allocations: 417.8 kB / 462.1 MB, free: 9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001202/2.544, allocations: 0 / 462.1 MB, free: 9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/2.545, allocations: 357.9 kB / 462.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/2.547, allocations: 0.6989 MB / 463.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002258/2.549, allocations: 0.9916 MB / 464.1 MB, free: 6.832 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002423/2.551, allocations: 0.8416 MB / 465 MB, free: 5.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/2.551, allocations: 4 kB / 465 MB, free: 5.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.006843/2.558, allocations: 2.191 MB / 467.1 MB, free: 3.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/2.558, allocations: 4 kB / 467.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/2.558, allocations: 8 kB / 467.2 MB, free: 3.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001866/2.56, allocations: 411.4 kB / 467.6 MB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002893/2.563, allocations: 335.5 kB / 467.9 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007847/2.571, allocations: 4.273 MB / 472.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/2.573, allocations: 47.86 kB / 472.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/2.573, allocations: 55.98 kB / 472.3 MB, free: 14.41 MB / 378.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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004185/2.574, allocations: 140.7 kB / 472.4 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004378/2.574, allocations: 150.1 kB / 472.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006784/2.581, allocations: 2.029 MB / 474.6 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-05/2.581, allocations: 15.91 kB / 474.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.361e-05/2.581, allocations: 4 kB / 474.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/2.581, allocations: 7.969 kB / 474.6 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/2.595, allocations: 4.205 MB / 478.8 MB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/2.595, allocations: 4.281 kB / 478.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/2.597, allocations: 223.7 kB / 479 MB, free: 7.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/2.6, allocations: 471 kB / 479.5 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001974/2.6, allocations: 11.98 kB / 479.5 MB, free: 7.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009846/2.61, allocations: 5.732 MB / 485.2 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/2.61, allocations: 11.92 kB / 485.2 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008633/2.619, allocations: 3.241 MB / 488.5 MB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01166/2.631, allocations: 4.689 MB / 493.2 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/2.632, allocations: 383.2 kB / 493.5 MB, free: 8.418 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004257/2.633, allocations: 11.98 kB / 493.6 MB, free: 8.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/2.634, allocations: 51.95 kB / 493.6 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003281/2.635, allocations: 84.77 kB / 493.7 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/2.635, allocations: 39.98 kB / 493.7 MB, free: 8.234 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002066/2.637, allocations: 0.8333 MB / 494.6 MB, free: 7.398 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003297/2.64, allocations: 440 kB / 495 MB, free: 6.969 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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.0007421/2.641, allocations: 287.6 kB / 495.3 MB, free: 6.676 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005484/2.646, allocations: 2.127 MB / 497.4 MB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/2.646, allocations: 4.562 kB / 497.4 MB, free: 4.488 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00381/2.65, allocations: 1.386 MB / 498.8 MB, free: 3.047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003213/2.653, allocations: 312.5 kB / 499.1 MB, free: 2.742 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1408/2.794, allocations: 3.675 MB / 0.491 GB, free: 139.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002975/2.797, allocations: 1.985 MB / 0.4929 GB, free: 138.8 MB / 394.7 MB Notification: Performance of SimCode: time 1.833e-06/2.797, allocations: 0 / 0.4929 GB, free: 138.8 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_DOL_res.mat does not exist to compare? outputFormat=mat