Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_Slip2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_Slip2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.031/2.031, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.452e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1061, allocations: 49.7 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5716/0.6778, allocations: 139.5 MB / 468.8 MB, free: 9.027 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.6781, allocations: 74.66 kB / 468.9 MB, free: 8.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.037/1.715, allocations: 224.4 MB / 0.677 GB, free: 14.24 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.307e-06/1.715, allocations: 0 / 0.677 GB, free: 14.24 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004945/1.715, allocations: 159.7 kB / 0.6771 GB, free: 14.08 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.03114/1.746, allocations: 6.262 MB / 0.6832 GB, free: 7.742 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/1.747, allocations: 15.98 kB / 0.6833 GB, free: 7.727 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005716/1.752, allocations: 1.073 MB / 0.6843 GB, free: 6.637 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03208/1.784, allocations: 3.675 MB / 0.6879 GB, free: 2.949 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3728/2.157, allocations: 5.546 MB / 0.6933 GB, free: 49.76 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001026/2.158, allocations: 0.4904 MB / 0.6938 GB, free: 49.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003508/2.162, allocations: 0.6319 MB / 0.6944 GB, free: 49.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04019/2.202, allocations: 10.93 MB / 0.7051 GB, free: 49.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004242/2.203, allocations: 11.77 kB / 0.7051 GB, free: 49.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/2.206, allocations: 277.2 kB / 0.7054 GB, free: 49.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/2.207, allocations: 0.4938 MB / 0.7058 GB, free: 48.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03358/2.24, allocations: 10.33 MB / 0.7159 GB, free: 48.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1003/2.341, allocations: 37.92 MB / 0.753 GB, free: 37.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/2.363, allocations: 12 MB / 0.7647 GB, free: 29.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01033/2.373, allocations: 4.087 MB / 0.7687 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000922/2.374, allocations: 276.9 kB / 0.7689 GB, free: 27.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.267e-05/2.374, allocations: 80.45 kB / 0.769 GB, free: 27.21 MB / 442.7 MB Notification: Performance of pre-optimization done (n=476): time 9.337e-06/2.374, allocations: 0 / 0.769 GB, free: 27.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=482): time 0.04556/2.42, allocations: 14.65 MB / 0.7833 GB, free: 20.85 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.953e-05/2.42, allocations: 94.53 kB / 0.7834 GB, free: 20.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005914/2.426, allocations: 2.384 MB / 0.7857 GB, free: 19.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/2.427, allocations: 91.17 kB / 0.7858 GB, free: 19.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002257/2.429, allocations: 2.601 MB / 0.7884 GB, free: 17.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00261/2.432, allocations: 1.614 MB / 0.79 GB, free: 16.6 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008896/2.433, allocations: 105.3 kB / 0.7901 GB, free: 16.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006212/2.433, allocations: 0.524 MB / 0.7906 GB, free: 16.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008669/2.442, allocations: 3.123 MB / 0.7936 GB, free: 14.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/2.453, allocations: 4.422 MB / 0.7979 GB, free: 11.97 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01106/2.464, allocations: 3.934 MB / 0.8018 GB, free: 10.37 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.187e-05/2.464, allocations: 11.47 kB / 0.8018 GB, free: 10.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=715) (initialization): time 0.02925/2.493, allocations: 9.076 MB / 0.8106 GB, free: 6.844 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.415e-05/2.493, allocations: 25.62 kB / 0.8107 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/2.493, allocations: 39.66 kB / 0.8107 GB, free: 6.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006609/2.5, allocations: 1.816 MB / 0.8125 GB, free: 6.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009308/2.509, allocations: 1.111 MB / 0.8136 GB, free: 5.355 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008973/2.518, allocations: 5.125 MB / 0.8186 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008416/2.527, allocations: 360.7 kB / 0.8189 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002098/2.529, allocations: 238.1 kB / 0.8191 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.003407/2.533, allocations: 423 kB / 0.8195 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/2.535, allocations: 347.4 kB / 0.8199 GB, free: 15.54 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03002/2.565, allocations: 8.264 MB / 0.8279 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001976/2.565, allocations: 109 kB / 0.8281 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.842e-05/2.565, allocations: 3.953 kB / 0.8281 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001258/2.565, allocations: 25.47 kB / 0.8281 GB, free: 8.414 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05828/2.623, allocations: 17.59 MB / 0.8453 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.896e-05/2.623, allocations: 4 kB / 0.8453 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006692/2.63, allocations: 0.6933 MB / 0.8459 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006641/2.637, allocations: 1.715 MB / 0.8476 GB, free: 7.707 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001324/2.638, allocations: 112.4 kB / 0.8477 GB, free: 7.613 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/2.648, allocations: 4.979 MB / 0.8526 GB, free: 3.004 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/2.648, allocations: 6.812 kB / 0.8526 GB, free: 3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03697/2.685, allocations: 12.63 MB / 0.8649 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004567/2.69, allocations: 1.102 MB / 0.866 GB, free: 6.855 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002358/2.692, allocations: 80 kB / 0.8661 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006008/2.699, allocations: 230.7 kB / 0.8663 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001987/2.701, allocations: 350.4 kB / 0.8666 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001511/2.702, allocations: 133.7 kB / 0.8668 GB, free: 6.277 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005627/2.708, allocations: 1.764 MB / 0.8685 GB, free: 4.68 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.81e-07/2.708, allocations: 0 / 0.8685 GB, free: 4.68 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00911/2.717, allocations: 1.31 MB / 0.8698 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.4157/3.133, allocations: 15.05 MB / 0.8845 GB, free: 92.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02313/3.156, allocations: 7.373 MB / 0.8917 GB, free: 92.15 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.71e-05/3.156, allocations: 0 / 0.8917 GB, free: 92.15 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01121/3.167, allocations: 3.574 MB / 0.8951 GB, free: 92.06 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005808/3.173, allocations: 0.5741 MB / 0.8957 GB, free: 92.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0453/3.218, allocations: 13.77 MB / 0.9092 GB, free: 90 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009664/3.228, allocations: 4.43 MB / 0.9135 GB, free: 89.17 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007704/3.236, allocations: 1.302 MB / 0.9148 GB, free: 89.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006265/3.242, allocations: 2.319 MB / 0.917 GB, free: 89.12 MB / 490.7 MB Notification: Performance of SimCode: time 1.943e-06/3.242, allocations: 0 / 0.917 GB, free: 89.12 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/3.499, allocations: 114.5 MB / 1.029 GB, free: 32.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/3.499, allocations: 177 kB / 1.029 GB, free: 32.27 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.362/9.861, allocations: 0 / 1.029 GB, free: 32.27 MB / 490.7 MB