Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.129/2.129, allocations: 214.7 MB / 226.9 MB, free: 1.301 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.263e-05/4.241e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5324/0.65, allocations: 117.3 MB / 446.5 MB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.6504, allocations: 74.47 kB / 446.6 MB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9281/1.579, allocations: 155.8 MB / 0.5883 GB, free: 87.71 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.579, allocations: 3.812 kB / 0.5883 GB, free: 87.71 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003922/1.579, allocations: 87.81 kB / 0.5884 GB, free: 87.7 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: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.01494/1.594, allocations: 3.476 MB / 0.5918 GB, free: 85.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/1.594, allocations: 18.36 kB / 0.5918 GB, free: 85.95 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002684/1.597, allocations: 0.553 MB / 0.5923 GB, free: 85.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007821/1.605, allocations: 0.8658 MB / 0.5932 GB, free: 85.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/1.619, allocations: 3.517 MB / 0.5966 GB, free: 83.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/1.619, allocations: 277.1 kB / 0.5969 GB, free: 83.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/1.621, allocations: 362.6 kB / 0.5972 GB, free: 83.41 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/1.637, allocations: 4.5 MB / 0.6016 GB, free: 81.26 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.637, allocations: 7.906 kB / 0.6016 GB, free: 81.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001327/1.639, allocations: 161.2 kB / 0.6018 GB, free: 81.14 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/1.639, allocations: 159.9 kB / 0.6019 GB, free: 81.12 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01236/1.651, allocations: 3.55 MB / 0.6054 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04194/1.693, allocations: 15.43 MB / 0.6204 GB, free: 67.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008664/1.702, allocations: 5.992 MB / 0.6263 GB, free: 60.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003708/1.706, allocations: 1.266 MB / 0.6275 GB, free: 59.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01219/1.718, allocations: 4.046 MB / 0.6315 GB, free: 55.05 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/1.718, allocations: 55.83 kB / 0.6315 GB, free: 54.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=133): time 4.759e-06/1.718, allocations: 0 / 0.6315 GB, free: 54.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=170): time 0.01857/1.737, allocations: 5.408 MB / 0.6368 GB, free: 49.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.737, allocations: 69.41 kB / 0.6369 GB, free: 49.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004496/1.741, allocations: 1.698 MB / 0.6385 GB, free: 47.72 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003417/1.742, allocations: 57.7 kB / 0.6386 GB, free: 47.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001514/1.743, allocations: 1.668 MB / 0.6402 GB, free: 45.98 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007551/1.744, allocations: 0.5715 MB / 0.6408 GB, free: 45.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002359/1.744, allocations: 44 kB / 0.6408 GB, free: 45.37 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/1.745, allocations: 394.2 kB / 0.6412 GB, free: 44.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/1.747, allocations: 0.7541 MB / 0.6419 GB, free: 44.22 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/1.749, allocations: 1.433 MB / 0.6433 GB, free: 42.47 MB / 442.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.02036/1.77, allocations: 3.315 MB / 0.6466 GB, free: 39.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/1.77, allocations: 8 kB / 0.6466 GB, free: 39.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.008046/1.778, allocations: 2.734 MB / 0.6492 GB, free: 36.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.285e-05/1.778, allocations: 20.56 kB / 0.6493 GB, free: 36.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.94e-05/1.778, allocations: 20 kB / 0.6493 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001641/1.78, allocations: 365.4 kB / 0.6496 GB, free: 35.98 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003703/1.783, allocations: 0.4911 MB / 0.6501 GB, free: 35.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007683/1.791, allocations: 4.101 MB / 0.6541 GB, free: 31.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/1.794, allocations: 79.94 kB / 0.6542 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/1.795, allocations: 104 kB / 0.6543 GB, free: 31.09 MB / 442.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 245 * 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: 1 * 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: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006157/1.795, allocations: 232.2 kB / 0.6545 GB, free: 30.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/1.796, allocations: 237.2 kB / 0.6547 GB, free: 30.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/1.802, allocations: 2.122 MB / 0.6568 GB, free: 28.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.442e-05/1.802, allocations: 16 kB / 0.6568 GB, free: 28.48 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/1.802, allocations: 4 kB / 0.6568 GB, free: 28.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-05/1.802, allocations: 7.969 kB / 0.6568 GB, free: 28.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.817, allocations: 5.347 MB / 0.6621 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.52e-05/1.817, allocations: 4 kB / 0.6621 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002696/1.82, allocations: 299.6 kB / 0.6624 GB, free: 22.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/1.822, allocations: 304.8 kB / 0.6626 GB, free: 22.45 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003056/1.822, allocations: 39.98 kB / 0.6627 GB, free: 22.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007444/1.83, allocations: 4.082 MB / 0.6667 GB, free: 18.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.83, allocations: 7.938 kB / 0.6667 GB, free: 18.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007919/1.838, allocations: 3.36 MB / 0.67 GB, free: 14.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/1.839, allocations: 474.3 kB / 0.6704 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009008/1.84, allocations: 39.98 kB / 0.6704 GB, free: 14.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/1.843, allocations: 63.97 kB / 0.6705 GB, free: 14.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005422/1.844, allocations: 121 kB / 0.6706 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/1.844, allocations: 51.98 kB / 0.6707 GB, free: 13.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003467/1.847, allocations: 1.281 MB / 0.6719 GB, free: 12.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.847, allocations: 0 / 0.6719 GB, free: 12.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004198/1.851, allocations: 0.6991 MB / 0.6726 GB, free: 11.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,ground.p.i) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 139 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009367/1.861, allocations: 4.802 MB / 0.6773 GB, free: 7.105 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005852/1.867, allocations: 2.24 MB / 0.6795 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/1.867, allocations: 0 / 0.6795 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003129/1.87, allocations: 1.139 MB / 0.6806 GB, free: 3.691 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004739/1.875, allocations: 0.5403 MB / 0.6811 GB, free: 3.16 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3768/2.252, allocations: 5.91 MB / 0.6869 GB, free: 93.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00577/2.257, allocations: 2.52 MB / 0.6894 GB, free: 92.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004044/2.262, allocations: 0.5045 MB / 0.6898 GB, free: 92.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003604/2.265, allocations: 1.315 MB / 0.6911 GB, free: 92.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.944e-06/2.265, allocations: 0 / 0.6911 GB, free: 92.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1506/2.416, allocations: 58.08 MB / 0.7478 GB, free: 84.62 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/2.416, allocations: 178 kB / 0.748 GB, free: 84.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.658/7.075, allocations: 0 / 0.748 GB, free: 84.4 MB / 442.7 MB