Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit2,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.115/2.115, allocations: 214.7 MB / 226.9 MB, free: 1.305 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.672e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1137, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5289/0.6426, allocations: 117.3 MB / 446.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.643, allocations: 69.72 kB / 446.6 MB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8848/1.528, allocations: 155.8 MB / 0.5883 GB, free: 87.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.424e-06/1.528, allocations: 0 / 0.5883 GB, free: 87.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003401/1.528, allocations: 89.16 kB / 0.5884 GB, free: 87.52 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.01466/1.543, allocations: 3.488 MB / 0.5918 GB, free: 85.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.543, allocations: 15.23 kB / 0.5918 GB, free: 85.78 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00226/1.545, allocations: 0.5464 MB / 0.5923 GB, free: 85.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007562/1.553, allocations: 0.8621 MB / 0.5932 GB, free: 85.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01296/1.566, allocations: 3.529 MB / 0.5966 GB, free: 83.47 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003192/1.566, allocations: 276.7 kB / 0.5969 GB, free: 83.35 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/1.567, allocations: 365.3 kB / 0.5972 GB, free: 83.23 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01523/1.583, allocations: 4.505 MB / 0.6016 GB, free: 81.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002003/1.583, allocations: 10.84 kB / 0.6016 GB, free: 81.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009781/1.584, allocations: 158.4 kB / 0.6018 GB, free: 80.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001903/1.584, allocations: 159.1 kB / 0.6019 GB, free: 80.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/1.595, allocations: 3.552 MB / 0.6054 GB, free: 79.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03649/1.632, allocations: 15.62 MB / 0.6207 GB, free: 66.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00781/1.64, allocations: 6.193 MB / 0.6267 GB, free: 59.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003975/1.644, allocations: 1.428 MB / 0.6281 GB, free: 58.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01073/1.655, allocations: 4.226 MB / 0.6322 GB, free: 54.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/1.655, allocations: 55.88 kB / 0.6323 GB, free: 53.97 MB / 442.7 MB Notification: Performance of pre-optimization done (n=140): time 5.32e-06/1.655, allocations: 0 / 0.6323 GB, free: 53.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=182): time 0.0175/1.672, allocations: 5.79 MB / 0.6379 GB, free: 48.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/1.672, allocations: 69.41 kB / 0.638 GB, free: 48.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003557/1.676, allocations: 1.689 MB / 0.6397 GB, free: 46.33 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003285/1.676, allocations: 53.7 kB / 0.6397 GB, free: 46.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.677, allocations: 1.65 MB / 0.6413 GB, free: 44.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006658/1.678, allocations: 0.6144 MB / 0.6419 GB, free: 44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001783/1.678, allocations: 48 kB / 0.642 GB, free: 43.95 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/1.678, allocations: 386.5 kB / 0.6423 GB, free: 43.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001871/1.68, allocations: 0.8011 MB / 0.6431 GB, free: 42.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/1.683, allocations: 1.474 MB / 0.6446 GB, free: 40.98 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.01811/1.701, allocations: 2.668 MB / 0.6472 GB, free: 38.32 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.211e-05/1.701, allocations: 8 kB / 0.6472 GB, free: 38.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=287) (initialization): time 0.008019/1.709, allocations: 2.915 MB / 0.65 GB, free: 35.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/1.709, allocations: 20.03 kB / 0.65 GB, free: 35.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-05/1.709, allocations: 20 kB / 0.65 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001806/1.711, allocations: 457.5 kB / 0.6505 GB, free: 34.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003717/1.714, allocations: 483.2 kB / 0.6509 GB, free: 34.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/1.724, allocations: 6.046 MB / 0.6569 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002894/1.727, allocations: 95.72 kB / 0.6569 GB, free: 28.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003245/1.727, allocations: 100 kB / 0.657 GB, free: 27.91 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: 98 * 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 (248): * 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: 2 * 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: 2 {(3,77.8%) 34,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005334/1.728, allocations: 244.1 kB / 0.6573 GB, free: 27.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00054/1.728, allocations: 229.3 kB / 0.6575 GB, free: 27.44 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005843/1.734, allocations: 2.313 MB / 0.6597 GB, free: 25.11 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-05/1.734, allocations: 16 kB / 0.6598 GB, free: 25.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/1.734, allocations: 8 kB / 0.6598 GB, free: 25.09 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-05/1.734, allocations: 11.92 kB / 0.6598 GB, free: 25.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0132/1.748, allocations: 5.664 MB / 0.6653 GB, free: 19.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-05/1.748, allocations: 0 / 0.6653 GB, free: 19.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002529/1.75, allocations: 303.9 kB / 0.6656 GB, free: 19.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/1.752, allocations: 368.3 kB / 0.666 GB, free: 18.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002045/1.752, allocations: 43.98 kB / 0.666 GB, free: 18.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008298/1.76, allocations: 4.661 MB / 0.6705 GB, free: 13.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.76, allocations: 11.95 kB / 0.6706 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007734/1.768, allocations: 3.631 MB / 0.6741 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/1.77, allocations: 494.3 kB / 0.6746 GB, free: 9.594 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/1.77, allocations: 36 kB / 0.6746 GB, free: 9.559 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001993/1.772, allocations: 71.95 kB / 0.6747 GB, free: 9.488 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/1.773, allocations: 133.3 kB / 0.6748 GB, free: 9.359 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001525/1.773, allocations: 47.98 kB / 0.6749 GB, free: 9.312 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003104/1.776, allocations: 1.277 MB / 0.6761 GB, free: 8.008 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.776, allocations: 0 / 0.6761 GB, free: 8.008 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003989/1.78, allocations: 0.7225 MB / 0.6768 GB, free: 7.285 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,pin1.pin_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 (146): * Single equations (assignments): 145 * 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 {(4,68.8%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008963/1.789, allocations: 5.072 MB / 0.6818 GB, free: 2.168 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3204/2.11, allocations: 2.52 MB / 0.6842 GB, free: 95.42 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/2.11, allocations: 0.625 kB / 0.6842 GB, free: 95.42 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004959/2.115, allocations: 1.265 MB / 0.6855 GB, free: 95.29 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005921/2.121, allocations: 0.5423 MB / 0.686 GB, free: 95.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/2.148, allocations: 6.037 MB / 0.6919 GB, free: 94.04 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006085/2.154, allocations: 2.538 MB / 0.6944 GB, free: 93.29 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005172/2.159, allocations: 0.5162 MB / 0.6949 GB, free: 93.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004383/2.164, allocations: 1.311 MB / 0.6961 GB, free: 93.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.974e-06/2.164, allocations: 1.031 kB / 0.6961 GB, free: 93.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1441/2.308, allocations: 59.55 MB / 0.7543 GB, free: 79.73 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002729/2.308, allocations: 169.9 kB / 0.7545 GB, free: 79.51 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.665/6.973, allocations: 0 / 0.7545 GB, free: 79.51 MB / 442.7 MB