Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMR_Inverter,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMR_Inverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.053/2.053, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.065e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.5867, allocations: 110.1 MB / 439.3 MB, free: 5.875 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.587, allocations: 73.66 kB / 439.4 MB, free: 5.844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3289/0.9159, allocations: 78.74 MB / 0.506 GB, free: 13.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.916, allocations: 0 / 0.506 GB, free: 13.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000393/0.9164, allocations: 83.86 kB / 0.5061 GB, free: 13.38 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: 826 * Number of variables: 826 Notification: Performance of Generate backend data structure: time 0.01451/0.9309, allocations: 3.093 MB / 0.5091 GB, free: 10.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.629e-05/0.931, allocations: 12.03 kB / 0.5091 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002529/0.9336, allocations: 497.4 kB / 0.5096 GB, free: 9.707 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/0.9402, allocations: 0.6868 MB / 0.5103 GB, free: 9.016 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.9546, allocations: 3.252 MB / 0.5134 GB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/0.9551, allocations: 242.3 kB / 0.5137 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001578/0.9567, allocations: 319.9 kB / 0.514 GB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0157/0.9725, allocations: 3.997 MB / 0.5179 GB, free: 1.023 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002221/0.9727, allocations: 7.906 kB / 0.5179 GB, free: 1.016 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.974, allocations: 132 kB / 0.518 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002611/0.9743, allocations: 138.3 kB / 0.5181 GB, free: 0.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3086/1.283, allocations: 3.113 MB / 0.5212 GB, free: 97.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03447/1.317, allocations: 13.23 MB / 0.5341 GB, free: 94.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007684/1.325, allocations: 5.393 MB / 0.5394 GB, free: 90.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002993/1.328, allocations: 1.043 MB / 0.5404 GB, free: 90.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007991/1.336, allocations: 3.045 MB / 0.5434 GB, free: 89.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.336, allocations: 42.66 kB / 0.5434 GB, free: 89.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=105): time 5.53e-06/1.336, allocations: 0 / 0.5434 GB, free: 89.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=108): time 0.008695/1.345, allocations: 3.36 MB / 0.5467 GB, free: 88.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/1.345, allocations: 70.19 kB / 0.5467 GB, free: 88.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003112/1.348, allocations: 1.376 MB / 0.5481 GB, free: 88.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002736/1.349, allocations: 46.95 kB / 0.5481 GB, free: 88.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/1.35, allocations: 1.419 MB / 0.5495 GB, free: 87.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/1.35, allocations: 386.6 kB / 0.5499 GB, free: 87.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/1.351, allocations: 36.78 kB / 0.5499 GB, free: 87.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/1.351, allocations: 359.6 kB / 0.5503 GB, free: 87.33 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/1.352, allocations: 0.5246 MB / 0.5508 GB, free: 87.33 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/1.354, allocations: 0.9925 MB / 0.5518 GB, free: 86.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/1.356, allocations: 0.7233 MB / 0.5525 GB, free: 86.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-05/1.356, allocations: 7.922 kB / 0.5525 GB, free: 86.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.005075/1.361, allocations: 1.902 MB / 0.5543 GB, free: 86.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/1.361, allocations: 12.91 kB / 0.5543 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.177e-05/1.361, allocations: 20.88 kB / 0.5544 GB, free: 86.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005476/1.362, allocations: 126.5 kB / 0.5545 GB, free: 86.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/1.365, allocations: 376.3 kB / 0.5548 GB, free: 86.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0031/1.368, allocations: 3.085 MB / 0.5578 GB, free: 83.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/1.37, allocations: 77.47 kB / 0.5579 GB, free: 83.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003664/1.371, allocations: 64.03 kB / 0.558 GB, free: 83.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (183): * Single equations (assignments): 180 * 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: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004017/1.371, allocations: 197.4 kB / 0.5582 GB, free: 83.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000523/1.371, allocations: 178.9 kB / 0.5583 GB, free: 83.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004468/1.376, allocations: 1.716 MB / 0.56 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/1.376, allocations: 11.81 kB / 0.56 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.376, allocations: 7.797 kB / 0.56 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/1.376, allocations: 7.078 kB / 0.56 GB, free: 83.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.387, allocations: 4.244 MB / 0.5642 GB, free: 81.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.387, allocations: 0 / 0.5642 GB, free: 81.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/1.388, allocations: 185.4 kB / 0.5644 GB, free: 81.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/1.39, allocations: 319 kB / 0.5647 GB, free: 81.63 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/1.39, allocations: 26 kB / 0.5647 GB, free: 81.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0085/1.399, allocations: 7.435 MB / 0.572 GB, free: 75.15 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.399, allocations: 7.234 kB / 0.572 GB, free: 75.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005274/1.404, allocations: 2.524 MB / 0.5744 GB, free: 73.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.405, allocations: 364.9 kB / 0.5748 GB, free: 73.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/1.405, allocations: 29.56 kB / 0.5748 GB, free: 73.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/1.407, allocations: 62.61 kB / 0.5749 GB, free: 73.45 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/1.407, allocations: 84.17 kB / 0.5749 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.967e-05/1.408, allocations: 37.3 kB / 0.575 GB, free: 73.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002094/1.41, allocations: 1.045 MB / 0.576 GB, free: 72.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.41, allocations: 0 / 0.576 GB, free: 72.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002792/1.413, allocations: 0.5409 MB / 0.5765 GB, free: 72.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (smr.inertiaRotor.w,smr.stator.core.Phi.re,smr.stator.core.Phi.im,smr.stator.zeroInductor.i0,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smr.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 80 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 5,(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005923/1.418, allocations: 3.809 MB / 0.5802 GB, free: 70.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00334/1.422, allocations: 1.581 MB / 0.5818 GB, free: 69.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.78e-06/1.422, allocations: 3.188 kB / 0.5818 GB, free: 69.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002417/1.424, allocations: 1.145 MB / 0.5829 GB, free: 69.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/1.428, allocations: 468.8 kB / 0.5834 GB, free: 69.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/1.442, allocations: 5.134 MB / 0.5884 GB, free: 66.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002307/1.444, allocations: 2.287 MB / 0.5906 GB, free: 65.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002257/1.446, allocations: 371.8 kB / 0.591 GB, free: 65.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002011/1.448, allocations: 1.096 MB / 0.592 GB, free: 64.82 MB / 442.7 MB Notification: Performance of SimCode: time 1.122e-06/1.448, allocations: 3.656 kB / 0.592 GB, free: 64.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.562, allocations: 47.61 MB / 0.6385 GB, free: 42.19 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003298/1.562, allocations: 167.5 kB / 0.6387 GB, free: 41.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.116/5.678, allocations: 3.938 kB / 0.6387 GB, free: 41.96 MB / 442.7 MB