Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Machines_Examples_AsynchronousInductionMachines_AIMC_YD",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.656/1.656, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2073/1.863, allocations: 46.84 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/1.954, allocations: 44.5 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/2.264, allocations: 99.63 MB / 393.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/2.264, allocations: 82.17 kB / 393.6 MB, free: 2.363 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.2211/2.485, allocations: 50.9 MB / 444.5 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/2.485, allocations: 11.94 kB / 444.5 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/2.487, allocations: 324.4 kB / 444.8 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006516/2.494, allocations: 1.744 MB / 446.6 MB, free: 8.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001446/2.494, allocations: 76 kB / 446.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006261/2.495, allocations: 131.9 kB / 446.8 MB, free: 8.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008041/2.503, allocations: 2.45 MB / 449.2 MB, free: 6.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008952/2.512, allocations: 2.797 MB / 452 MB, free: 3.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/2.512, allocations: 11.88 kB / 452 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003435/2.512, allocations: 4 kB / 452.1 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001533/2.512, allocations: 108.3 kB / 452.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02854/2.541, allocations: 9.549 MB / 461.7 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/2.544, allocations: 0.9971 MB / 462.7 MB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/2.547, allocations: 1.16 MB / 463.9 MB, free: 7.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/2.548, allocations: 138.3 kB / 464 MB, free: 6.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/2.548, allocations: 51.81 kB / 464.1 MB, free: 6.914 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.058e-06/2.548, allocations: 0 / 464.1 MB, free: 6.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=145): time 0.01936/2.567, allocations: 5.428 MB / 469.5 MB, free: 1.418 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/2.567, allocations: 64.72 kB / 469.5 MB, free: 1.344 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/2.57, allocations: 1.236 MB / 470.8 MB, free: 104 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000386/2.571, allocations: 25.7 kB / 470.8 MB, free: 72 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008182/2.572, allocations: 0.8464 MB / 471.7 MB, free: 15.21 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007172/2.572, allocations: 465 kB / 472.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/2.573, allocations: 0 / 472.1 MB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002101/2.573, allocations: 373.8 kB / 472.5 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/2.575, allocations: 0.859 MB / 473.3 MB, free: 13.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002674/2.578, allocations: 1.172 MB / 474.5 MB, free: 12.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/2.581, allocations: 1.009 MB / 475.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.376e-05/2.581, allocations: 4 kB / 475.5 MB, free: 11.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.009193/2.59, allocations: 2.82 MB / 478.3 MB, free: 8.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/2.59, allocations: 4 kB / 478.3 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/2.59, allocations: 8.25 kB / 478.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/2.594, allocations: 0.8381 MB / 479.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/2.597, allocations: 319.4 kB / 479.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01792/2.615, allocations: 8.442 MB / 487.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/2.618, allocations: 59.91 kB / 488 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/2.618, allocations: 59.98 kB / 488.1 MB, free: 14.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000494/2.618, allocations: 140.5 kB / 488.2 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005186/2.619, allocations: 173.8 kB / 488.4 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009005/2.628, allocations: 2.698 MB / 491.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.181e-05/2.628, allocations: 16 kB / 491.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/2.628, allocations: 4 kB / 491.1 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-05/2.628, allocations: 11.97 kB / 491.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01766/2.646, allocations: 5.252 MB / 496.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.347e-05/2.646, allocations: 4 kB / 496.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/2.648, allocations: 196.2 kB / 496.5 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004632/2.653, allocations: 0.883 MB / 497.4 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/2.653, allocations: 15.92 kB / 497.4 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1431/2.796, allocations: 9.891 MB / 0.4954 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/2.796, allocations: 0 / 0.4954 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009921/2.806, allocations: 4.183 MB / 0.4995 GB, free: 133.3 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01258/2.819, allocations: 5.957 MB / 0.5053 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/2.82, allocations: 446.1 kB / 0.5058 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005731/2.821, allocations: 8.906 kB / 0.5058 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001962/2.823, allocations: 60.45 kB / 0.5058 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004411/2.823, allocations: 108.6 kB / 0.5059 GB, free: 132.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/2.824, allocations: 38.75 kB / 0.506 GB, free: 132.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002075/2.826, allocations: 0.9319 MB / 0.5069 GB, free: 132.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004149/2.83, allocations: 0.5116 MB / 0.5074 GB, free: 132.2 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: 6 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 97 * 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: 4 * 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: 4 {(2,100.0%) 12,(1,100.0%) 1,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008681/2.831, allocations: 287.7 kB / 0.5077 GB, free: 132.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00703/2.838, allocations: 2.741 MB / 0.5103 GB, free: 131.6 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/2.838, allocations: 0 / 0.5103 GB, free: 131.6 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004776/2.843, allocations: 1.835 MB / 0.5121 GB, free: 131.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/2.846, allocations: 367.9 kB / 0.5125 GB, free: 131.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/2.86, allocations: 4.264 MB / 0.5166 GB, free: 130.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003337/2.863, allocations: 2.15 MB / 0.5187 GB, free: 129.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.472e-06/2.863, allocations: 0 / 0.5187 GB, free: 129.5 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_YD_res.mat does not exist to compare? outputFormat=mat