Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit3,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.112/2.112, allocations: 214.7 MB / 226.8 MB, free: 1.309 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.235e-05/3.246e-05, allocations: 4 kB / 279.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5118/0.6195, allocations: 117.3 MB / 446.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/0.6199, allocations: 70.09 kB / 446.6 MB, free: 14.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9041/1.524, allocations: 155.8 MB / 0.5883 GB, free: 87.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.857e-06/1.524, allocations: 0 / 0.5883 GB, free: 87.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003948/1.525, allocations: 88.16 kB / 0.5884 GB, free: 87.48 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.01421/1.539, allocations: 3.484 MB / 0.5918 GB, free: 85.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.539, allocations: 15.14 kB / 0.5918 GB, free: 85.74 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002001/1.541, allocations: 0.5567 MB / 0.5923 GB, free: 85.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007193/1.548, allocations: 0.8626 MB / 0.5932 GB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01245/1.561, allocations: 3.524 MB / 0.5966 GB, free: 83.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003398/1.561, allocations: 279.1 kB / 0.5969 GB, free: 83.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001454/1.562, allocations: 368.5 kB / 0.5972 GB, free: 83.18 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01323/1.576, allocations: 4.508 MB / 0.6016 GB, free: 81.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001839/1.576, allocations: 16.78 kB / 0.6017 GB, free: 81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001132/1.577, allocations: 152.2 kB / 0.6018 GB, free: 80.89 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/1.577, allocations: 156.2 kB / 0.602 GB, free: 80.88 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/1.589, allocations: 3.552 MB / 0.6054 GB, free: 79.39 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0372/1.626, allocations: 15.65 MB / 0.6207 GB, free: 66.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008156/1.634, allocations: 6.201 MB / 0.6268 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/1.638, allocations: 1.384 MB / 0.6281 GB, free: 58.36 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01101/1.649, allocations: 4.264 MB / 0.6323 GB, free: 53.99 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/1.649, allocations: 47.88 kB / 0.6323 GB, free: 53.94 MB / 442.7 MB Notification: Performance of pre-optimization done (n=144): time 4.218e-06/1.649, allocations: 0 / 0.6323 GB, free: 53.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=190): time 0.01851/1.668, allocations: 6.119 MB / 0.6383 GB, free: 47.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.668, allocations: 77.36 kB / 0.6384 GB, free: 47.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00361/1.671, allocations: 1.677 MB / 0.64 GB, free: 45.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003362/1.672, allocations: 57.7 kB / 0.6401 GB, free: 45.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001192/1.673, allocations: 1.631 MB / 0.6417 GB, free: 44.26 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007865/1.674, allocations: 0.6503 MB / 0.6423 GB, free: 43.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001863/1.674, allocations: 48 kB / 0.6423 GB, free: 43.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/1.674, allocations: 390.5 kB / 0.6427 GB, free: 43.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/1.676, allocations: 0.8168 MB / 0.6435 GB, free: 42.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/1.678, allocations: 1.477 MB / 0.6449 GB, free: 40.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/1.681, allocations: 1.118 MB / 0.646 GB, free: 39.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/1.681, allocations: 4 kB / 0.646 GB, free: 39.47 MB / 442.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.008482/1.689, allocations: 3.114 MB / 0.6491 GB, free: 36.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/1.689, allocations: 12 kB / 0.6491 GB, free: 36.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.016e-05/1.689, allocations: 24 kB / 0.6491 GB, free: 36.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/1.692, allocations: 0.6551 MB / 0.6498 GB, free: 35.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003314/1.695, allocations: 455.3 kB / 0.6502 GB, free: 35.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/1.709, allocations: 7.876 MB / 0.6579 GB, free: 27.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/1.712, allocations: 87.88 kB / 0.658 GB, free: 26.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004598/1.713, allocations: 92 kB / 0.6581 GB, free: 26.88 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 94 * 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 (232): * Single equations (assignments): 229 * 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 {(4,81.2%) 48,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005524/1.713, allocations: 251 kB / 0.6583 GB, free: 26.63 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/1.714, allocations: 233.1 kB / 0.6585 GB, free: 26.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006653/1.721, allocations: 2.498 MB / 0.661 GB, free: 23.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/1.721, allocations: 16 kB / 0.661 GB, free: 23.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.721, allocations: 8 kB / 0.661 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-05/1.721, allocations: 15.91 kB / 0.661 GB, free: 23.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.736, allocations: 5.905 MB / 0.6668 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/1.736, allocations: 4 kB / 0.6668 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002486/1.738, allocations: 283.9 kB / 0.667 GB, free: 17.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/1.74, allocations: 0.536 MB / 0.6676 GB, free: 17.06 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003417/1.741, allocations: 51.98 kB / 0.6676 GB, free: 17.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/1.752, allocations: 6.029 MB / 0.6735 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.752, allocations: 11.89 kB / 0.6735 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008969/1.761, allocations: 3.859 MB / 0.6773 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.763, allocations: 0.4982 MB / 0.6778 GB, free: 6.359 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008849/1.764, allocations: 43.95 kB / 0.6778 GB, free: 6.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/1.767, allocations: 63.97 kB / 0.6779 GB, free: 6.254 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004898/1.767, allocations: 145.8 kB / 0.678 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.767, allocations: 51.98 kB / 0.6781 GB, free: 6.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003284/1.771, allocations: 1.265 MB / 0.6793 GB, free: 4.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.771, allocations: 4 kB / 0.6793 GB, free: 4.762 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004107/1.775, allocations: 0.7422 MB / 0.68 GB, free: 4.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (smee.phiMechanical,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.rotorCage.strayReluctance.Phi.re,pin2.pin_p.i,pin3.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 (139): * Single equations (assignments): 138 * 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,81.2%) 48} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.331/2.106, allocations: 5.3 MB / 0.6852 GB, free: 91.89 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007708/2.114, allocations: 2.72 MB / 0.6879 GB, free: 91.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/2.114, allocations: 1.375 kB / 0.6879 GB, free: 91.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00429/2.118, allocations: 1.402 MB / 0.6892 GB, free: 91.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00459/2.123, allocations: 0.5445 MB / 0.6898 GB, free: 91.35 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02118/2.144, allocations: 6.167 MB / 0.6958 GB, free: 90.08 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00465/2.149, allocations: 2.558 MB / 0.6983 GB, free: 89.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003547/2.152, allocations: 496.9 kB / 0.6988 GB, free: 89.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002948/2.155, allocations: 1.313 MB / 0.7 GB, free: 89.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/2.155, allocations: 9.781 kB / 0.7 GB, free: 89.29 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1918/2.347, allocations: 61.48 MB / 0.7601 GB, free: 73.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/2.347, allocations: 177.8 kB / 0.7603 GB, free: 72.97 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.646/6.993, allocations: 0 / 0.7603 GB, free: 72.97 MB / 442.7 MB