Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_DOL,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_DOL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(HanserModelica): time 2.209/2.209, allocations: 214.7 MB / 226.8 MB, free: 1.312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.048e-05/4.063e-05, allocations: 4 kB / 279.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 49.71 MB / 329.3 MB, free: 11.18 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5062/0.6185, allocations: 120.4 MB / 449.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.6189, allocations: 74.41 kB / 449.7 MB, free: 11.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9094/1.528, allocations: 162.8 MB / 0.5982 GB, free: 86.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.528, allocations: 3.938 kB / 0.5982 GB, free: 86.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004135/1.529, allocations: 97.25 kB / 0.5983 GB, free: 86.37 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: 1052 * Number of variables: 1052 Notification: Performance of Generate backend data structure: time 0.01592/1.545, allocations: 3.919 MB / 0.6021 GB, free: 84.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/1.545, allocations: 11.17 kB / 0.6021 GB, free: 84.06 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001718/1.547, allocations: 0.5514 MB / 0.6027 GB, free: 83.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007438/1.554, allocations: 0.9172 MB / 0.6035 GB, free: 83.21 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.569, allocations: 3.832 MB / 0.6073 GB, free: 80.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003799/1.569, allocations: 302.1 kB / 0.6076 GB, free: 80.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001567/1.571, allocations: 396.9 kB / 0.608 GB, free: 80.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01411/1.585, allocations: 4.979 MB / 0.6128 GB, free: 75.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/1.585, allocations: 7.906 kB / 0.6128 GB, free: 75.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000621/1.586, allocations: 170.7 kB / 0.613 GB, free: 75.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000194/1.586, allocations: 175.6 kB / 0.6132 GB, free: 75.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/1.598, allocations: 3.983 MB / 0.617 GB, free: 71.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04281/1.641, allocations: 16.95 MB / 0.6336 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009826/1.651, allocations: 8.356 MB / 0.6418 GB, free: 44.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/1.656, allocations: 1.627 MB / 0.6433 GB, free: 43.26 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01243/1.668, allocations: 4.835 MB / 0.6481 GB, free: 38.29 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.677e-05/1.668, allocations: 47.88 kB / 0.6481 GB, free: 38.24 MB / 442.7 MB Notification: Performance of pre-optimization done (n=150): time 5.38e-06/1.668, allocations: 0 / 0.6481 GB, free: 38.24 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.01153/1.68, allocations: 4.491 MB / 0.6525 GB, free: 33.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/1.68, allocations: 72.66 kB / 0.6526 GB, free: 33.56 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004756/1.685, allocations: 1.973 MB / 0.6545 GB, free: 31.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000366/1.685, allocations: 49.7 kB / 0.6545 GB, free: 31.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.686, allocations: 1.855 MB / 0.6564 GB, free: 29.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/1.687, allocations: 0.5315 MB / 0.6569 GB, free: 29.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/1.687, allocations: 40 kB / 0.6569 GB, free: 29.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/1.688, allocations: 394 kB / 0.6573 GB, free: 28.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.69, allocations: 0.746 MB / 0.658 GB, free: 27.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/1.692, allocations: 1.414 MB / 0.6594 GB, free: 26.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/1.694, allocations: 1.012 MB / 0.6604 GB, free: 25.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/1.694, allocations: 4 kB / 0.6604 GB, free: 25.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=265) (initialization): time 0.006291/1.701, allocations: 2.587 MB / 0.6629 GB, free: 22.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/1.701, allocations: 16 kB / 0.6629 GB, free: 22.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.673e-05/1.701, allocations: 20 kB / 0.663 GB, free: 22.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004483/1.701, allocations: 126.1 kB / 0.6631 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003912/1.705, allocations: 0.5382 MB / 0.6636 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/1.707, allocations: 1.837 MB / 0.6654 GB, free: 19.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003265/1.71, allocations: 111.8 kB / 0.6655 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/1.711, allocations: 92.19 kB / 0.6656 GB, free: 19.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (259): * Single equations (assignments): 257 * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005063/1.711, allocations: 240.2 kB / 0.6658 GB, free: 19.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006246/1.712, allocations: 237.1 kB / 0.666 GB, free: 19.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005606/1.718, allocations: 2.277 MB / 0.6683 GB, free: 16.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/1.718, allocations: 12 kB / 0.6683 GB, free: 16.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/1.718, allocations: 7.938 kB / 0.6683 GB, free: 16.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.46e-05/1.718, allocations: 11.97 kB / 0.6683 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01344/1.731, allocations: 5.541 MB / 0.6737 GB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.731, allocations: 4 kB / 0.6737 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002541/1.734, allocations: 287.8 kB / 0.674 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001403/1.735, allocations: 308.7 kB / 0.6743 GB, free: 10.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002609/1.736, allocations: 43.94 kB / 0.6743 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/1.744, allocations: 6.305 MB / 0.6805 GB, free: 3.859 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/1.744, allocations: 11.91 kB / 0.6805 GB, free: 3.848 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007582/1.751, allocations: 3.403 MB / 0.6838 GB, free: 320 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3274/2.079, allocations: 488.5 kB / 0.6843 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009225/2.08, allocations: 36.34 kB / 0.6843 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00274/2.082, allocations: 88.61 kB / 0.6844 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005981/2.083, allocations: 120.8 kB / 0.6845 GB, free: 86.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001725/2.083, allocations: 43.02 kB / 0.6846 GB, free: 86.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004443/2.088, allocations: 1.499 MB / 0.686 GB, free: 86.27 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.71e-07/2.088, allocations: 1.125 kB / 0.686 GB, free: 86.27 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004633/2.092, allocations: 0.708 MB / 0.6867 GB, free: 86.27 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smee.inertiaRotor.w,smee.stator.core.Phi.re,smee.stator.core.Phi.im,smee.excitation.electroMagneticConverter.Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.re,smee.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im,mechanicalSensor.flange_a.phi) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 123 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 8,(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/2.102, allocations: 4.736 MB / 0.6913 GB, free: 84.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005701/2.108, allocations: 2.026 MB / 0.6933 GB, free: 84.51 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/2.108, allocations: 1.219 kB / 0.6933 GB, free: 84.51 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003635/2.112, allocations: 1.323 MB / 0.6946 GB, free: 84.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005017/2.117, allocations: 0.5591 MB / 0.6952 GB, free: 84.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/2.14, allocations: 6.528 MB / 0.7015 GB, free: 82.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005029/2.145, allocations: 2.737 MB / 0.7042 GB, free: 82.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003866/2.149, allocations: 0.5444 MB / 0.7047 GB, free: 82.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003398/2.153, allocations: 1.467 MB / 0.7062 GB, free: 82 MB / 442.7 MB Notification: Performance of SimCode: time 1.393e-06/2.153, allocations: 0 / 0.7062 GB, free: 82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1447/2.297, allocations: 60.44 MB / 0.7652 GB, free: 67.04 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/2.298, allocations: 159.3 kB / 0.7653 GB, free: 66.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.668/6.966, allocations: 3.062 kB / 0.7653 GB, free: 66.82 MB / 442.7 MB