Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.085/2.085, allocations: 214.7 MB / 226.8 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.741e-05, allocations: 8 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5943/0.7074, allocations: 139.5 MB / 468.8 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.7078, allocations: 71.41 kB / 468.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012/1.72, allocations: 224.2 MB / 0.6768 GB, free: 14.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.72, allocations: 0 / 0.6768 GB, free: 14.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005626/1.72, allocations: 155.8 kB / 0.6769 GB, free: 14.07 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.03182/1.752, allocations: 6.262 MB / 0.6831 GB, free: 7.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/1.752, allocations: 11.98 kB / 0.6831 GB, free: 7.715 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0056/1.758, allocations: 1.077 MB / 0.6841 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03186/1.79, allocations: 3.675 MB / 0.6877 GB, free: 2.934 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3653/2.155, allocations: 5.553 MB / 0.6931 GB, free: 49.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001028/2.156, allocations: 493.7 kB / 0.6936 GB, free: 49.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00392/2.16, allocations: 0.635 MB / 0.6942 GB, free: 49.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04356/2.204, allocations: 10.93 MB / 0.7049 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005373/2.204, allocations: 13.31 kB / 0.7049 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003555/2.208, allocations: 276.8 kB / 0.7052 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001246/2.209, allocations: 0.4941 MB / 0.7057 GB, free: 49.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03468/2.244, allocations: 10.34 MB / 0.7158 GB, free: 49.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1031/2.347, allocations: 37.91 MB / 0.7528 GB, free: 37.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02286/2.37, allocations: 12 MB / 0.7645 GB, free: 29.43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0111/2.381, allocations: 4.091 MB / 0.7685 GB, free: 27.68 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009783/2.382, allocations: 283.8 kB / 0.7688 GB, free: 27.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.388e-05/2.382, allocations: 76.8 kB / 0.7688 GB, free: 27.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 8.937e-06/2.382, allocations: 0 / 0.7688 GB, free: 27.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.0484/2.431, allocations: 14.64 MB / 0.7831 GB, free: 21.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/2.431, allocations: 95.81 kB / 0.7832 GB, free: 20.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006346/2.437, allocations: 2.383 MB / 0.7856 GB, free: 20.04 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001178/2.439, allocations: 99.23 kB / 0.7856 GB, free: 19.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002277/2.441, allocations: 2.604 MB / 0.7882 GB, free: 18.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002915/2.444, allocations: 1.612 MB / 0.7898 GB, free: 16.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/2.445, allocations: 101.2 kB / 0.7899 GB, free: 16.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007055/2.446, allocations: 0.5275 MB / 0.7904 GB, free: 16.29 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008658/2.454, allocations: 3.116 MB / 0.7934 GB, free: 15 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01009/2.465, allocations: 4.433 MB / 0.7977 GB, free: 12.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01114/2.476, allocations: 3.925 MB / 0.8016 GB, free: 10.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.736e-05/2.476, allocations: 14.5 kB / 0.8016 GB, free: 10.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02967/2.506, allocations: 9.076 MB / 0.8105 GB, free: 7.012 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.439e-05/2.506, allocations: 25.55 kB / 0.8105 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001054/2.506, allocations: 39.66 kB / 0.8105 GB, free: 7.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006611/2.512, allocations: 1.816 MB / 0.8123 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009184/2.522, allocations: 1.118 MB / 0.8134 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008642/2.53, allocations: 5.118 MB / 0.8184 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008203/2.539, allocations: 357.8 kB / 0.8187 GB, free: 396 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/2.54, allocations: 246.9 kB / 0.819 GB, free: 168 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 549 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 45} Notification: Performance of prepare postOptimizeDAE: time 0.003398/2.544, allocations: 416.3 kB / 0.8194 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002014/2.546, allocations: 347.4 kB / 0.8197 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03083/2.577, allocations: 8.258 MB / 0.8278 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002262/2.577, allocations: 110.6 kB / 0.8279 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/2.577, allocations: 3.953 kB / 0.8279 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001872/2.577, allocations: 22.75 kB / 0.8279 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05731/2.635, allocations: 17.6 MB / 0.8451 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.681e-05/2.635, allocations: 4 kB / 0.8451 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006577/2.641, allocations: 0.6928 MB / 0.8457 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006868/2.648, allocations: 1.718 MB / 0.8474 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001424/2.65, allocations: 108.5 kB / 0.8475 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/2.66, allocations: 4.985 MB / 0.8524 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-05/2.66, allocations: 4.562 kB / 0.8524 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04001/2.7, allocations: 12.62 MB / 0.8647 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004953/2.705, allocations: 1.101 MB / 0.8658 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002289/2.707, allocations: 80 kB / 0.8659 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005959/2.713, allocations: 229.2 kB / 0.8661 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002007/2.716, allocations: 349.9 kB / 0.8664 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001435/2.717, allocations: 138.2 kB / 0.8666 GB, free: 6.277 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005781/2.723, allocations: 1.76 MB / 0.8683 GB, free: 4.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.02e-07/2.723, allocations: 0 / 0.8683 GB, free: 4.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009686/2.733, allocations: 1.311 MB / 0.8696 GB, free: 3.383 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 2 (smee.gamma,smee.excitation.electroMagneticConverter.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 344 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 43} Notification: Performance of Backend phase and start with SimCode phase: time 0.4199/3.153, allocations: 15.05 MB / 0.8843 GB, free: 92.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02313/3.176, allocations: 7.364 MB / 0.8915 GB, free: 92.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/3.176, allocations: 5.812 kB / 0.8915 GB, free: 92.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01159/3.187, allocations: 3.574 MB / 0.895 GB, free: 92.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006176/3.194, allocations: 0.5916 MB / 0.8955 GB, free: 92.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05002/3.244, allocations: 13.76 MB / 0.909 GB, free: 90.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01032/3.254, allocations: 4.432 MB / 0.9133 GB, free: 89.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009054/3.263, allocations: 1.304 MB / 0.9146 GB, free: 89.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006869/3.27, allocations: 2.316 MB / 0.9168 GB, free: 89.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.864e-06/3.27, allocations: 0 / 0.9168 GB, free: 89.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2583/3.529, allocations: 114.5 MB / 1.029 GB, free: 32.34 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002491/3.529, allocations: 173.1 kB / 1.029 GB, free: 32.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.372/9.901, allocations: 0 / 1.029 GB, free: 32.12 MB / 490.7 MB