Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Rectifier,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.031/2.031, allocations: 214.7 MB / 226.8 MB, free: 1.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.27e-05/5.297e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 49.7 MB / 329.3 MB, free: 11.19 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5693/0.7039, allocations: 134 MB / 463.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.7042, allocations: 71.72 kB / 463.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7212/1.425, allocations: 98 MB / 0.5482 GB, free: 97.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.425, allocations: 1.219 kB / 0.5482 GB, free: 97.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004481/1.426, allocations: 100.2 kB / 0.5483 GB, free: 97.8 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.01538/1.441, allocations: 3.807 MB / 0.552 GB, free: 96.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.441, allocations: 10.06 kB / 0.552 GB, free: 96.29 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002391/1.444, allocations: 0.5591 MB / 0.5525 GB, free: 96.22 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007925/1.452, allocations: 0.9182 MB / 0.5534 GB, free: 95.98 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01429/1.466, allocations: 3.736 MB / 0.5571 GB, free: 95.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003695/1.467, allocations: 280.9 kB / 0.5574 GB, free: 95.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001643/1.468, allocations: 382.2 kB / 0.5577 GB, free: 95.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/1.484, allocations: 4.707 MB / 0.5623 GB, free: 94.88 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001754/1.484, allocations: 3.688 kB / 0.5623 GB, free: 94.88 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001137/1.485, allocations: 163.5 kB / 0.5625 GB, free: 94.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002144/1.485, allocations: 167.8 kB / 0.5626 GB, free: 94.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/1.498, allocations: 3.835 MB / 0.5664 GB, free: 93.86 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04388/1.542, allocations: 16.63 MB / 0.5826 GB, free: 84.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/1.553, allocations: 8.027 MB / 0.5905 GB, free: 77.57 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004854/1.558, allocations: 1.817 MB / 0.5922 GB, free: 76.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01528/1.574, allocations: 5.299 MB / 0.5974 GB, free: 73.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/1.574, allocations: 58.31 kB / 0.5975 GB, free: 73.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=181): time 5.36e-06/1.574, allocations: 0 / 0.5975 GB, free: 73.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=184): time 0.01445/1.588, allocations: 5.314 MB / 0.6027 GB, free: 71.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.698e-05/1.588, allocations: 181.4 kB / 0.6028 GB, free: 70.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/1.593, allocations: 1.975 MB / 0.6048 GB, free: 70.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004511/1.593, allocations: 56.86 kB / 0.6048 GB, free: 70.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001342/1.595, allocations: 1.725 MB / 0.6065 GB, free: 68.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/1.595, allocations: 0.627 MB / 0.6071 GB, free: 68.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.596, allocations: 43.41 kB / 0.6071 GB, free: 68.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/1.596, allocations: 397.9 kB / 0.6075 GB, free: 67.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/1.598, allocations: 0.8592 MB / 0.6084 GB, free: 67.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/1.6, allocations: 1.474 MB / 0.6098 GB, free: 66.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002798/1.603, allocations: 1.107 MB / 0.6109 GB, free: 65.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.29e-05/1.603, allocations: 15.77 kB / 0.6109 GB, free: 65.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00812/1.612, allocations: 3.048 MB / 0.6139 GB, free: 64.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001941/1.614, allocations: 7.844 MB / 0.6215 GB, free: 55.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.614, allocations: 20 kB / 0.6216 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/1.616, allocations: 0.4951 MB / 0.622 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003868/1.62, allocations: 496.5 kB / 0.6225 GB, free: 55.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.63, allocations: 8.322 MB / 0.6306 GB, free: 46.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003411/1.633, allocations: 105.4 kB / 0.6307 GB, free: 46.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005574/1.634, allocations: 91.75 kB / 0.6308 GB, free: 46.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.634, allocations: 4 kB / 0.6308 GB, free: 46.64 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006903/1.641, allocations: 2.804 MB / 0.6336 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.411e-05/1.641, allocations: 20 kB / 0.6336 GB, free: 44.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/1.643, allocations: 0.4984 MB / 0.6341 GB, free: 43.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/1.646, allocations: 484.2 kB / 0.6345 GB, free: 43.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/1.657, allocations: 8.326 MB / 0.6427 GB, free: 34.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003137/1.66, allocations: 94.67 kB / 0.6428 GB, free: 34.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005299/1.661, allocations: 92 kB / 0.6428 GB, free: 34.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 85 * Number of states: 0 () * Number of discrete variables: 7 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,voltageController.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (259): * Single equations (assignments): 252 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006603/1.661, allocations: 252.3 kB / 0.6431 GB, free: 34.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008186/1.662, allocations: 256.9 kB / 0.6433 GB, free: 34.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007449/1.669, allocations: 2.866 MB / 0.6461 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.492e-05/1.67, allocations: 20.45 kB / 0.6462 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.802e-05/1.67, allocations: 4 kB / 0.6462 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/1.67, allocations: 7.359 kB / 0.6462 GB, free: 31.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01606/1.686, allocations: 6.149 MB / 0.6522 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/1.686, allocations: 4 kB / 0.6522 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/1.688, allocations: 265.5 kB / 0.6524 GB, free: 26.41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/1.691, allocations: 0.6736 MB / 0.6531 GB, free: 25.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003413/1.691, allocations: 47.84 kB / 0.6531 GB, free: 25.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01579/1.707, allocations: 12.81 MB / 0.6656 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.707, allocations: 0 / 0.6656 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00884/1.716, allocations: 4.142 MB / 0.6697 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/1.718, allocations: 0.5312 MB / 0.6702 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005092/1.718, allocations: 40 kB / 0.6702 GB, free: 8.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002077/1.72, allocations: 85.58 kB / 0.6703 GB, free: 8.523 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004303/1.721, allocations: 142.6 kB / 0.6705 GB, free: 8.438 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/1.721, allocations: 51.19 kB / 0.6705 GB, free: 8.391 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003132/1.724, allocations: 1.497 MB / 0.672 GB, free: 7.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.61e-07/1.724, allocations: 0 / 0.672 GB, free: 7.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006382/1.73, allocations: 1.374 MB / 0.6733 GB, free: 5.641 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,speed.phi,speed.w,voltageController.I.y,capacitor1.v,capacitor2.v,filter.x[1],filter.x[2]) * Number of discrete variables: 6 (rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * 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: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.009433/1.74, allocations: 5.549 MB / 0.6787 GB, free: 444 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3473/2.087, allocations: 4.848 MB / 0.6835 GB, free: 86.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/2.087, allocations: 1.25 kB / 0.6835 GB, free: 86.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004432/2.092, allocations: 1.925 MB / 0.6853 GB, free: 86.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005632/2.097, allocations: 0.661 MB / 0.686 GB, free: 86.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02362/2.121, allocations: 6.714 MB / 0.6925 GB, free: 84.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004986/2.126, allocations: 2.644 MB / 0.6951 GB, free: 83.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006437/2.133, allocations: 0.8876 MB / 0.696 GB, free: 83.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/2.136, allocations: 1.385 MB / 0.6973 GB, free: 83.83 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/2.136, allocations: 4.938 kB / 0.6974 GB, free: 83.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/2.346, allocations: 77.13 MB / 0.7727 GB, free: 55.28 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/2.347, allocations: 180.5 kB / 0.7729 GB, free: 55.06 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.947/8.294, allocations: 0 / 0.7729 GB, free: 55.06 MB / 442.7 MB