Running command: "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.AIMC_Transformer,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Magnetic_FundamentalWave_Examples_BasicMachines_AIMC_Transformer",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.879/1.879, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2492/2.128, allocations: 46.84 MB / 249.4 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/2.222, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/2.585, allocations: 112.4 MB / 406.3 MB, free: 9.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/2.586, allocations: 85.83 kB / 406.4 MB, free: 9.777 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.772/3.358, allocations: 136.8 MB / 0.5305 GB, free: 65.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/3.358, allocations: 11.12 kB / 0.5305 GB, free: 65.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009278/3.367, allocations: 0.9828 MB / 0.5314 GB, free: 64.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/3.385, allocations: 4.505 MB / 0.5358 GB, free: 64.03 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003361/3.386, allocations: 158.2 kB / 0.536 GB, free: 64.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/3.388, allocations: 286.2 kB / 0.5362 GB, free: 64.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01909/3.407, allocations: 5.218 MB / 0.5413 GB, free: 64 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/3.43, allocations: 5.996 MB / 0.5472 GB, free: 63.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/3.43, allocations: 3.906 kB / 0.5472 GB, free: 63.41 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009945/3.431, allocations: 7.062 kB / 0.5472 GB, free: 63.41 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002732/3.431, allocations: 244.2 kB / 0.5474 GB, free: 63.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06116/3.492, allocations: 20.21 MB / 0.5672 GB, free: 54.9 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00608/3.498, allocations: 1.996 MB / 0.5691 GB, free: 54.13 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008613/3.507, allocations: 2.593 MB / 0.5717 GB, free: 53.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01934/3.526, allocations: 5.48 MB / 0.577 GB, free: 50.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/3.527, allocations: 63 kB / 0.5771 GB, free: 50.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=254): time 6.973e-06/3.527, allocations: 0 / 0.5771 GB, free: 50.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=261): time 0.02756/3.554, allocations: 7.826 MB / 0.5847 GB, free: 43.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/3.554, allocations: 77.47 kB / 0.5848 GB, free: 43.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005688/3.56, allocations: 2.126 MB / 0.5869 GB, free: 41.45 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000612/3.561, allocations: 25.7 kB / 0.5869 GB, free: 41.42 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001015/3.562, allocations: 1.7 MB / 0.5885 GB, free: 39.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/3.563, allocations: 0.8336 MB / 0.5894 GB, free: 39.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/3.563, allocations: 3.938 kB / 0.5894 GB, free: 39.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000217/3.563, allocations: 417.4 kB / 0.5898 GB, free: 38.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003791/3.567, allocations: 1.365 MB / 0.5911 GB, free: 37.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004241/3.571, allocations: 1.94 MB / 0.593 GB, free: 35.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00534/3.577, allocations: 1.729 MB / 0.5947 GB, free: 34.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/3.577, allocations: 10.53 kB / 0.5947 GB, free: 34.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=356) (initialization): time 0.01361/3.59, allocations: 4.26 MB / 0.5988 GB, free: 30.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/3.591, allocations: 4 kB / 0.5988 GB, free: 30.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.483e-05/3.591, allocations: 19.91 kB / 0.5989 GB, free: 30.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003301/3.594, allocations: 0.6383 MB / 0.5995 GB, free: 29.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/3.6, allocations: 0.6127 MB / 0.6001 GB, free: 29.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/3.617, allocations: 9.402 MB / 0.6093 GB, free: 20.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004369/3.621, allocations: 66.31 kB / 0.6093 GB, free: 19.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005853/3.622, allocations: 110.8 kB / 0.6094 GB, free: 19.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (306): * Single equations (assignments): 301 * 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%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007505/3.623, allocations: 169.4 kB / 0.6096 GB, free: 19.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009541/3.624, allocations: 296.1 kB / 0.6099 GB, free: 19.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/3.637, allocations: 4.047 MB / 0.6138 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.575e-05/3.637, allocations: 24 kB / 0.6139 GB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/3.637, allocations: 19.94 kB / 0.6139 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.296e-05/3.637, allocations: 11.53 kB / 0.6139 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02633/3.664, allocations: 8.604 MB / 0.6223 GB, free: 8.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/3.664, allocations: 8.062 kB / 0.6223 GB, free: 8.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004604/3.668, allocations: 396.8 kB / 0.6227 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0046/3.673, allocations: 0.8032 MB / 0.6235 GB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005212/3.673, allocations: 30 kB / 0.6235 GB, free: 7.719 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02615/3.7, allocations: 13.54 MB / 0.6367 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/3.7, allocations: 4 kB / 0.6367 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02005/3.72, allocations: 6.21 MB / 0.6428 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1822/3.902, allocations: 8.693 MB / 0.6513 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/3.905, allocations: 0.6885 MB / 0.6519 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001152/3.906, allocations: 18.62 kB / 0.652 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003747/3.91, allocations: 86.02 kB / 0.652 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006119/3.911, allocations: 158.5 kB / 0.6522 GB, free: 108.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003024/3.911, allocations: 71.83 kB / 0.6523 GB, free: 108.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.004245/3.915, allocations: 1.598 MB / 0.6538 GB, free: 108.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006822/3.922, allocations: 0.8961 MB / 0.6547 GB, free: 108.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00145/3.924, allocations: 425.1 kB / 0.6551 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01093/3.935, allocations: 3.897 MB / 0.6589 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/3.935, allocations: 6.562 kB / 0.6589 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007668/3.942, allocations: 2.534 MB / 0.6614 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006499/3.949, allocations: 0.5893 MB / 0.662 GB, free: 107.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/3.979, allocations: 7.98 MB / 0.6698 GB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008735/3.987, allocations: 3.734 MB / 0.6734 GB, free: 105 MB / 410.7 MB Notification: Performance of SimCode: time 1.653e-06/3.987, allocations: 0 / 0.6734 GB, free: 105 MB / 410.7 MB