Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_VCurve3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_VCurve3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.058/2.058, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.983e-05/4.004e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5427/0.6508, allocations: 139.9 MB / 469.2 MB, free: 8.309 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.6512, allocations: 74.84 kB / 469.3 MB, free: 8.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.562/2.213, allocations: 275 MB / 0.7268 GB, free: 58.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.843e-06/2.213, allocations: 0 / 0.7268 GB, free: 58.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006814/2.214, allocations: 178.7 kB / 0.727 GB, free: 58.25 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.03699/2.251, allocations: 7.57 MB / 0.7344 GB, free: 55.83 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/2.251, allocations: 8.75 kB / 0.7344 GB, free: 55.83 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006603/2.257, allocations: 1.295 MB / 0.7357 GB, free: 55.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04001/2.297, allocations: 4.551 MB / 0.7401 GB, free: 55.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02683/2.324, allocations: 6.705 MB / 0.7467 GB, free: 54.46 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009928/2.325, allocations: 0.5859 MB / 0.7472 GB, free: 54.45 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004383/2.33, allocations: 0.7713 MB / 0.748 GB, free: 54.44 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04528/2.375, allocations: 13.34 MB / 0.761 GB, free: 53.56 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006427/2.376, allocations: 13.47 kB / 0.761 GB, free: 53.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00441/2.38, allocations: 331.9 kB / 0.7613 GB, free: 53.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0013/2.381, allocations: 0.5934 MB / 0.7619 GB, free: 53.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07977/2.461, allocations: 12.63 MB / 0.7743 GB, free: 52.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1291/2.591, allocations: 45.88 MB / 0.8191 GB, free: 26.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02806/2.619, allocations: 16.47 MB / 0.8351 GB, free: 12.31 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0144/2.633, allocations: 5.213 MB / 0.8402 GB, free: 7.527 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/2.634, allocations: 302.4 kB / 0.8405 GB, free: 7.234 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01356/2.648, allocations: 4.483 MB / 0.8449 GB, free: 3.426 MB / 458.7 MB Notification: Performance of pre-optimization done (n=612): time 1.367e-05/2.648, allocations: 0 / 0.8449 GB, free: 3.426 MB / 458.7 MB Notification: Performance of matching and sorting (n=618): time 0.06631/2.714, allocations: 19.41 MB / 0.8639 GB, free: 1.777 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003173/2.715, allocations: 325.6 kB / 0.8642 GB, free: 1.398 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.363/3.078, allocations: 2.816 MB / 0.8669 GB, free: 73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001556/3.079, allocations: 113.7 kB / 0.867 GB, free: 72.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003558/3.083, allocations: 3.015 MB / 0.87 GB, free: 72.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003891/3.087, allocations: 2.052 MB / 0.872 GB, free: 71.34 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001416/3.088, allocations: 124.9 kB / 0.8721 GB, free: 71.34 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009339/3.089, allocations: 0.5683 MB / 0.8726 GB, free: 71.02 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01233/3.102, allocations: 3.855 MB / 0.8764 GB, free: 71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01386/3.116, allocations: 5.256 MB / 0.8815 GB, free: 69.54 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/3.13, allocations: 4.84 MB / 0.8863 GB, free: 69.41 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001117/3.131, allocations: 10.44 kB / 0.8863 GB, free: 69.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=853) (initialization): time 0.03523/3.166, allocations: 11.27 MB / 0.8973 GB, free: 68.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.189e-05/3.166, allocations: 50.45 kB / 0.8973 GB, free: 68.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.916e-05/3.166, allocations: 39.75 kB / 0.8974 GB, free: 68.88 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009137/3.175, allocations: 2.549 MB / 0.8999 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/3.186, allocations: 1.28 MB / 0.9011 GB, free: 68.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/3.198, allocations: 6.988 MB / 0.9079 GB, free: 66.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009993/3.208, allocations: 429 kB / 0.9083 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/3.21, allocations: 274.2 kB / 0.9086 GB, free: 66.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 632 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * 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: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 71} Notification: Performance of prepare postOptimizeDAE: time 0.004093/3.215, allocations: 480.1 kB / 0.9091 GB, free: 66.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00245/3.217, allocations: 423.3 kB / 0.9095 GB, free: 66.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0318/3.249, allocations: 10.65 MB / 0.9199 GB, free: 65.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002127/3.249, allocations: 131.6 kB / 0.92 GB, free: 65.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/3.249, allocations: 3.953 kB / 0.92 GB, free: 65.89 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001441/3.249, allocations: 30.52 kB / 0.92 GB, free: 65.89 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08135/3.331, allocations: 22.56 MB / 0.9421 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.547e-05/3.331, allocations: 3.938 kB / 0.9421 GB, free: 57.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007793/3.339, allocations: 0.8695 MB / 0.9429 GB, free: 57.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008606/3.347, allocations: 2.449 MB / 0.9453 GB, free: 56.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/3.349, allocations: 132.7 kB / 0.9454 GB, free: 56.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/3.36, allocations: 6.829 MB / 0.9521 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/3.36, allocations: 3.719 kB / 0.9521 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03837/3.398, allocations: 15.87 MB / 0.9676 GB, free: 44.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005176/3.403, allocations: 1.368 MB / 0.9689 GB, free: 43.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002377/3.406, allocations: 97.81 kB / 0.969 GB, free: 43.68 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006703/3.412, allocations: 295.7 kB / 0.9693 GB, free: 43.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002158/3.415, allocations: 437.2 kB / 0.9697 GB, free: 43.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001061/3.416, allocations: 169 kB / 0.9699 GB, free: 43.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004941/3.421, allocations: 2.007 MB / 0.9718 GB, free: 42.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.62e-07/3.421, allocations: 2.844 kB / 0.9718 GB, free: 42.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009913/3.431, allocations: 1.582 MB / 0.9734 GB, free: 42.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (smee.inertiaRotor.w,smee.excitation.electroMagneticConverter.port_p.reference.gamma,constantTorque.phi) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 1 ($whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (467): * Single equations (assignments): 429 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 33 * 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: 0 * Non-linear torn systems: 4 {4 4,6 9,6 9,10 69} Notification: Performance of Backend phase and start with SimCode phase: time 0.03805/3.469, allocations: 17.84 MB / 0.9908 GB, free: 28.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0242/3.493, allocations: 9.237 MB / 0.9998 GB, free: 20.25 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/3.493, allocations: 3.812 kB / 0.9998 GB, free: 20.25 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01308/3.506, allocations: 4.639 MB / 1.004 GB, free: 16.12 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006964/3.513, allocations: 0.725 MB / 1.005 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05303/3.566, allocations: 17.01 MB / 1.022 GB, free: 0.7148 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/3.58, allocations: 5.345 MB / 1.027 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0102/3.59, allocations: 1.543 MB / 1.028 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008563/3.599, allocations: 2.811 MB / 1.031 GB, free: 9.035 MB / 490.7 MB Notification: Performance of SimCode: time 1.854e-06/3.599, allocations: 4 kB / 1.031 GB, free: 9.031 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7329/4.332, allocations: 141.9 MB / 1.17 GB, free: 32.11 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002627/4.332, allocations: 178.2 kB / 1.17 GB, free: 31.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/11.48, allocations: 0 / 1.17 GB, free: 31.88 MB / 490.7 MB