Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip4,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.143/2.143, allocations: 214.7 MB / 226.9 MB, free: 1.297 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.751e-05/3.766e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5381/0.6559, allocations: 139.5 MB / 468.8 MB, free: 9.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6562, allocations: 74.72 kB / 468.9 MB, free: 9.016 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.058/1.715, allocations: 224.4 MB / 0.677 GB, free: 14.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.527e-06/1.715, allocations: 0 / 0.677 GB, free: 14.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005073/1.715, allocations: 159.7 kB / 0.6771 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.03084/1.746, allocations: 6.262 MB / 0.6832 GB, free: 7.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.746, allocations: 15.98 kB / 0.6833 GB, free: 7.711 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005578/1.752, allocations: 1.073 MB / 0.6843 GB, free: 6.621 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03179/1.784, allocations: 3.679 MB / 0.6879 GB, free: 2.93 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4118/2.196, allocations: 5.546 MB / 0.6933 GB, free: 51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001022/2.197, allocations: 494.1 kB / 0.6938 GB, free: 50.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003598/2.2, allocations: 0.6339 MB / 0.6944 GB, free: 50.98 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03945/2.24, allocations: 10.93 MB / 0.7051 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004782/2.24, allocations: 11.42 kB / 0.7051 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003069/2.243, allocations: 279.2 kB / 0.7054 GB, free: 50.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/2.244, allocations: 0.4959 MB / 0.7058 GB, free: 50.23 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03305/2.278, allocations: 10.33 MB / 0.7159 GB, free: 50.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1086/2.386, allocations: 37.92 MB / 0.753 GB, free: 38.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/2.419, allocations: 12.01 MB / 0.7647 GB, free: 30.4 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01597/2.435, allocations: 4.085 MB / 0.7687 GB, free: 28.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/2.436, allocations: 279.3 kB / 0.7689 GB, free: 28.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/2.436, allocations: 76.52 kB / 0.769 GB, free: 28.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 1.658e-05/2.437, allocations: 1.781 kB / 0.769 GB, free: 28.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.05967/2.496, allocations: 14.64 MB / 0.7833 GB, free: 22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/2.496, allocations: 96.91 kB / 0.7834 GB, free: 21.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006467/2.503, allocations: 2.384 MB / 0.7857 GB, free: 21.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00113/2.504, allocations: 94.7 kB / 0.7858 GB, free: 20.93 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002127/2.506, allocations: 2.61 MB / 0.7884 GB, free: 18.99 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002596/2.509, allocations: 1.611 MB / 0.79 GB, free: 17.74 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/2.51, allocations: 102.6 kB / 0.79 GB, free: 17.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006943/2.511, allocations: 0.5238 MB / 0.7906 GB, free: 17.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008731/2.52, allocations: 3.119 MB / 0.7936 GB, free: 15.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009899/2.53, allocations: 4.43 MB / 0.7979 GB, free: 13.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01023/2.54, allocations: 3.924 MB / 0.8018 GB, free: 11.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.431e-05/2.54, allocations: 17.03 kB / 0.8018 GB, free: 11.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02681/2.567, allocations: 9.074 MB / 0.8106 GB, free: 7.984 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.84e-05/2.567, allocations: 21.06 kB / 0.8107 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/2.567, allocations: 41.19 kB / 0.8107 GB, free: 7.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006366/2.574, allocations: 1.822 MB / 0.8125 GB, free: 7.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008869/2.582, allocations: 1.112 MB / 0.8136 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00833/2.591, allocations: 5.117 MB / 0.8186 GB, free: 1.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007815/2.599, allocations: 360.6 kB / 0.8189 GB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001702/2.6, allocations: 241.4 kB / 0.8191 GB, free: 1.367 MB / 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.003004/2.604, allocations: 399 kB / 0.8195 GB, free: 1.039 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/2.605, allocations: 351.6 kB / 0.8199 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02757/2.632, allocations: 8.279 MB / 0.8279 GB, free: 9.715 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002341/2.633, allocations: 110 kB / 0.828 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.86e-05/2.633, allocations: 3.953 kB / 0.828 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/2.633, allocations: 20.67 kB / 0.8281 GB, free: 9.613 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07979/2.713, allocations: 18.09 MB / 0.8457 GB, free: 12.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.133e-05/2.713, allocations: 8 kB / 0.8457 GB, free: 12.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007446/2.72, allocations: 0.6904 MB / 0.8464 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008749/2.729, allocations: 1.722 MB / 0.8481 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001237/2.73, allocations: 107.4 kB / 0.8482 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01255/2.743, allocations: 4.984 MB / 0.8531 GB, free: 5.453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.465e-05/2.743, allocations: 10.16 kB / 0.8531 GB, free: 5.449 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3842/3.127, allocations: 12.88 MB / 0.8657 GB, free: 76.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004193/3.131, allocations: 1.097 MB / 0.8667 GB, free: 76.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001795/3.133, allocations: 84.05 kB / 0.8668 GB, free: 76.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005231/3.139, allocations: 231.2 kB / 0.867 GB, free: 76.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001769/3.14, allocations: 354 kB / 0.8674 GB, free: 76.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006331/3.141, allocations: 136.7 kB / 0.8675 GB, free: 76.77 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004521/3.146, allocations: 1.759 MB / 0.8692 GB, free: 76.61 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.51e-07/3.146, allocations: 0 / 0.8692 GB, free: 76.61 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008179/3.154, allocations: 1.314 MB / 0.8705 GB, free: 76.61 MB / 474.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.03457/3.188, allocations: 14.63 MB / 0.8848 GB, free: 73.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01961/3.208, allocations: 7.373 MB / 0.892 GB, free: 73.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/3.208, allocations: 0 / 0.892 GB, free: 73.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01056/3.219, allocations: 3.582 MB / 0.8955 GB, free: 73.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00551/3.224, allocations: 0.5714 MB / 0.896 GB, free: 73.73 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/3.265, allocations: 13.76 MB / 0.9095 GB, free: 71.69 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007489/3.273, allocations: 4.43 MB / 0.9138 GB, free: 70.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.007846/3.281, allocations: 1.302 MB / 0.9151 GB, free: 70.81 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006297/3.287, allocations: 2.313 MB / 0.9173 GB, free: 70.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.513e-06/3.287, allocations: 5.469 kB / 0.9173 GB, free: 70.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2414/3.529, allocations: 114.6 MB / 1.029 GB, free: 6.938 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000242/3.529, allocations: 173 kB / 1.029 GB, free: 6.715 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/10.14, allocations: 0 / 1.029 GB, free: 6.715 MB / 474.7 MB